/* ==========================================================================
   FoodClub — Landing Page
   Identidade visual: design system "FoodClub" (claude.ai)
   Laranja #EE653D · Verde #244E3E · Gelo #EAE8E7 · Poppins · grafismo de pixels
   ========================================================================== */

:root {
  /* Marca */
  --laranja: #ee653d;
  --laranja-hover: #e5562c;
  --laranja-texto: #a93a17;   /* laranja para texto pequeno (5,2:1) */
  --laranja-suave: #fbdccf;
  --laranja-tint: #fdeee7;

  --verde: #244e3e;
  --verde-hover: #1b3d30;
  --verde-escuro: #14261f;
  --verde-suave: #d3e1d8;
  --verde-tint: #e8f0eb;

  --gelo: #eae8e7;
  --branco: #ffffff;
  --linha: #d6d2cf;

  /* Aliases semânticos usados nos componentes */
  --primary: var(--laranja);
  --primary-strong: var(--laranja-texto);
  --primary-soft: var(--laranja-suave);
  --primary-tint: var(--laranja-tint);

  --secondary: var(--verde);
  --secondary-strong: var(--verde);
  --secondary-soft: var(--verde-suave);
  --secondary-tint: var(--verde-tint);

  /* Cores funcionais (só nos mockups de status) */
  --tertiary: #c98a0a;
  --tertiary-strong: #8a5a00;
  --tertiary-soft: #fbedc8;
  --tertiary-tint: #fdf6e3;
  --info: #2457a8;
  --info-soft: #dbe6f6;
  --violet: #6a3fb5;
  --violet-soft: #ebe4f7;
  --error: #c0392b;
  --error-soft: #f9dedb;

  --canvas: var(--gelo);
  --surface: var(--branco);
  --surface-low: #f4f2f1;
  --surface-mid: #e4e1df;
  --surface-high: var(--linha);
  --surface-highest: #c9c4c0;

  --ink: var(--verde);
  --ink-muted: #4f6a60;      /* texto-suave (4,8:1 sobre gelo) */
  --ink-soft: #4f6a60;

  --line: rgba(36, 78, 62, 0.1);
  --line-strong: rgba(36, 78, 62, 0.18);

  /* Elevação (sombras esverdeadas, suaves) */
  --shadow-1: 0 4px 18px -4px rgba(20, 38, 31, 0.08), 0 1px 3px rgba(20, 38, 31, 0.04);
  --shadow-2: 0 14px 32px -8px rgba(20, 38, 31, 0.14), 0 4px 10px -4px rgba(20, 38, 31, 0.06);
  --shadow-3: 0 28px 60px -16px rgba(20, 38, 31, 0.28), 0 8px 18px -8px rgba(20, 38, 31, 0.1);

  /* Forma (radius-md 14 · radius-lg 22 · pill) */
  --r-pixel: 3px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Tipografia: uma família só */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --section-y: clamp(4rem, 9vw, 7rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.icon {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  user-select: none;
  flex-shrink: 0;
}
.icon--fill { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--verde); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-md);
}
.skip-link:focus { top: 1rem; }

/* ---------- Barra de progresso de leitura ---------- */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: 3px;
  background: var(--laranja);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--low { background: var(--surface-low); }

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.section-head--left { margin-inline: 0; text-align: left; align-items: flex-start; }

.section-title { font-size: clamp(1.75rem, 3.6vw, 2.375rem); }
.section-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink-muted);
  max-width: 38rem;
}

/* ---------- Componentes base ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  background: var(--laranja-suave);
  color: var(--verde);
}
.eyebrow .icon { font-size: 1rem; }
.eyebrow--green { background: var(--verde-suave); }
.eyebrow--dark { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-h);
  padding: 0 1.5rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { font-size: 1.25rem; }
.btn--lg { --btn-h: 56px; padding: 0 2rem; font-size: 1rem; }
.btn--sm { --btn-h: 42px; padding: 0 1.125rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }
.btn .icon-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* Brilho que passa no hover */
.btn--primary::after,
.btn--accent::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after,
.btn--accent:hover::after { transform: translateX(120%); }

/* Principal: verde com texto branco (qualquer tamanho) */
.btn--primary { background: var(--verde); color: #fff; box-shadow: 0 6px 18px -6px rgba(36, 78, 62, 0.55); }
.btn--primary:hover { background: var(--verde-hover); box-shadow: 0 12px 26px -8px rgba(36, 78, 62, 0.6); }

/* Destaque: laranja com texto verde-escuro (5:1) */
.btn--accent { background: var(--laranja); color: var(--verde-escuro); font-weight: 700; box-shadow: 0 8px 22px -8px rgba(238, 101, 61, 0.7); }
.btn--accent:hover { background: var(--laranja-hover); box-shadow: 0 14px 30px -10px rgba(238, 101, 61, 0.75); }

.btn--ghost { background: var(--branco); color: var(--verde); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1); }
.btn--ghost:hover { background: var(--surface-low); }
.btn--ghost .icon { color: var(--laranja); }

.btn--cream { background: var(--gelo); color: var(--verde); border: 1px solid var(--line-strong); }
.btn--cream:hover { background: var(--surface-mid); }

.btn--light { background: var(--branco); color: var(--verde); box-shadow: var(--shadow-2); }
.btn--light:hover { background: var(--gelo); }

.btn--outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
}

.check-dot {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--verde-suave); color: var(--verde);
  flex-shrink: 0;
}
.check-dot .icon { font-size: 0.875rem; font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 20; }

/* ---------- Grafismo de pixels da fatia ---------- */
.pixels {
  --px: 14px;
  --pc: var(--laranja);
  position: absolute;
  display: grid;
  grid-template-columns: repeat(var(--steps, 6), var(--px));
  grid-auto-rows: var(--px);
  gap: 3px;
  pointer-events: none;
  z-index: 0;
}
.pixels i {
  border-radius: var(--r-pixel);
  background: var(--pc);
  opacity: 0;
  transform: scale(0.3) translateY(6px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-spring);
  transition-delay: var(--d, 0ms);
}
.pixels.is-on i { opacity: var(--o, 1); transform: none; }
.pixels--br { right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); }
.pixels--tl { left: clamp(1rem, 3vw, 2rem); top: clamp(1rem, 3vw, 2rem); }
.pixels--tr { right: clamp(1rem, 3vw, 2rem); top: clamp(1rem, 3vw, 2rem); }

/* ---------- Forma "líquida" (pílulas ligadas por uma ponte curva) ----------
   Uso: .liquid > .liquid__pill + .liquid__neck + .liquid__pill
   A ponte é um recorte em S: sai reta da pílula, afina no meio e volta,
   como uma gota se separando. A sombra fica no grupo inteiro (drop-shadow),
   então pílulas e ponte parecem uma peça só. */
.liquid {
  --liq-bg: var(--branco);
  --neck-w: 50px;
  display: flex;
  align-items: stretch;
  filter: drop-shadow(0 10px 22px rgba(20, 38, 31, 0.11)) drop-shadow(0 2px 4px rgba(20, 38, 31, 0.06));
}
.liquid__pill {
  display: flex;
  align-items: center;
  background: var(--liq-bg);
  border-radius: var(--r-full);
}
.liquid__pill:has(+ .liquid__neck) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.liquid__neck + .liquid__pill { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.liquid__neck {
  flex: 0 0 var(--neck-w);
  margin-inline: -1px;
  background: var(--liq-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0C10 0 10 28 20 28S30 0 40 0V100C30 100 30 72 20 72S10 100 0 100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0C10 0 10 28 20 28S30 0 40 0V100C30 100 30 72 20 72S10 100 0 100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.liquid--sm { --neck-w: 30px; filter: drop-shadow(0 4px 12px rgba(20, 38, 31, 0.1)) drop-shadow(0 1px 2px rgba(20, 38, 31, 0.05)); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  pointer-events: none;
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__inner > * { pointer-events: auto; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }

/* O logo ganha uma pílula própria quando a página rola */
.header__logo {
  height: 52px;
  padding: 0 0.875rem;
  margin-left: -0.875rem;
  border-radius: var(--r-full);
  transition: background-color 0.3s, box-shadow 0.3s, margin 0.3s var(--ease);
}
.header.is-scrolled .header__logo {
  margin-left: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px -6px rgba(20, 38, 31, 0.16), 0 2px 4px rgba(20, 38, 31, 0.06);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.header__dock { height: 52px; animation: dock-in 0.9s 0.1s var(--ease) both; }
@keyframes dock-in { from { opacity: 0; transform: translateY(-14px); } }

.nav { display: none; align-items: center; gap: 0.125rem; padding: 0 0.375rem; }
.nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-full);
  transition: background-color 0.2s, color 0.2s;
}
.nav a:hover { background: var(--surface-low); color: var(--verde); }
.nav a.is-active { color: var(--verde); font-weight: 600; background: var(--laranja-suave); }

.header__neck { display: none; }
.header__actions { gap: 0.25rem; padding: 0 0.3125rem; }
.header__login {
  display: none; align-items: center; gap: 0.35rem;
  font-size: 0.875rem; font-weight: 600; color: var(--verde);
  padding: 0.5rem 0.75rem; border-radius: var(--r-full);
  transition: color 0.2s, background-color 0.2s;
}
.header__login .icon { font-size: 1.25rem; }
.header__login:hover { color: var(--laranja-texto); background: var(--surface-low); }
.header__cta { display: none; }

.menu-toggle {
  width: 42px; height: 42px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-full);
  color: var(--verde);
  transition: background-color 0.2s;
}
.menu-toggle:hover { background: var(--surface-low); }
.menu-toggle .icon { font-size: 1.5rem; transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 49;
  background: var(--branco);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 1rem var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a:not(.btn) {
  padding: 0.85rem 0.75rem;
  border-radius: var(--r-md);
  font-weight: 500;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease), background-color 0.2s;
}
.mobile-menu.is-open a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 30ms; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 60ms; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 90ms; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 120ms; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 150ms; }
.mobile-menu.is-open a:nth-child(7) { transition-delay: 180ms; }
.mobile-menu a:not(.btn):hover { background: var(--surface-low); color: var(--verde); }
.mobile-menu .btn { margin-top: 0.75rem; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
.nav a, .header__login, .header__cta { white-space: nowrap; }
@media (max-width: 1319px) {
  /* sem a navegação, a pílula de ações fica sozinha e totalmente arredondada */
  .header__dock .liquid__pill { border-radius: var(--r-full); }
}
@media (min-width: 1320px) {
  .nav, .header__login { display: inline-flex; }
  .header__neck { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(76px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(50rem 28rem at 88% 0%, rgba(251, 220, 207, 0.75), transparent 62%),
    radial-gradient(36rem 22rem at 0% 10%, rgba(211, 225, 216, 0.7), transparent 60%),
    linear-gradient(to bottom, #fbfaf9, var(--gelo));
  overflow: hidden;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }

/* Entrada escalonada do texto */
.hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.hero__copy > :nth-child(2) { animation-delay: 0.15s; }
.hero__copy > :nth-child(3) { animation-delay: 0.28s; }
.hero__copy > :nth-child(4) { animation-delay: 0.4s; }
.hero__copy > :nth-child(5) { animation-delay: 0.52s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.hero__badge { font-size: 0.8125rem; font-weight: 600; color: var(--verde); line-height: 1.2; }
.hero__badge .liquid__pill { gap: 0.5rem; padding: 0.45rem 1rem; }
.hero__badge .liquid__pill:first-child { padding-left: 0.4rem; }
.pill-badge__icon {
  width: 1.65rem; height: 1.65rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--laranja); color: var(--verde-escuro);
}
.pill-badge__icon .icon { font-size: 1rem; }

.hero__title {
  font-size: clamp(2.375rem, 5.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero__title .hl {
  color: var(--laranja);
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.hero__title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.16em;
  border-radius: 999px;
  background: var(--laranja-suave);
  z-index: -1;
  transform-origin: left;
  animation: underline 0.9s 0.9s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }

.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--ink-muted); max-width: 36rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted);
}
.trust-row li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-row .icon { font-size: 1.125rem; color: var(--verde); }

.hero .pixels { --px: 16px; opacity: 0.9; }

/* Mockup do hero: painel + celular */
.hero__visual { position: relative; padding: 1rem 0 2.5rem; }
.hero__glow {
  position: absolute; inset: 5% 0 10% 10%;
  background: linear-gradient(135deg, rgba(251, 220, 207, 0.95), rgba(211, 225, 216, 0.85) 60%, rgba(251, 220, 207, 0.6));
  border-radius: 3rem;
  filter: blur(40px);
  z-index: 0;
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-12px, 10px) scale(1.04); } }

.browser {
  position: relative; z-index: 1;
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  margin-right: clamp(3.5rem, 12vw, 6rem);
  animation: browser-in 1.1s 0.25s var(--ease) both;
}
@keyframes browser-in { from { opacity: 0; transform: translateY(30px) rotateX(8deg) scale(0.97); } }
.browser__bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--surface-low);
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-highest); }
.browser__dots i:first-child { background: #f3a48c; }
.browser__dots i:nth-child(2) { background: #f1cf7a; }
.browser__dots i:nth-child(3) { background: #9cc2ae; }
.browser__url {
  flex: 1; max-width: 16rem;
  font-size: 0.6875rem; color: var(--ink-soft); font-weight: 500;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.25rem 0.75rem; border-radius: var(--r-full);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__body { padding: 1rem; display: grid; gap: 0.75rem; }

.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.dash-top h4 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.dash-top small { display: block; font-size: 0.6875rem; color: var(--ink-soft); font-family: var(--font-body); letter-spacing: 0; font-weight: 400; }

.live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.6875rem; font-weight: 600; color: var(--verde);
  background: var(--verde-tint); border: 1px solid rgba(36, 78, 62, 0.18);
  padding: 0.25rem 0.6rem; border-radius: var(--r-full);
  white-space: nowrap;
}
.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9a6b;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 154, 107, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 154, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 154, 107, 0); }
}

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.dash-stat { background: var(--surface-low); border-radius: var(--r-md); padding: 0.6rem 0.7rem; }
.dash-stat small { display: block; font-size: 0.625rem; color: var(--ink-soft); font-weight: 500; }
.dash-stat strong { display: inline-block; font-size: 1rem; font-weight: 700; }
.dash-stat strong.up { color: var(--verde); }

.bump { animation: bump 0.5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.14); color: var(--laranja-texto); } }

/* Kanban (hero e recursos) */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.kanban__col {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  border-top: 3px solid var(--kc, var(--laranja));
  padding: 0.55rem;
  display: grid; gap: 0.4rem; align-content: start;
  min-width: 0;
}
.kanban__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; color: var(--k, var(--laranja-texto));
}
.kanban__head .icon { font-size: 0.875rem; }
.ticket {
  border-radius: var(--r-sm);
  padding: 0.45rem 0.5rem;
  background: var(--kt, var(--laranja-tint));
  border: 1px solid var(--kb, rgba(238, 101, 61, 0.22));
  font-size: 0.625rem; color: var(--ink-soft);
  min-width: 0;
}
.ticket b { display: block; font-size: 0.6875rem; color: var(--verde); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.ticket span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket__btn {
  margin-top: 0.3rem; width: 100%;
  background: var(--verde); color: #fff;
  font-size: 0.5625rem; font-weight: 700; border-radius: 4px; padding: 0.2rem 0;
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.ticket__btn .icon { font-size: 0.75rem; }
.ticket--muted { background: var(--surface-low); border-color: var(--line); }
.ticket.is-new { animation: ticket-in 0.6s var(--ease-spring); }
@keyframes ticket-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.92); }
}
.ticket.is-leaving { animation: ticket-out 0.35s ease forwards; }
@keyframes ticket-out { to { opacity: 0; transform: translateX(20px); } }

.kanban__col--prep { --k: var(--tertiary-strong); --kc: var(--tertiary); --kt: var(--tertiary-tint); --kb: rgba(201, 138, 10, 0.25); }
.kanban__col--done { --k: var(--verde); --kc: var(--verde); --kt: var(--verde-tint); --kb: rgba(36, 78, 62, 0.2); }

/* Celular */
.phone {
  position: absolute; z-index: 2;
  right: 0; bottom: 0;
  width: clamp(150px, 34%, 200px);
  background: var(--verde-escuro);
  border-radius: 28px;
  padding: 7px;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: phone-in 1.1s 0.5s var(--ease) both, float 6s 1.6s ease-in-out infinite;
}
@keyframes phone-in { from { opacity: 0; transform: translate(30px, 30px) rotate(4deg); } }
@keyframes float { 50% { transform: translateY(-9px); } }
.phone__screen {
  background: var(--gelo);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.phone__notch { position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 34%; height: 14px; background: var(--verde-escuro); border-radius: 99px; z-index: 2; }
.phone__cover {
  height: 64px;
  background:
    radial-gradient(circle at 30% 120%, #f6b38f 0 22%, transparent 23%),
    radial-gradient(circle at 75% 110%, #d9482a 0 18%, transparent 19%),
    linear-gradient(135deg, var(--laranja), #c84b27);
}
.phone__store { display: flex; align-items: center; gap: 0.4rem; padding: 0 0.6rem; margin-top: -14px; position: relative; }
.phone__avatar {
  width: 30px; height: 30px; border-radius: 9px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-1); color: var(--laranja);
}
.phone__avatar .icon { font-size: 1.1rem; }
.phone__store-name { padding-top: 14px; line-height: 1.15; }
.phone__store-name b { display: block; font-size: 0.6875rem; font-weight: 600; }
.phone__store-name small { font-size: 0.5rem; color: var(--verde); font-weight: 600; }
.phone__chips { display: flex; gap: 4px; padding: 0.55rem 0.6rem 0.35rem; overflow: hidden; }
.phone__chips span {
  font-size: 0.5rem; font-weight: 600; padding: 0.2rem 0.45rem; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap;
}
.phone__chips span.on { background: var(--verde); border-color: var(--verde); color: #fff; }
.phone__items { padding: 0 0.6rem 0.6rem; display: grid; gap: 0.35rem; }
.phone__item {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 0.4rem; align-items: center;
  background: #fff; border-radius: 10px; padding: 0.35rem; border: 1px solid var(--line);
}
.phone__thumb { width: 34px; height: 34px; border-radius: 8px; }
.phone__thumb--pizza { background: radial-gradient(circle at 35% 40%, #c0392b 0 9%, transparent 10%), radial-gradient(circle at 65% 60%, #c0392b 0 9%, transparent 10%), radial-gradient(circle, #f6cf6b 0 55%, #d58a2a 56% 70%, #f6dfa5 71%); }
.phone__thumb--burger { background: linear-gradient(#e9a23b 0 35%, #5d8f3c 35% 45%, #6b2f17 45% 70%, #e9a23b 70%); border-radius: 12px 12px 8px 8px; }
.phone__thumb--drink { background: linear-gradient(160deg, var(--laranja-suave), #f7b8a0); }
.phone__item b { display: block; font-size: 0.5625rem; line-height: 1.2; font-weight: 600; }
.phone__item small { font-size: 0.5625rem; color: var(--laranja-texto); font-weight: 700; }
.phone__add { width: 18px; height: 18px; border-radius: 50%; background: var(--laranja); color: var(--verde-escuro); display: grid; place-items: center; }
.phone__add .icon { font-size: 0.75rem; font-variation-settings: "wght" 700; }
.phone__cart {
  margin: 0 0.6rem 0.7rem;
  background: var(--verde); color: #fff; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0.55rem; font-size: 0.5625rem; font-weight: 600;
}

.toast {
  position: absolute; z-index: 3;
  left: clamp(-0.5rem, -2vw, 0rem); bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  box-shadow: var(--shadow-2);
  animation: toast-in 0.6s 1.2s var(--ease) both;
}
.toast.is-pop { animation: toast-pop 0.6s var(--ease-spring); }
.toast__icon { width: 2.25rem; height: 2.25rem; border-radius: var(--r-md); background: var(--laranja-suave); color: var(--laranja-texto); display: grid; place-items: center; }
.toast.is-pop .toast__icon .icon { animation: ring 0.8s ease; }
.toast b { display: block; font-size: 0.8125rem; font-weight: 600; }
.toast small { display: block; font-size: 0.6875rem; color: var(--ink-soft); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes toast-pop { 0% { transform: translateY(8px) scale(0.94); opacity: 0.4; } }
@keyframes ring {
  20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); }
  60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}

/* ==========================================================================
   Faixa de benefícios
   ========================================================================== */
.perks { padding-block: clamp(2rem, 4vw, 3rem) var(--section-y); }
.perks__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.perk {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.375rem;
  transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.perk:hover { border-color: rgba(238, 101, 61, 0.4); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.perk h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.perk p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.55; }

.icon-tile {
  width: 3rem; height: 3rem; border-radius: var(--r-lg);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--laranja-suave); color: var(--laranja-texto);
  transition: transform 0.4s var(--ease-spring);
}
.perk:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.icon-tile .icon { font-size: 1.5rem; }
.icon-tile--green { background: var(--verde-suave); color: var(--verde); }
.icon-tile--dark { background: var(--verde); color: #fff; }
.icon-tile--orange { background: var(--laranja); color: var(--verde-escuro); }

@media (min-width: 640px) { .perks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .perks__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Como funciona
   ========================================================================== */
.steps { display: grid; gap: 1.25rem; position: relative; }
.step {
  position: relative;
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow 0.3s, border-color 0.2s, transform 0.3s var(--ease);
}
.step:hover { box-shadow: var(--shadow-2); border-color: rgba(238, 101, 61, 0.35); transform: translateY(-4px); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__num {
  width: 3rem; height: 3rem; border-radius: var(--r-lg);
  background: var(--laranja); color: var(--verde-escuro);
  font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(238, 101, 61, 0.6);
}
.step.is-visible .step__num { animation: pop 0.6s 0.25s var(--ease-spring) both; }
@keyframes pop { from { transform: scale(0.4) rotate(-12deg); opacity: 0; } }
.step__top > .icon { font-size: 2rem; color: var(--surface-highest); transition: color 0.25s, transform 0.4s var(--ease-spring); }
.step:hover .step__top > .icon { color: var(--laranja); transform: scale(1.12) rotate(-6deg); }
.step h3 { font-size: 1.1875rem; font-weight: 600; }
.step p { font-size: 0.9375rem; color: var(--ink-muted); }
.step__foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-strong);
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--verde);
}
.step__foot .icon { font-size: 1.1rem; color: var(--laranja); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute; top: 3.25rem; right: -1.75rem; width: 1.75rem;
    border-top: 2px dashed rgba(238, 101, 61, 0.55);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s 0.5s var(--ease);
  }
  .step.is-visible::after { transform: scaleX(1); }
}

/* ==========================================================================
   Experiência do cliente
   ========================================================================== */
.cx { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.order-card { padding: 1.25rem; max-width: 26rem; width: 100%; margin-inline: auto; box-shadow: var(--shadow-3); }
.order-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-bottom: 0.875rem; margin-bottom: 0.875rem; border-bottom: 1px solid var(--surface-mid);
}
.order-card__title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.0625rem; }
.order-card__title .icon { color: var(--laranja); }
.tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.65rem; border-radius: var(--r-full);
  font-size: 0.6875rem; font-weight: 600;
  background: var(--verde-suave); color: var(--verde);
  white-space: nowrap;
}
.tag .icon { font-size: 0.95rem; }
.tag--orange { background: var(--laranja-suave); color: var(--verde); }
.tag--amber { background: var(--tertiary-soft); color: var(--tertiary-strong); }
.tag--blue { background: var(--info-soft); color: var(--info); }
.tag--red { background: var(--error-soft); color: var(--error); }
.tag--violet { background: var(--violet-soft); color: var(--violet); }
.tag--muted { background: var(--surface-mid); color: var(--ink-muted); }

.options { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.option {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; text-align: left;
  padding: 0.75rem 0.875rem; border-radius: var(--r-lg);
  background: var(--surface-low); border: 1.5px solid transparent;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}
.option:not(:disabled):hover { border-color: var(--line-strong); }
.option:not(:disabled):active { transform: scale(0.99); }
.option:disabled { cursor: default; }
.option b { display: block; font-size: 0.875rem; font-weight: 600; }
.option small { display: block; font-size: 0.75rem; color: var(--ink-soft); }
.option__check {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 2px solid var(--surface-highest); background: #fff;
  display: grid; place-items: center; color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}
.option__check .icon { font-size: 1rem; opacity: 0; transform: scale(0.3); transition: opacity 0.2s, transform 0.35s var(--ease-spring); font-variation-settings: "wght" 700; }
.option[aria-pressed="true"] { background: var(--verde-tint); border-color: rgba(36, 78, 62, 0.3); }
.option[aria-pressed="true"] .option__check { background: var(--verde); border-color: var(--verde); }
.option[aria-pressed="true"] .option__check .icon { opacity: 1; transform: none; }

.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-size: 0.875rem; color: var(--ink-muted); }
.stepper {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: var(--gelo); border-radius: var(--r-full); padding: 0.25rem;
}
.stepper button {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--verde);
  transition: background-color 0.2s, transform 0.15s;
}
.stepper button:hover { background: #fff; }
.stepper button:active { transform: scale(0.88); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; background: none; }
.stepper output { min-width: 1.75rem; text-align: center; font-weight: 700; display: inline-block; }

.order-card__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--surface-mid);
}
.order-card__foot small { display: block; font-size: 0.75rem; color: var(--ink-soft); }
.price { display: inline-block; font-weight: 700; font-size: 1.625rem; color: var(--laranja-texto); line-height: 1.1; letter-spacing: -0.02em; }
.order-card__foot .btn { padding-inline: 1.125rem; }
.order-card__foot .btn.is-added { background: #2f7a58; }
.order-card__foot .btn.is-added .icon { animation: pop 0.5s var(--ease-spring); }

.feature-list { display: grid; gap: 0.25rem 1rem; }
.feature-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.75rem; border-radius: var(--r-lg);
  font-size: 0.9375rem; line-height: 1.55;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.feature-list li:hover { background: var(--branco); transform: translateX(4px); }
.feature-list .icon { color: var(--laranja); margin-top: 0.05rem; }
.feature-list li.is-visible .icon { animation: pop 0.55s 0.15s var(--ease-spring) both; }

@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cx { grid-template-columns: 5fr 7fr; }
  .order-card { margin-inline: 0; }
}

/* ==========================================================================
   Recursos (stacking cards)
   ========================================================================== */
/* Seletor de segmentos: uma barra líquida; o item ativo é uma pílula verde por dentro */
.segments { --neck-w: 38px; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.segments .liquid__neck { display: none; }
.segments .liquid__pill { border-radius: var(--r-full) !important; }
.segment { padding: 5px; white-space: nowrap; }
.segment__in {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: var(--r-full);
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted);
  transition: background-color 0.3s var(--ease), color 0.2s, box-shadow 0.3s;
}
.segment:hover .segment__in { color: var(--verde); background: var(--surface-low); }
.segment .icon { font-size: 1.1rem; }
.segment[aria-pressed="true"] .segment__in {
  background: var(--verde); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(36, 78, 62, 0.6);
}
.segment[aria-pressed="true"] .icon { animation: pop 0.45s var(--ease-spring); }
@media (min-width: 960px) {
  .segments { flex-wrap: nowrap; gap: 0; width: max-content; }
  .segments .liquid__neck { display: block; }
  .segments .liquid__pill:has(+ .liquid__neck) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
  .segments .liquid__neck + .liquid__pill { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
}
.segment-note {
  min-height: 1.5rem;
  font-size: 0.875rem; color: var(--ink-muted); font-weight: 500;
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.segment-note.is-changing { opacity: 0; transform: translateY(6px); }

.stack { display: grid; gap: 1.5rem; max-width: 1180px; margin-inline: auto; }
.stack-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--r-2xl);
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center;
  box-shadow: var(--shadow-2);
  transform-origin: center top;
}
.stack-card__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.stack-card h3 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
.stack-card p { color: var(--ink-muted); font-size: 1rem; }
.checks { display: grid; gap: 0.625rem 1rem; width: 100%; }
.checks li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.875rem; font-weight: 500; }
.stack-card__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding-top: 0.25rem; }
.stack-card__cta > span { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; color: var(--ink-muted); font-weight: 500; }
.stack-card__cta > span .icon { font-size: 1.1rem; color: var(--laranja); }

.stage {
  background: var(--surface-low);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(0.875rem, 2vw, 1.25rem);
  box-shadow: inset 0 2px 8px rgba(20, 38, 31, 0.04);
  display: grid; gap: 0.75rem;
  min-width: 0;
}
.stage > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stack-card.is-visible .stage > * { opacity: 1; transform: none; }
.stack-card.is-visible .stage > :nth-child(2) { transition-delay: 0.12s; }
.stack-card.is-visible .stage > :nth-child(3) { transition-delay: 0.24s; }
.stage__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--surface-mid); }
.stage__bar strong { font-size: 0.8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0.875rem; }
.panel-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8125rem;
}
.panel-row small { display: block; font-size: 0.6875rem; color: var(--ink-soft); }
.panel-row b { font-size: 0.8125rem; font-weight: 600; }
.muted-box { background: var(--surface-low); border-radius: var(--r-md); padding: 0.6rem 0.75rem; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mini-stats .panel { text-align: center; }
.mini-stats small { display: block; font-size: 0.6875rem; color: var(--ink-soft); }
.mini-stats strong { font-size: 1.125rem; font-weight: 700; }
.avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--info-soft); color: var(--info); font-weight: 700; font-size: 0.75rem;
}
.avatar--sq { border-radius: var(--r-md); background: var(--laranja-suave); color: var(--verde); }
.who { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.who b { display: block; font-size: 0.8125rem; font-weight: 600; }
.who small { display: block; font-size: 0.6875rem; color: var(--verde); font-weight: 500; }

/* Rota do motoboy */
.route { --route-h: 4.15rem; position: relative; display: grid; gap: 0.5rem; padding-left: 1.25rem; }
.route::before {
  content: ""; position: absolute; left: 0.35rem; top: 0.6rem; bottom: 0.6rem;
  border-left: 2px dashed var(--line-strong);
}
.route .muted-box { position: relative; }
.route .muted-box::before {
  content: ""; position: absolute; left: -1.15rem; top: 50%; translate: 0 -50%;
  width: 10px; height: 10px; border-radius: 50%; background: var(--branco); border: 2px solid var(--info);
}
.moto {
  position: absolute; left: -0.15rem; top: calc(50% - var(--route-h) / 2 - 0.55rem); z-index: 1;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--info); color: #fff; display: grid; place-items: center;
}
.moto .icon { font-size: 0.7rem; }
.stack-card.is-visible .moto { animation: ride 4s 0.6s var(--ease) infinite; }
@keyframes ride {
  0% { transform: translateY(0); }
  45%, 55% { transform: translateY(calc(var(--route-h, 3.6rem))); }
  100% { transform: translateY(0); }
}

.switch {
  width: 2.25rem; height: 1.3rem; border-radius: 99px; flex-shrink: 0;
  background: var(--surface-highest); position: relative; transition: background-color 0.25s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: calc(1.3rem - 6px); height: calc(1.3rem - 6px); border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--ease-spring);
}
.switch[aria-checked="true"] { background: var(--laranja); }
.switch[aria-checked="true"]::after { transform: translateX(0.95rem); }

.chart { display: flex; align-items: flex-end; gap: 0.4rem; height: 4.5rem; padding-top: 0.5rem; }
.chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--verde-suave); height: var(--h); transform-origin: bottom; transform: scaleY(0.08); transition: transform 0.9s var(--ease); }
.chart i:nth-child(2) { transition-delay: 0.05s; }
.chart i:nth-child(3) { transition-delay: 0.1s; }
.chart i:nth-child(4) { transition-delay: 0.15s; }
.chart i:nth-child(5) { transition-delay: 0.2s; }
.chart i:nth-child(6) { transition-delay: 0.25s; }
.chart i:nth-child(7) { transition-delay: 0.3s; }
.chart i:last-child { background: var(--laranja); transition-delay: 0.35s; }
.stack-card.is-visible .chart i { transform: none; }

.strike { color: var(--error); text-decoration: line-through; }

@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .stack-card { grid-template-columns: 1fr 1fr; }
  .stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 20px); }
}

/* ==========================================================================
   Comparativo
   ========================================================================== */
.compare {
  position: relative;
  background: var(--verde-escuro);
  color: #f3efe9;
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.compare::before {
  content: ""; position: absolute; z-index: -1;
  width: 40rem; height: 40rem; right: -16rem; top: -20rem;
  background: radial-gradient(circle, rgba(238, 101, 61, 0.3), transparent 65%);
  animation: glow 10s ease-in-out infinite alternate;
}
.compare::after {
  content: ""; position: absolute; z-index: -1;
  width: 30rem; height: 30rem; left: -12rem; bottom: -16rem;
  background: radial-gradient(circle, rgba(169, 187, 179, 0.18), transparent 65%);
}
.compare .section-head { position: relative; z-index: 1; }
.compare .section-title { color: #fff; }
.compare .section-sub { color: #a9bbb3; }
.compare__grid { position: relative; z-index: 1; display: grid; gap: 1.25rem; max-width: 56rem; margin-inline: auto; }
.vs {
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.35s var(--ease);
}
.vs:hover { transform: translateY(-4px); }
.vs__head { display: flex; align-items: center; gap: 0.75rem; }
.vs__head h3 { font-size: 1.1875rem; font-weight: 600; color: inherit; }
.vs__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; }
.vs ul { display: grid; gap: 0.6rem; }
.vs li { display: flex; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.55; }
.vs li .icon { margin-top: 0.1rem; }
.vs__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9375rem; }

.vs--bad { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.vs--bad .vs__icon { background: rgba(240, 128, 112, 0.16); color: #f39a8c; }
.vs--bad li { color: #c9d4cf; }
.vs--bad li .icon, .vs--bad .vs__foot { color: #f39a8c; }

.vs--good { background: var(--branco); color: var(--verde); box-shadow: var(--shadow-3); }
.vs--good .vs__icon { background: var(--laranja); color: var(--verde-escuro); }
.vs--good li { color: var(--ink-muted); }
.vs--good li .icon { color: var(--verde); }
.vs--good .vs__foot { color: var(--verde); }
.vs--good .vs__foot .icon { color: var(--laranja); }

/* Calculadora */
.calc {
  position: relative; z-index: 1;
  max-width: 56rem; margin: 1.25rem auto 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: grid; gap: 1.25rem;
}
.calc__plans { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
/* Alternador de plano: barra líquida em verde mais claro; o ativo é uma pílula branca por dentro */
.calc__switch {
  --liq-bg: #2c4339;
  --neck-w: 36px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}
.calc__plan { padding: 4px; white-space: nowrap; }
.calc__plan-in {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem; border-radius: var(--r-full);
  color: #c9d4cf; font-size: 0.8125rem; font-weight: 600;
  transition: background-color 0.3s var(--ease), color 0.2s, box-shadow 0.3s;
}
.calc__plan:hover .calc__plan-in { color: #fff; background: rgba(255, 255, 255, 0.08); }
.calc__plan[aria-pressed="true"] .calc__plan-in {
  background: #fff; color: var(--verde);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.45);
}
@media (max-width: 559px) {
  .calc__switch { flex-wrap: wrap; gap: 0.5rem; }
  .calc__switch .liquid__neck { display: none; }
  .calc__switch .liquid__pill { border-radius: var(--r-full) !important; }
}
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-weight: 500; font-size: 0.9375rem; }
.calc__label output { font-size: 1.375rem; font-weight: 700; color: #fff; }
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 99px; margin: 0.75rem 0 0;
  background: linear-gradient(to right, var(--laranja) 0 var(--p, 30%), rgba(255, 255, 255, 0.15) var(--p, 30%) 100%);
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 5px solid var(--laranja);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease-spring);
}
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 5px solid var(--laranja);
}
.calc__results { display: grid; gap: 0.75rem; }
.calc__box { border-radius: var(--r-lg); padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.06); }
.calc__box small { display: block; font-size: 0.75rem; color: #a9bbb3; font-weight: 500; }
.calc__box strong { display: inline-block; font-size: 1.375rem; font-weight: 700; color: #fff; }
.calc__box--bad strong { color: #f39a8c; }
.calc__box--good { background: var(--laranja); }
.calc__box--good small { color: var(--verde-escuro); font-weight: 600; }
.calc__box--good strong { color: var(--verde-escuro); }
.calc__note { font-size: 0.75rem; color: #8ea39a; }

@media (min-width: 768px) {
  .compare__grid { grid-template-columns: 1fr 1fr; }
  .calc__results { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Planos
   ========================================================================== */
.plans { display: grid; gap: 1.5rem; align-items: stretch; max-width: 72rem; margin-inline: auto; }
.plan {
  position: relative;
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan__tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.plan h3 { font-size: 1.5rem; margin-top: 0.25rem; }
.plan__desc { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.35rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.25rem; }
.plan__price small { font-weight: 600; color: var(--ink-muted); }
.plan__price strong { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { font-size: 0.875rem; color: var(--ink-soft); }
.plan ul { display: grid; gap: 0.7rem; padding-top: 1.25rem; border-top: 1px solid var(--surface-mid); }
.plan li { display: flex; gap: 0.6rem; font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.45; }
.plan li .icon { color: var(--verde); font-size: 1.15rem; margin-top: 0.1rem; font-variation-settings: "wght" 700; }
.plan li.strong { color: var(--verde); font-weight: 600; }
.plan .btn { margin-top: auto; }

.plan--featured {
  border: 2px solid var(--laranja);
  box-shadow: 0 24px 60px -18px rgba(238, 101, 61, 0.45);
}
.plan--featured .plan__tier { color: var(--laranja-texto); }
.plan--featured .plan__price strong { color: var(--laranja); }
.plan__flag {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  background: var(--laranja); color: var(--verde-escuro);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: var(--r-full);
  box-shadow: 0 6px 16px -4px rgba(238, 101, 61, 0.55);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.plan__flag .icon { font-size: 0.9rem; animation: spin-star 6s linear infinite; }
@keyframes spin-star { 0%, 85% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

.plans-note {
  max-width: 72rem; margin: 2rem auto 0;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  background: var(--verde); color: #fff;
  border-radius: var(--r-xl); padding: 1rem 1.5rem; text-align: center;
  font-weight: 500; font-size: 1rem;
}
.plans-note .icon { color: var(--laranja); }

.plans-volume {
  max-width: 72rem; margin: 1rem auto 0;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  text-align: center; font-size: 0.9375rem; color: var(--ink-muted);
}
.plans-volume .icon { color: var(--laranja); }
.plans-volume a { color: var(--laranja-texto); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan--featured { transform: translateY(-12px); }
  .plan--featured:hover { transform: translateY(-18px); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] { border-color: rgba(238, 101, 61, 0.4); box-shadow: var(--shadow-2); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1.25rem 1.375rem;
  cursor: pointer;
  font-weight: 600; font-size: 1rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .icon:first-child { color: var(--laranja); }
.faq__toggle {
  margin-left: auto; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gelo); display: grid; place-items: center; flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s, color 0.2s;
}
.faq details[open] .faq__toggle { transform: rotate(45deg); background: var(--verde); color: #fff; }
.faq__body { padding: 0 1.375rem 1.375rem calc(1.375rem + 1.25em + 0.875rem); color: var(--ink-muted); font-size: 0.9375rem; }
.faq details[open] .faq__body { animation: faq-open 0.45s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   CTA final
   ========================================================================== */
.final {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--verde);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px -24px rgba(20, 38, 31, 0.6);
}
.final::before {
  content: ""; position: absolute; z-index: -1;
  width: 36rem; height: 36rem; left: -14rem; top: -18rem;
  background: radial-gradient(circle, rgba(238, 101, 61, 0.35), transparent 65%);
  animation: glow 9s ease-in-out infinite alternate;
}
.final__inner { position: relative; z-index: 1; max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em; }
.final h2 span { color: var(--laranja); }
.final p { color: var(--verde-suave); font-size: clamp(1rem, 1.6vw, 1.1875rem); max-width: 36rem; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding-top: 0.5rem; }
.final small { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--verde-suave); font-weight: 500; font-size: 0.8125rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--verde-escuro); color: #c9d4cf; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; max-width: 24rem; }
.footer__brand .logo img { height: 44px; }
.footer__brand p { font-size: 0.875rem; color: #a9bbb3; }
.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #e7ece9;
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--laranja); border-color: var(--laranja); color: var(--verde-escuro); transform: translateY(-3px); }
.socials svg { width: 1.1rem; height: 1.1rem; }
.footer__col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { font-size: 0.9375rem; color: #a9bbb3; transition: color 0.2s; }
.footer__col a:hover { color: var(--laranja); }
.footer__bottom {
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center;
  font-size: 0.8125rem; color: #8ea39a;
}
.footer__bottom .zero { display: inline-flex; align-items: center; gap: 0.4rem; color: #e7ece9; font-weight: 600; }
.footer__bottom .zero::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--laranja); }

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
  animation: wa-in 0.6s 1.8s var(--ease-spring) both;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ring 2.8s 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.75rem; height: 1.75rem; }
@keyframes wa-in { from { opacity: 0; transform: scale(0.3); } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Revelação no scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .stage > * { opacity: 1; transform: none; }
  .chart i { transform: none; }
  .pixels i { opacity: var(--o, 1); transform: none; }
  .step::after { transform: none !important; }
}
