/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #6200ee;
  --purple-dark:  #4b00b5;
  --purple-light: #ede7f6;
  --purple-50:    #f7f3ff;
  --purple-mid:   #9c27b0;
  --dark:         #0f0f14;
  --dark-2:       #1c1c22;
  --text:         #3a3a3c;
  --text-light:   #6b6b73;
  --border:       #e7e5ee;
  --gray-bg:      #f6f6f9;
  --white:        #ffffff;
  --green:        #15803d; /* 5:1 sobre branco (AA) */
  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 2px rgba(16,12,40,0.06), 0 1px 1px rgba(16,12,40,0.04);
  --shadow:       0 8px 24px -8px rgba(16,12,40,0.12), 0 2px 6px rgba(16,12,40,0.05);
  --shadow-lg:    0 24px 48px -16px rgba(74,0,180,0.25);

  /* Motion — curvas fortes; as nativas do CSS são fracas demais */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast:     160ms;
  --dur:          240ms;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--purple); color: var(--white); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: translateY(64px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur) var(--ease-out),
    color var(--dur-fast) ease;
}
/* Feedback tátil: o botão "afunda" ao ser pressionado */
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform var(--dur) var(--ease-out); }

.btn--primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 16px -6px rgba(98,0,238,0.6);
}
.btn--ghost   { background: transparent; color: var(--purple); border-color: var(--border); }
.btn--outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--white   { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--purple-dark); }
  .btn--ghost:hover   { border-color: var(--purple); background: var(--purple-light); }
  .btn--outline:hover { background: var(--purple); color: var(--white); }
  .btn--white:hover   { background: #f3f1f8; }
  .btn:hover svg      { transform: translateX(2px); }
}

/* Botões de loja */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  line-height: 1.15;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out);
  box-shadow: 0 8px 20px -10px rgba(15,15,20,0.6);
}
.store-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.store-btn small { font-size: 11px; font-weight: 500; opacity: 0.7; letter-spacing: 0; }
.store-btn:active { transform: scale(0.97); }
.store-btn--light { background: var(--white); color: var(--dark); box-shadow: 0 8px 20px -10px rgba(0,0,0,0.4); }
@media (hover: hover) and (pointer: fine) {
  .store-btn:hover { background: #26262e; }
  .store-btn--light:hover { background: #f3f1f8; }
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  padding: 10px 0;
  transition: border-color var(--dur) ease, background-color var(--dur) ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,0.9); }
/* Páginas internas (privacy, delete-account…) não rodam o JS de scroll */
body:not(:has([data-nav])) .nav { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-name--light { filter: brightness(0) invert(1); }

.nav__links {
  position: relative;
  display: flex;
  gap: 2px;
}
.nav__links a {
  position: relative;
  z-index: 1;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  transition: color var(--dur-fast) ease;
}
.nav__links a.active { color: var(--purple); }
/* Link para outra página (não âncora): destacado para não parecer mais uma seção */
.nav__links a.nav__link-pro { margin-left: 6px; color: var(--purple); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--purple-light); }
/* Um único destaque que desliza entre os links, em vez de um fundo por link */
.nav__highlight {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--hl-w, 0);
  transform: translateX(var(--hl-x, 0));
  background: var(--purple-light);
  border-radius: 999px;
  opacity: 0;
  transition:
    transform 280ms var(--ease-out),
    width 280ms var(--ease-out),
    opacity var(--dur-fast) ease;
  pointer-events: none;
}
.nav__links.has-hover .nav__highlight { opacity: 1; }
.nav__links.no-slide .nav__highlight { transition: opacity var(--dur-fast) ease; }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  position: relative;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.nav__menu-btn:active { transform: scale(0.94); }
.nav__menu-btn span {
  position: absolute;
  top: calc(50% - 1px);
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu-btn span:first-child { transform: translateY(-4px); }
.nav__menu-btn span:last-child  { transform: translateY(4px); }
.nav__menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

.nav__sheet {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.nav__sheet a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
}
.nav__sheet a:active { background: var(--purple-50); }
.nav__sheet.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }

/* ===== REVEAL ON SCROLL ===== */
/* Só esconde quando há JS: sem JS o conteúdo aparece normalmente */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out),
    filter 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 38%, rgba(98,0,238,0.16), transparent 70%),
    radial-gradient(30% 40% at 12% 10%, rgba(156,39,176,0.10), transparent 70%),
    linear-gradient(180deg, #faf8ff 0%, #ffffff 90%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.eyebrow:active { transform: scale(0.98); }
.eyebrow__tag {
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
}
.eyebrow svg { color: var(--text-light); transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .eyebrow:hover { border-color: rgba(98,0,238,0.35); }
  .eyebrow:hover svg { transform: translateX(2px); }
}

.hero__title {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__title-accent {
  background: linear-gradient(95deg, var(--purple) 10%, var(--purple-mid) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__ctas--center { justify-content: center; margin-bottom: 0; }

.hero__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { color: var(--green); }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

/* Canvas do three.js: nasce invisível e aparece no primeiro frame renderizado */
.hero__canvas {
  position: absolute;
  top: -18%;
  left: -25%;
  width: 150%;
  height: 136%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
  pointer-events: none;
}
.hero__canvas.is-ready { opacity: 1; }

/* ===== PALCO 3D ===== */
.stage {
  position: relative;
  z-index: 1;
  text-align: left;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.rig {
  --rx: 0deg;
  --ry: 0deg;
  --ty: 0px;
  --sc: 1;
  position: relative;
  transform-style: preserve-3d;
  transform: translate3d(0, var(--ty), 0) scale(var(--sc)) rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.phone3d { position: relative; transform-style: preserve-3d; }
.phone3d__edges { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.phone3d__edges span {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  background: linear-gradient(90deg, #4a4a58, #22222b 30%, #1a1a21 70%, #4a4a58);
  transform: translateZ(calc(var(--i) * -2.4px));
}
.phone3d__edges span:last-child {
  background: linear-gradient(160deg, #2b1a5c, #120a2b);
  box-shadow: 0 60px 80px -30px rgba(40,0,110,0.55);
}

.device--hero {
  width: 300px;
  height: 620px;
  transform: translateZ(1px);
  box-shadow: 0 0 0 2px #34343f inset, 0 0 0 1px rgba(255,255,255,0.08);
}
.device--hero .device__screen { font-size: 11px; }

.device__glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.28) 45%, transparent 60%);
  background-size: 250% 100%;
  background-position: var(--gx, 50%) 0;
  mix-blend-mode: soft-light;
}

/* Tela viva */
.live { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 0; }
.live__status { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 12px; font-weight: 600; font-size: 11px; }
.live__status-icons { display: flex; gap: 3px; }
.live__status-icons i { width: 12px; height: 7px; border-radius: 2px; background: var(--dark); opacity: 0.8; }
.live__status-icons i:first-child { width: 10px; }
.live__top { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.live__top small { display: block; color: var(--text-light); font-size: 10px; }
.live__top strong { font-size: 16px; color: var(--purple); letter-spacing: -0.01em; }
.live__icons { display: flex; gap: 6px; }
.live__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-bg); font-size: 13px; }
.live__bell b {
  position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 2px var(--white);
  transform: scale(0);
  transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.live__bell.is-ringing b { transform: scale(1); }
.live__bell.is-ringing { animation: ring 700ms var(--ease-out); }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}
.live__loc { font-size: 10px; color: var(--text-light); background: var(--gray-bg); padding: 6px 10px; border-radius: 999px; width: fit-content; }
.live__loc span { color: var(--purple); }
.live__h { font-weight: 700; font-size: 12px; margin-top: 2px; }
.live__cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.live__cats span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 500; }
.live__cats i {
  font-style: normal; font-size: 15px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple);
  box-shadow: 0 6px 12px -6px rgba(98,0,238,0.7);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.live__cats span.is-pulse i { transform: translateY(-3px) scale(1.08); box-shadow: 0 0 0 4px var(--purple-light), 0 10px 16px -6px rgba(98,0,238,0.7); }
.live__carousel { position: relative; flex-shrink: 0; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.live__track { display: flex; height: 100%; transition: transform 700ms var(--ease-in-out); }
.live__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.live__dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.live__dots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.6); transition: width 400ms var(--ease-out), background-color 400ms ease; }
.live__dots i.is-on { width: 14px; background: var(--white); }
.live__marquee {
  overflow: hidden;
  margin: 0 -14px;
  padding: 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.live__marquee-track { display: flex; gap: 8px; width: max-content; animation: marquee 16s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - 4px)); } }
.live__card { width: 88px; display: flex; flex-direction: column; gap: 1px; font-size: 9.5px; }
.live__card strong { font-size: 10px; }
.live__card span { color: var(--text-light); }
.live__card-img { height: 58px; margin-bottom: 3px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; }
.live__card-img--a { background: linear-gradient(135deg, #c7b3ff, #6200ee); }
.live__card-img--b { background: linear-gradient(135deg, #ffd6a5, #f97316); }
.live__card-img--c { background: linear-gradient(135deg, #a7f3d0, #059669); }
.live__card-img--d { background: linear-gradient(135deg, #fbcfe8, #db2777); }
.live__tabs {
  margin: auto -14px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 18px;
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.live__tabs span { display: flex; flex-direction: column; align-items: center; font-size: 13px; color: var(--text-light); }
.live__tabs b { font-size: 8.5px; font-weight: 600; }
.live__tabs .is-on { color: var(--purple); }

/* Splash da marca ao "ligar" o app */
.live__splash {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(80% 60% at 50% 40%, #7c2bff, var(--purple) 60%, #4b00b5);
  transition: opacity 500ms var(--ease-out), filter 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.live__splash img:first-child { width: 110px; animation: splash-mark 900ms var(--ease-out) both; }
.live__splash-name { width: 130px; filter: brightness(0) invert(1); animation: splash-name 900ms var(--ease-out) 150ms both; }
.live__splash.is-gone { opacity: 0; filter: blur(8px); transform: scale(1.06); pointer-events: none; }
@keyframes splash-mark { from { opacity: 0; transform: scale(0.8) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splash-name { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Pausa animações contínuas quando o palco sai da tela */
.stage.is-paused *, .stage.is-paused { animation-play-state: paused !important; }

/* Cards flutuantes: posicionados em Z, então o giro do rig gera parallax real */
.float {
  position: absolute;
  transform: translateZ(var(--z, 80px));
  transform-style: preserve-3d;
}
.float__inner {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px -16px rgba(40,10,110,0.35), 0 2px 6px rgba(16,12,40,0.06);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px); } }
.float--review { top: 70px; right: -120px; width: 200px; }
.float--review .float__inner { padding: 12px 14px; animation-duration: 7s; }
.float__stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.float--review p { margin: 2px 0 4px; font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.35; }
.float--review small { font-size: 11px; color: var(--text-light); }
.float--pet { top: 250px; right: -120px; }
.float--pet .float__inner { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; animation-duration: 6.5s; animation-delay: -2s; }
.float__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fef3c7; font-size: 20px; }
.float--pet strong { display: block; font-size: 13px; color: var(--dark); white-space: nowrap; }
.float--pet span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-light); white-space: nowrap; }
.float__live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: live-dot 1.8s var(--ease-out) infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); } 100% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } }
.float--coupon { top: 20px; left: -30px; }
.float--coupon .float__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, #7c2bff, var(--purple));
  color: var(--white);
  transform: rotate(-10deg);
  animation-name: bob-tilt;
  animation-duration: 5.5s;
}
@keyframes bob-tilt { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(-6deg) translateY(-10px); } }
.float--coupon b { font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.float--coupon span { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; }
/* Fica sob a metade esquerda do celular, sem invadir a coluna de texto (checado de 1025px a 1920px) */
.float--toasts { bottom: 24px; left: -40px; }

/* Pilha de toasts */
.toasts {
  list-style: none;
  position: relative;
  width: 300px;
  height: 84px;
}
.toast {
  --lift: 0px;
  --scale: 1;
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 32px -12px rgba(16,12,40,0.25), 0 2px 6px rgba(16,12,40,0.06);
  transform-origin: center bottom;
  transform: translateY(var(--lift)) scale(var(--scale));
  opacity: 0;
  transition:
    transform 420ms var(--ease-out),
    opacity 300ms var(--ease-out);
  will-change: transform;
}
/* Posições na pilha: 0 = frente, 1 e 2 atrás, "enter" entrando por baixo */
.toast[data-pos="0"] { opacity: 1; z-index: 3; }
.toast[data-pos="1"] { --lift: -12px; --scale: 0.95; opacity: 1; z-index: 2; }
.toast[data-pos="2"] { --lift: -24px; --scale: 0.9; opacity: 0.8; z-index: 1; }
.toast[data-pos="out"] { --lift: -36px; --scale: 0.85; opacity: 0; z-index: 0; }
.toast[data-pos="enter"] { --lift: 24px; --scale: 1; opacity: 0; z-index: 4; transition: none; }
.toast[data-pos="1"] > *, .toast[data-pos="2"] > * { opacity: 0; }
.toast > * { transition: opacity 200ms ease; }

.toast__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--purple-light);
  color: var(--purple);
}
.toast__icon--green { background: #dcfce7; color: var(--green); }
.toast__icon--amber { background: #fef3c7; color: #b45309; }
.toast__icon--pink  { background: #fce7f3; color: #be185d; }
.toast__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.toast__body strong { font-size: 13.5px; color: var(--dark); }
.toast__body span { font-size: 12.5px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast time { margin-left: auto; align-self: flex-start; font-size: 11px; color: var(--text-light); white-space: nowrap; }

/* Categorias */
.categories {
  /* Acima do palco 3D: se o celular ou um card encostar ao rolar, passa por trás */
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.categories__label { font-size: 14px; font-weight: 600; color: var(--dark); }
.categories__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--purple-50);
  color: var(--purple-dark);
  font-size: 13.5px;
  font-weight: 600;
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.chip--soon { background: var(--gray-bg); color: var(--text-light); font-weight: 500; }
.chip em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
}

/* ===== SECTIONS ===== */
.section { padding: 104px 0; }
.section--gray { background: var(--gray-bg); }
.section--tint { background: linear-gradient(180deg, var(--purple-50) 0%, #fbfaff 100%); }
.section--dark { background: var(--dark); color: #c9c7d3; }

.section__header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}
.section__kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
}
.section__kicker--light { color: #b69cff; }
.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-wrap: balance;
}
.section--dark .section__title { color: var(--white); }
.section__sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  text-wrap: pretty;
}
.section--dark .section__sub { color: #9d9aab; }
.section__sub--left { margin: 0; }

/* ===== TOUR ===== */
.tour__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.tour__tabs { display: flex; flex-direction: column; gap: 6px; }
.tour__tab {
  position: relative;
  display: flex;
  gap: 16px;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  transition: background-color var(--dur) ease, border-color var(--dur) ease, transform var(--dur-fast) var(--ease-out);
}
.tour__tab:active { transform: scale(0.99); }
.tour__tab-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  transition: color var(--dur) ease;
}
.tour__tab-text { display: flex; flex-direction: column; gap: 4px; }
.tour__tab-text strong { font-size: 17px; color: var(--dark); letter-spacing: -0.01em; }
.tour__desc {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.55;
  /* Descrição só aparece na aba ativa; grid-rows anima a altura sem medir em JS */
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms var(--ease-out), opacity 240ms ease;
}
.tour__desc > span { overflow: hidden; min-height: 0; }
.tour__tab[aria-selected="true"] {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.tour__tab[aria-selected="true"] .tour__tab-num { color: var(--purple); }
.tour__tab[aria-selected="true"] .tour__desc { grid-template-rows: 1fr; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tour__tab[aria-selected="false"]:hover { background: var(--gray-bg); }
}

.tour__progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-light);
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.tour__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
}
.tour__tab[aria-selected="true"] .tour__progress { opacity: 1; }
.tour__tab.is-running .tour__progress span {
  transform: scaleX(1);
  transition: transform var(--tour-ms, 5000ms) linear;
}
.tour__tab.is-paused .tour__progress span { transition: none; }

.tour__stage { display: flex; justify-content: center; }

/* Aparelho em CSS */
.device {
  position: relative;
  width: 320px;
  height: 640px;
  padding: 12px;
  border-radius: 52px;
  background: #121217;
  box-shadow:
    0 0 0 2px #2a2a33 inset,
    0 50px 80px -30px rgba(60,0,150,0.4),
    0 30px 60px -30px rgba(0,0,0,0.4);
}
.device__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 96px;
  height: 26px;
  transform: translateX(-50%);
  background: #121217;
  border-radius: 999px;
  z-index: 3;
}
.device__screen {
  position: relative;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: var(--white);
  font-size: 12px;
  color: var(--dark);
}
.screen {
  position: absolute;
  inset: 0;
  padding: 60px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  filter: blur(6px);
  visibility: hidden;
  /* visibility espera o fade-out terminar, para a troca ser um crossfade de verdade */
  transition:
    opacity 280ms var(--ease-out),
    transform 280ms var(--ease-out),
    filter 280ms var(--ease-out),
    visibility 0s linear 280ms;
}
.screen[hidden] { display: flex; }
.screen.is-active { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: 0s; }

.scr-top { display: flex; justify-content: space-between; align-items: center; }
.scr-top small { display: block; color: var(--text-light); font-size: 11px; }
.scr-top strong { font-size: 17px; color: var(--purple); }
.scr-bell { width: 30px; height: 30px; border-radius: 50%; background: var(--gray-bg); position: relative; }
.scr-bell::after { content: ''; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px var(--gray-bg); }
.scr-search {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--gray-bg); color: var(--text-light);
}
.scr-h { font-weight: 700; font-size: 13px; margin-top: 4px; }
.scr-crown { font-size: 11px; }
.scr-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scr-cats span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 500; }
.scr-cats i {
  font-style: normal; font-size: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple); box-shadow: 0 6px 12px -6px rgba(98,0,238,0.7);
}
.scr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scr-card { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; }
.scr-card strong { font-size: 11px; }
.scr-card span { color: var(--text-light); }
.scr-card__img { height: 68px; border-radius: 12px; margin-bottom: 4px; }
.scr-card__img--a { background: linear-gradient(135deg, #c7b3ff, #6200ee); }
.scr-card__img--b { background: linear-gradient(135deg, #ffd6a5, #f97316); }
.scr-card__img--c { background: linear-gradient(135deg, #a7f3d0, #059669); }
.scr-avatars { display: flex; gap: 10px; }
.scr-avatars span { width: 48px; height: 48px; border-radius: 50%; background: var(--gray-bg); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--purple-light); }
.scr-avatars span:nth-child(1) { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.scr-avatars span:nth-child(2) { background: linear-gradient(135deg, #fbcfe8, #db2777); }
.scr-avatars span:nth-child(3) { background: linear-gradient(135deg, #bfdbfe, #2563eb); }
.scr-avatars span:nth-child(4) { background: linear-gradient(135deg, #ddd6fe, #7c3aed); }

.scr-back { font-weight: 700; font-size: 14px; color: var(--dark); padding-bottom: 4px; }
.scr-pets { display: flex; gap: 6px; }
.scr-pets span, .scr-times span, .scr-days span {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  font-weight: 600;
}
.scr-pets .is-on, .scr-times .is-on, .scr-days .is-on { background: var(--purple); border-color: var(--purple); color: var(--white); }
.scr-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.scr-row--pos { color: var(--green); }
.scr-row--total { border-top: 1px dashed var(--border); margin-top: 4px; padding-top: 10px; font-size: 14px; }
.scr-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scr-days span { display: flex; flex-direction: column; align-items: center; font-size: 9.5px; color: var(--text-light); padding: 7px 0; }
.scr-days span b { font-size: 15px; color: var(--dark); }
.scr-days .is-on b, .scr-days .is-on { color: var(--white); }
.scr-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.scr-times .is-off { color: #c4c2cc; text-decoration: line-through; }
.scr-cta {
  margin-top: auto;
  text-align: center;
  padding: 13px;
  border-radius: 14px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.scr-summary { background: var(--gray-bg); border-radius: 14px; padding: 6px 14px; }
.scr-pay {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; font-weight: 600;
}
.scr-pay.is-on { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-light); }
.scr-pay i { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); }
.scr-pay.is-on i { border: 5px solid var(--purple); }
.scr-pay__card { width: 34px; height: 22px; border-radius: 4px; background: #1a1f71; color: var(--white); font-size: 8px; font-weight: 800; display: grid; place-items: center; font-style: italic; }
.scr-pay__card--dark { background: var(--dark); }
.scr-lock { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-light); }
.scr-timeline { list-style: none; display: flex; flex-direction: column; margin-top: 4px; }
.scr-timeline li { position: relative; padding: 0 0 18px 26px; display: flex; flex-direction: column; }
.scr-timeline li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
}
.scr-timeline li::after { content: ''; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: var(--border); }
.scr-timeline li:last-child::after { display: none; }
.scr-timeline li.is-done::before { background: var(--purple); border-color: var(--purple); }
.scr-timeline li.is-done::after { background: var(--purple); }
.scr-timeline li.is-now::before { border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-light); }
.scr-timeline strong { font-size: 12.5px; }
.scr-timeline span { font-size: 10.5px; color: var(--text-light); }
.scr-timeline li:not(.is-done):not(.is-now) strong { color: var(--text-light); }
.scr-rate { margin-top: auto; background: var(--purple-50); border-radius: 16px; padding: 16px; text-align: center; }
.scr-rate p { font-weight: 700; margin-bottom: 6px; }
.scr-stars { display: flex; justify-content: center; gap: 4px; font-size: 24px; color: #d9d6e3; }
.screen.is-active .scr-stars span { animation: star-in 360ms var(--ease-out) both; animation-delay: calc(300ms + var(--s) * 70ms); }
.scr-stars span:nth-child(1) { --s: 0; }
.scr-stars span:nth-child(2) { --s: 1; }
.scr-stars span:nth-child(3) { --s: 2; }
.scr-stars span:nth-child(4) { --s: 3; }
.scr-stars span:nth-child(5) { --s: 4; }
@keyframes star-in {
  from { color: #d9d6e3; transform: scale(0.8); }
  to   { color: #f59e0b; transform: scale(1); }
}

/* ===== SEGMENTED CONTROL ===== */
.segmented {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  margin: -24px auto 40px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.segmented button {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition: color var(--dur) ease;
}
.segmented button[aria-selected="true"] { color: var(--white); }
.segmented__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 6px 14px -6px rgba(98,0,238,0.6);
  transition: transform 320ms var(--ease-out);
}
.segmented[data-active="parceiro"] .segmented__pill { transform: translateX(100%); }

.how { display: grid; }
.how__steps { grid-area: 1 / 1; }
.how__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.how__steps { visibility: hidden; transition: visibility 0s linear 320ms; }
.how__steps[hidden] { display: block; }
.how__steps.is-active { visibility: visible; transition-delay: 0s; }
.how-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), filter 320ms var(--ease-out);
}
.how__steps.is-active .how-step { opacity: 1; transform: none; filter: none; }
.how__steps.is-active .how-step:nth-child(2) { transition-delay: 40ms; }
.how__steps.is-active .how-step:nth-child(3) { transition-delay: 80ms; }
.how__steps.is-active .how-step:nth-child(4) { transition-delay: 120ms; }
.how-step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 800;
  font-size: 15px;
}
.how-step h3 { font-size: 17px; color: var(--dark); letter-spacing: -0.01em; margin-bottom: 6px; }
.how-step p { font-size: 14.5px; color: var(--text-light); line-height: 1.55; }

/* ===== BENTO ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile--wide .tile__text { flex: 1; }
.tile--wide .tile__demo { flex: 1.1; }
.tile--accent {
  background: linear-gradient(145deg, var(--purple) 0%, #7c1fd6 100%);
  border-color: transparent;
  color: rgba(255,255,255,0.8);
}
.tile--accent .tile__text h3 { color: var(--white); }
.tile__text h3 { font-size: 19px; color: var(--dark); letter-spacing: -0.015em; margin-bottom: 6px; }
.tile__text p { font-size: 14.5px; line-height: 1.55; color: var(--text-light); }
.tile--accent .tile__text p { color: rgba(255,255,255,0.8); }
.tile__demo { margin-top: auto; }
.tile--wide .tile__demo { margin-top: 0; }
.tile__cta { align-self: flex-start; margin-top: auto; }
.tile--full { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.tile--full .tile__cta { align-self: center; margin-top: 0; }

.pets-demo { display: flex; flex-direction: column; gap: 8px; }
.pet-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.pet-card strong { display: block; font-size: 14px; color: var(--dark); }
.pet-card span { font-size: 12.5px; color: var(--text-light); }
.pet-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
  background: #fef3c7;
}
.pet-card__avatar--b { background: #fce7f3; }
.pet-card--add { border-style: dashed; box-shadow: none; background: transparent; }
.pet-card__avatar--add { background: var(--purple-light); color: var(--purple); font-weight: 700; font-size: 20px; }

.coupon {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.coupon__value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  background: var(--purple);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  border-right: 2px dashed rgba(255,255,255,0.5);
}
.coupon__value small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; margin-top: 4px; }
.coupon__code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  letter-spacing: 0.04em;
}
.copy-btn {
  display: grid;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--purple);
  background: var(--purple-light);
  padding: 7px 12px;
  border-radius: 999px;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) ease, color var(--dur) ease;
}
.copy-btn:active { transform: scale(0.95); }
.copy-btn__label {
  grid-area: 1 / 1;
  text-align: center;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.copy-btn__label[data-state="done"] { opacity: 0; transform: translateY(6px); filter: blur(2px); }
.copy-btn.is-done { background: #dcfce7; color: var(--green); }
.copy-btn.is-done [data-state="idle"] { opacity: 0; transform: translateY(-6px); filter: blur(2px); }
.copy-btn.is-done [data-state="done"] { opacity: 1; transform: none; filter: none; }

.fav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.fav__img { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #c7b3ff, #6200ee); flex-shrink: 0; }
.fav__info strong { display: block; font-size: 14px; color: var(--dark); }
.fav__info span { font-size: 12.5px; color: var(--text-light); }
.fav__btn {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-light);
  background: var(--gray-bg);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur) ease, background-color var(--dur) ease;
}
.fav__btn svg { fill: transparent; transition: fill var(--dur) ease; }
.fav__btn:active { transform: scale(0.9); }
.fav__btn[aria-pressed="true"] { color: #e11d48; background: #ffe4e6; }
.fav__btn[aria-pressed="true"] svg { fill: currentColor; animation: pop 360ms var(--ease-out); }
@keyframes pop {
  0%   { transform: scale(0.8); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.order-status { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.order-status li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}
.order-status li::before {
  content: '';
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  flex-shrink: 0;
}
.order-status .is-done { color: var(--dark); }
.order-status .is-done::before { background: var(--purple); border-color: var(--purple); }
.order-status .is-now { color: var(--dark); font-weight: 600; }
.order-status .is-now::before { border-color: var(--purple); animation: ping 1.6s var(--ease-out) infinite; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(98,0,238,0.35); }
  100% { box-shadow: 0 0 0 8px rgba(98,0,238,0); }
}

.refund {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
}
.refund__row { display: flex; justify-content: space-between; }
.refund__row--pos { color: var(--green); }
.refund__bar { height: 6px; margin: 10px 0; border-radius: 999px; background: var(--gray-bg); overflow: hidden; }
.refund__bar span {
  display: block; height: 100%; border-radius: inherit;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(0.1);
  transition: transform 900ms var(--ease-out) 200ms;
}
.tile.is-visible .refund__bar span { transform: scaleX(1); }

/* ===== TRUST ===== */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-item {
  padding: 32px 28px;
  background: var(--dark);
}
.trust-item svg { color: #b69cff; margin-bottom: 18px; }
.trust-item h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em; }
.trust-item p { font-size: 14.5px; line-height: 1.55; color: #9d9aab; }

/* ===== REFERRAL ===== */
.referral {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f4efff 0%, #ece4ff 100%);
  border: 1px solid #e3d9ff;
}
.referral .section__title { margin-bottom: 24px; }
.referral__steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.referral__steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.referral__steps li span {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--purple);
  font-weight: 800; font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.referral__steps p { padding-top: 3px; }
.referral__steps strong { color: var(--dark); }
.referral__visual img { border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ===== PARTNERS ===== */
.partners {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.partners__intro { position: sticky; top: 120px; }
.partners__intro .section__title { text-align: left; }
.partners__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.partners__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.partner {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) ease, box-shadow var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .partner:hover { border-color: rgba(98,0,238,0.3); box-shadow: var(--shadow); }
}
.partner__icon {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--purple-light); color: var(--purple);
}
.partner h3 { font-size: 16px; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.01em; }
.partner p { font-size: 14.5px; color: var(--text-light); line-height: 1.55; }

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) ease, box-shadow var(--dur) var(--ease-out);
}
.faq__item.is-open { border-color: rgba(98,0,238,0.3); box-shadow: var(--shadow); }
.faq__item h3 { font-size: inherit; }
.faq__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  border-radius: var(--radius);
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-light);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) ease;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease-out);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}
.faq__panel > div { overflow: hidden; }
.faq__panel p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__item.is-open .faq__panel p { opacity: 1; transform: none; }

/* ===== CTA ===== */
.cta { padding: 0 0 104px; }
.cta__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 32px;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,0.18), transparent 70%),
    linear-gradient(135deg, var(--purple) 0%, #8a1fd1 100%);
  color: var(--white);
}
.cta__paws { position: absolute; right: -40px; bottom: -40px; width: 260px; color: rgba(255,255,255,0.08); transform: rotate(-18deg); }
.cta__content { position: relative; }
.cta__content h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-wrap: balance;
}
.cta__content p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
  width: fit-content;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0;
}
.footer__bottom p, .footer__copy { font-size: 13px; color: var(--text-light); }
.footer__copy { text-align: center; padding: 20px 0; }

.social-icons { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.social-icon { display: inline-flex; opacity: 0.85; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) ease; }
.social-icon:active { transform: scale(0.94); }
/* Lojas (badges oficiais, sem alteração de arte) + selos de segurança/privacidade */
.footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.footer__stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  border-radius: 8px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.store-badge img { height: 40px; width: auto; display: block; }
.store-badge:active { transform: scale(0.97); }
.store-badge:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.seals { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.seal {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.seal__icon { flex: none; color: var(--purple); }
.seal__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.seal__text strong { font-size: 12.5px; font-weight: 600; color: var(--dark); }
.seal__text small { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--text-light); }
a.seal:active { transform: scale(0.97); }
a.seal:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; }
.footer__company { font-size: 13px; color: var(--text-light); }

/* CNPJ copiável: texto discreto; o ícone troca por um check com crossfade curto */
.cnpj {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -6px -8px;           /* área de toque maior sem deslocar o texto */
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-light);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.cnpj__num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.cnpj:active { transform: scale(0.97); }
.cnpj:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.cnpj__icon { display: grid; width: 14px; height: 14px; }
.cnpj__icon svg {
  grid-area: 1 / 1;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.cnpj__icon [data-state="done"] { opacity: 0; transform: scale(0.6); filter: blur(2px); }
.cnpj.is-done { color: var(--green); }
.cnpj.is-done [data-state="idle"] { opacity: 0; transform: scale(0.6); filter: blur(2px); }
.cnpj.is-done [data-state="done"] { opacity: 1; transform: none; filter: none; }

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

@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--purple); }
  .social-icon:hover { opacity: 1; }
  .cnpj:hover { color: var(--text); background: var(--purple-50); }
  .cnpj.is-done:hover { color: var(--green); }
  a.seal:hover { border-color: #d9ccf5; background: var(--purple-50); }
}

/* ===== PRIVACY / DELETE ACCOUNT PAGES ===== */
.privacy { padding: 60px 0 80px; }
.privacy__inner { max-width: 760px; margin: 0 auto; }
.privacy__inner h1 { font-size: clamp(24px, 3vw, 40px); font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.02em; }
.privacy__updated { font-size: 13px; color: var(--text-light); margin-bottom: 40px; }
.privacy__inner h2 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 36px 0 12px; }
.privacy__inner p { font-size: 15px; color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.privacy__inner ul { padding-left: 20px; margin-bottom: 12px; }
.privacy__inner ul li { font-size: 15px; color: var(--text); margin-bottom: 6px; line-height: 1.7; }
/* Sublinhado: link não pode depender só da cor (WCAG 1.4.1) */
.privacy__inner a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.privacy__inner a:hover { text-decoration-thickness: 2px; }

.delete-steps { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.delete-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.delete-step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.delete-step strong { display: block; margin-bottom: 4px; color: var(--dark); }
.delete-step p { font-size: 14px; color: var(--text-light); margin: 0; }

.data-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 16px 0 24px; }
.data-table__row { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 12px; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.data-table__row:last-child { border-bottom: none; }
.data-table__header { background: var(--dark); color: var(--white); font-weight: 600; font-size: 13px; }

/* ===== CONFIRMATION PAGE ===== */
.confirm {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--gray-bg);
}
.confirm__inner { display: flex; align-items: center; justify-content: center; width: 100%; }
.confirm__card {
  text-align: center;
  max-width: 480px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 52px 40px;
  border: 1px solid var(--border);
}
.confirm__card h1, .confirm__card h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.01em; }
.confirm__card p { font-size: 15px; color: var(--text-light); }
.confirm__icon { font-size: 56px; display: block; margin-bottom: 20px; }
.confirm__spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 24px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SCROLL ===== */
/* Lenis controla a rolagem suave no desktop; o scroll-behavior nativo precisa sair do caminho */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html { scrollbar-width: thin; scrollbar-color: #b69cff transparent; }
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(var(--purple), var(--purple-mid)); border: 3px solid var(--white); border-radius: 999px; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid), #ff6fb5);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ===== MARCA ===== */
.nav__logo { gap: 10px; }
.nav__logo-icon { height: 38px; width: auto; transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav__logo-name { height: 28px; width: auto; }
.nav__logo:active .nav__logo-icon { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .nav__logo:hover .nav__logo-icon { transform: rotate(-8deg) scale(1.06); }
}

.cta__mark {
  width: 76px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 12px 24px rgba(20,0,60,0.35));
}

.footer__wordmark {
  display: flex;
  justify-content: center;
  padding: 56px 0 8px;
  overflow: hidden;
}
.footer__wordmark img {
  width: min(100%, 1100px);
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* ===== MANIFESTO ===== */
.story {
  position: relative;
  height: 260vh;
  background:
    radial-gradient(50% 40% at 50% 50%, rgba(98,0,238,0.07), transparent 70%),
    var(--white);
}
.story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.story__center {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}
.story__mark {
  width: 96px;
  margin: 0 auto 32px;
  transform: scale(var(--ms, 0.8)) rotate(var(--mr, -8deg));
  opacity: var(--mo, 0.3);
  will-change: transform;
}
.story__text {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--dark);
  text-wrap: balance;
}
.js .story__text .w {
  opacity: calc(0.14 + var(--w, 0) * 0.86);
  transition: opacity 120ms linear;
}
.story__text .w--brand { color: var(--purple); }

.story__floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.story__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px -18px rgba(40,10,110,0.3);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
  will-change: transform;
  font-size: 12px;
}
.story__float span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--purple-50); font-size: 18px; }
.story__float strong { display: block; font-size: 13px; color: var(--dark); white-space: nowrap; }
.story__float small { display: block; font-size: 11px; color: var(--text-light); white-space: nowrap; }
.story__float b { font-size: 18px; color: var(--purple); letter-spacing: -0.02em; }
.story__float--b, .story__float--d { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 16px; }
.story__float--a { top: 12%; left: 6%;  --rot: -6deg; }
.story__float--b { top: 16%; right: 9%; --rot: 5deg; }
.story__float--c { bottom: 16%; left: 11%; --rot: 4deg; }
.story__float--d { bottom: 12%; right: 7%; --rot: -5deg; background: linear-gradient(145deg, #7c2bff, var(--purple)); border-color: transparent; }
.story__float--d b, .story__float--d small { color: var(--white); }
.story__float--e { top: 46%; left: 2%;  --rot: -3deg; }
.story__float--f { top: 50%; right: 3%; --rot: 3deg; }

/* ===== RESPONSIVE ===== */
/* Desktop estreito: a coluna do celular encolhe, então os cards da direita recolhem */
@media (min-width: 1025px) and (max-width: 1200px) {
  .float--review { right: -50px; }
  .float--pet { right: -60px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero__content { max-width: 640px; margin: 0 auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__proof { justify-content: center; }
  .hero__visual { min-height: 0; }
  .hero__visual { min-height: 640px; margin-top: 8px; }
  .hero__canvas { left: -25%; }
  .float--review { right: -110px; }
  .float--pet { right: -130px; }
  .float--toasts { left: -150px; }

  .tour__grid { grid-template-columns: 1fr; gap: 40px; }
  .tour__stage { order: -1; }

  .how__list { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; gap: 40px; }
  .partners__intro { position: static; }
  .referral { grid-template-columns: 1fr; padding: 36px; }

  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: block; }
  .nav__sheet { display: flex; }
}

@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__trust { flex-direction: column; align-items: stretch; }
  .seals { flex-direction: column; }
  .footer__legal { flex-direction: column; }
  .section { padding: 72px 0; }
  .hero { padding-top: 32px; }
  .hero__proof { gap: 8px 14px; font-size: 13px; }
  .hero__visual { min-height: 560px; }
  .stage { transform: scale(0.84); }
  .float--review { top: 40px; right: -40px; width: 170px; }
  .float--pet { display: none; }
  .float--toasts { left: 50%; bottom: -30px; margin-left: -150px; }
  .hero__visual { margin-bottom: 56px; }
  .float--coupon { left: -30px; }
  .story { height: 220vh; }
  .story__float--e, .story__float--f { display: none; }
  .story__float--a { left: 4%; top: 8%; }
  .story__float--b { right: 4%; top: 14%; }
  .story__float--c { left: 4%; bottom: 10%; }
  .story__float--d { right: 4%; bottom: 14%; }
  .story__mark { width: 72px; margin-bottom: 24px; }
  .footer__wordmark { padding-top: 40px; }
  .categories { justify-content: center; text-align: center; }
  .categories__list { justify-content: center; }

  .tour__tab { padding: 14px 16px; }
  .device { transform: scale(0.9); margin: -32px 0; }

  .segmented button { padding: 10px 14px; font-size: 13.5px; }
  .how__list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--full { grid-column: auto; flex-direction: column; align-items: stretch; }
  .tile--full .tile__cta { align-self: flex-start; }
  .trust { grid-template-columns: 1fr; }
  .referral { padding: 28px 20px; border-radius: 24px; }
  .cta__card { padding: 56px 20px; border-radius: 24px; }
  .store-btn { flex: 1 1 180px; justify-content: center; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .data-table__row { grid-template-columns: 1fr; gap: 4px; }
  .data-table__header span:not(:first-child) { display: none; }
}

@media (max-width: 400px) {
  .nav__actions .btn { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ===== REDUCED MOTION ===== */
/* Mantém transições de opacidade/cor (ajudam a entender a mudança), remove movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; filter: none; transition: opacity 300ms ease; transition-delay: 0s; }
  .screen, .how-step { transform: none !important; filter: none !important; }
  .toast { transition: opacity 200ms ease; }
  .cnpj__icon svg { transform: none !important; filter: none !important; }
  .nav__highlight { transition: opacity var(--dur-fast) ease; }
  .segmented__pill, .refund__bar span { transition: none; }
  .order-status .is-now::before, .fav__btn[aria-pressed="true"] svg,
  .screen.is-active .scr-stars span { animation: none; }
  .screen.is-active .scr-stars span { color: #f59e0b; }
  .btn:active, .store-btn:active { transform: none; }
  .float__inner, .float__live, .live__marquee-track, .live__bell.is-ringing,
  .live__splash img, .scr-stars span { animation: none !important; }
  .live__splash { display: none; }
  .live__track { transition: none; }
  .rig { transform: none !important; }
  .story { height: auto; padding: 120px 0; }
  .story__sticky { position: static; height: auto; }
  .story__floats { display: none; }
  .js .story__text .w { opacity: 1; }
  .story__mark { transform: none; opacity: 1; }
  .scroll-progress { display: none; }
}

/* ===== IMAGENS DE MOCKUP (ilustrações e fotos usadas no app) ===== */
.live__card-img, .scr-card__img, .fav__img,
.float__avatar, .pet-card__avatar, .story__float span.has-img {
  overflow: hidden;
  background: var(--purple-50);
}
.live__card-img img, .scr-card__img img, .fav__img img,
.float__avatar img, .pet-card__avatar img, .story__float span.has-img img,
.scr-avatars img, .scr-pets img, .scr-partner img, .scr-update img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story__float span.has-img { padding: 0; }

.scr-avatars { justify-content: space-between; }
.scr-avatars figure { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; }
.scr-avatars figure img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px #ffb300;
}
.scr-avatars figcaption { font-size: 9px; font-weight: 600; text-align: center; line-height: 1.2; white-space: nowrap; }

.scr-pets span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; }
.scr-pets img { width: 22px; height: 22px; border-radius: 50%; }

.scr-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.scr-partner img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.scr-partner strong { display: block; font-size: 12.5px; }
.scr-partner span { font-size: 10px; color: var(--text-light); }
.scr-partner em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 11px; color: #b45309; background: #fef3c7; padding: 3px 7px; border-radius: 999px; }

.scr-update {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--purple-50);
  border-radius: 14px;
}
.scr-update img { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; }
.scr-update strong { display: block; font-size: 12px; }
.scr-update span { font-size: 10.5px; color: var(--text-light); }

.scr-tabs {
  margin: auto -18px -18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 6px 22px;
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.scr-tabs span { display: flex; flex-direction: column; align-items: center; font-size: 14px; color: var(--text-light); }
.scr-tabs b { font-size: 9px; font-weight: 600; }
.scr-tabs .is-on { color: var(--purple); }

/* ===== TELAS DO APP (fiéis ao pupsim-mobile-app) =====================================
   Medidas em dp do Flutter, convertidas por --dp (px por dp) conforme o tamanho do aparelho.
   Fontes das medidas: lib/theme/pet_app_theme.dart (AppColors, AppTextStyles, AppSpacing),
   main_home_header_comp, menu_action_item_comp, company_icon, main_home_*_carousel,
   modal_grooming_scheduling_comp, payment_summary_*, live_grooming_card, annotation_list_update_card. */
.app {
  --dp: 0.755px;
  --primary: #6200ee;       /* AppColors.textPrimary */
  --app-card: #f6f7f9;      /* AppColors.card / bottomBar */
  --app-secondary: #6b7280; /* AppColors.textSecondary */
  --app-divider: #e6e8eb;   /* AppColors.divider */
  --app-text: #111111;
  --app-muted: #666666;     /* AppTextStyles.secondaryText */
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--app-text);
  -webkit-font-smoothing: antialiased;
}
.device--hero .app { --dp: 0.704px; }
.device--hero .live.app { padding: 0; gap: 0; }
.screen.app-screen { padding: 0; gap: 0; }
.app-body { display: flex; flex-direction: column; height: 100%; position: relative; }

.app .mi { width: calc(24 * var(--dp)); height: calc(24 * var(--dp)); fill: currentColor; flex-shrink: 0; display: block; }
.app .mi.is-primary, .app .is-primary { color: var(--primary); }

/* status bar (a área do notch) */
.app-status { height: calc(34 * var(--dp)); padding: calc(8 * var(--dp)) calc(28 * var(--dp)) 0; display: flex; justify-content: space-between; align-items: center; font-size: calc(14 * var(--dp)); font-weight: 500; }
.app-status__icons { display: flex; gap: calc(4 * var(--dp)); }
.app-status__icons i { width: calc(16 * var(--dp)); height: calc(10 * var(--dp)); border-radius: 2px; background: currentColor; opacity: 0.85; }
.app-status__icons i:first-child { width: calc(12 * var(--dp)); }

/* cabeçalho: "Olá," + nome, carrinho e sino (main_home_header_comp) */
.app-head { display: flex; justify-content: space-between; align-items: center; padding: calc(6 * var(--dp)) calc(16 * var(--dp)) 0; }
.app-head__hello span { display: block; font-size: calc(14 * var(--dp)); line-height: 1.4; }
.app-head__hello strong { display: block; font-size: calc(20 * var(--dp)); line-height: 1.3; font-weight: 600; color: var(--primary); }
.app-head__icons { display: flex; align-items: center; }
.app-ico { position: relative; display: grid; place-items: center; color: rgba(0,0,0,0.87); }
.app-bell { width: calc(48 * var(--dp)); height: calc(48 * var(--dp)); }
.app-bell b {
  position: absolute; top: calc(10 * var(--dp)); right: calc(10 * var(--dp));
  width: calc(12 * var(--dp)); height: calc(12 * var(--dp)); border-radius: 50%; background: #f44336;
  transform: scale(0); transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-bell.is-ringing b { transform: scale(1); }
.app-bell.is-ringing { animation: ring 700ms var(--ease-out); }

/* divisor recuado 16dp à esquerda (AppDividers.indented) */
.app-div { border: 0; border-top: 1px solid var(--app-divider); margin: calc(8 * var(--dp)) 0 0 calc(16 * var(--dp)); }
.app-div--full { margin: calc(8 * var(--dp)) 0; }

/* endereço: linha centralizada, sem fundo — pin 22dp, 6dp, texto 14dp, seta 28dp */
.app-loc {
  display: flex; align-items: center; justify-content: center;
  margin: calc(16 * var(--dp)) calc(16 * var(--dp)) 0;
  font-size: calc(14 * var(--dp)); line-height: 1.4; min-width: 0;
}
.app-loc .mi.is-primary { width: calc(22 * var(--dp)); height: calc(22 * var(--dp)); margin-right: calc(6 * var(--dp)); }
.app-loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-loc .app-loc__drop { width: calc(28 * var(--dp)); height: calc(28 * var(--dp)); color: rgba(0,0,0,0.87); }

/* títulos de seção (AppTextStyles.sectionTitle 18/600) */
.app-title { display: flex; align-items: center; gap: calc(4 * var(--dp)); margin: calc(24 * var(--dp)) calc(16 * var(--dp)) calc(16 * var(--dp)); font-size: calc(18 * var(--dp)); line-height: 1.3; font-weight: 600; }
.app-loc + .app-title { margin-top: calc(16 * var(--dp)); }
.app-title .app-title__ico { width: calc(18 * var(--dp)); height: calc(18 * var(--dp)); }

/* categorias (menu_action_item_comp): círculo 60dp #6200EE, ícone 30dp #E6E8EB, 5 por tela */
.app-cats { display: grid; grid-template-columns: repeat(5, 1fr); }
.app-cats span { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--dp)); font-size: calc(12 * var(--dp)); line-height: 1.3; font-weight: 500; color: #000; text-align: center; }
.app-cats i {
  display: grid; place-items: center; width: calc(60 * var(--dp)); height: calc(60 * var(--dp)); border-radius: 50%;
  background: var(--primary); color: var(--app-divider);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.app-cats .mi { width: calc(30 * var(--dp)); height: calc(30 * var(--dp)); }
.app-cats span.is-pulse i { transform: scale(1.06); box-shadow: 0 0 0 calc(4 * var(--dp)) rgba(98,0,238,0.18); }

/* "Confira também!" (main_home_promotions_carousel): 200dp, 90% da largura, raio 16 */
.live__carousel.app-banner { aspect-ratio: auto; height: calc(200 * var(--dp)); border-radius: 0; overflow: hidden; }
.app-banner .live__track {
  --slide: 0;
  display: flex; height: 100%;
  transform: translateX(calc(5% - var(--slide) * 90%));
  transition: transform 700ms var(--ease-in-out);
}
.app-banner .live__track img { flex: 0 0 90%; width: 90%; height: 100%; padding: 0 calc(12 * var(--dp)); object-fit: cover; border-radius: calc(16 * var(--dp) + 0px); background-clip: content-box; }
.app-banner .live__track img { clip-path: inset(0 calc(12 * var(--dp)) round calc(16 * var(--dp))); }

/* carrosséis de empresas (company_icon): foto circular 70dp, 4 por tela, nome 12/500 */
.app-row, .app-marquee .live__marquee-track { display: flex; }
.app-row { overflow: hidden; }
.app-marquee { margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
.app-marquee .live__marquee-track { gap: 0; }
.app-co { flex: 0 0 calc(98 * var(--dp)); display: flex; flex-direction: column; align-items: center; }
.app-co__pic { position: relative; width: calc(70 * var(--dp)); height: calc(70 * var(--dp)); }
.app-co__pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.app-co__crown { position: absolute; top: 0; right: 0; padding: calc(4 * var(--dp)); border-radius: 50%; background: rgba(0,0,0,0.6); display: grid; }
.app-co__crown .mi { width: calc(14 * var(--dp)); height: calc(14 * var(--dp)); }
.app-co__promo {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  padding: 0 calc(4 * var(--dp)); border-radius: 2px; white-space: nowrap;
  background: rgba(220,237,200,0.85); backdrop-filter: blur(6px);
  font-size: calc(12 * var(--dp)); font-weight: 700; color: rgb(5,138,11);
}
.app-co__name { width: calc(70 * var(--dp)); margin-top: calc(2 * var(--dp)); font-size: calc(12 * var(--dp)); line-height: 1.3; font-weight: 500; color: #000; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* barra inferior (BottomNavigationBar fixed): #F6F7F9, ativo #6200EE, inativo #6B7280 */
.app-nav { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(64 * var(--dp)); padding-bottom: calc(6 * var(--dp)); background: var(--app-card); }
.app-nav span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(2 * var(--dp)); color: var(--app-secondary); }
.app-nav b { font-weight: 400; font-size: calc(12 * var(--dp)); }
.app-nav .is-on { color: var(--primary); }
.app-nav .is-on b { font-size: calc(14 * var(--dp)); }

/* textos genéricos */
.app-pad { padding: 0 calc(16 * var(--dp)); }
.app-sub { margin: calc(20 * var(--dp)) 0 calc(10 * var(--dp)); font-size: calc(16 * var(--dp)); line-height: 1.3; font-weight: 600; }
.app-muted { font-size: calc(13 * var(--dp)); line-height: 1.4; color: var(--app-muted); }
.app-center { text-align: center; }
.app-back { display: grid; place-items: center; width: calc(48 * var(--dp)); height: calc(48 * var(--dp)); color: var(--primary); }
.app-back--light { color: #f6f7f9; }
.app-back--dark { color: rgba(0,0,0,0.87); }

/* botão (FullWidthButton): 50dp, raio 10, texto 14/600 + ícone 18 depois do texto */
.app-btn {
  display: flex; align-items: center; justify-content: center; gap: calc(5 * var(--dp));
  height: calc(50 * var(--dp)); border-radius: calc(10 * var(--dp));
  background: var(--primary); color: #fff; font-size: calc(14 * var(--dp)); font-weight: 600;
  box-shadow: 0 calc(2 * var(--dp)) calc(4 * var(--dp)) rgba(0,0,0,0.2);
}
.app-btn .mi { width: calc(18 * var(--dp)); height: calc(18 * var(--dp)); }
.app-btn--bottom { margin: auto calc(16 * var(--dp)) calc(16 * var(--dp)); }

/* 02 · modal de agendamento sobre o perfil da empresa */
.app-cover { position: relative; height: calc(190 * var(--dp)); margin-top: calc(-34 * var(--dp)); overflow: hidden; }
.app-cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); }
.app-cover strong { position: absolute; left: calc(16 * var(--dp)); bottom: calc(40 * var(--dp)); color: #fff; font-size: calc(22 * var(--dp)); font-weight: 600; }
.app-screen .app-status { position: relative; z-index: 1; }
#screen-agende .app-status { color: #fff; }
.app-sheet {
  flex: 1; margin-top: calc(-24 * var(--dp)); position: relative;
  display: flex; flex-direction: column; padding: calc(8 * var(--dp)) calc(16 * var(--dp)) calc(16 * var(--dp));
  background: #fff; border-radius: calc(20 * var(--dp)) calc(20 * var(--dp)) 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.app-sheet__grab { align-self: center; width: calc(36 * var(--dp)); height: calc(4 * var(--dp)); border-radius: 99px; background: #d0d0d5; margin-bottom: calc(4 * var(--dp)); }
.app-sheet .app-sub { margin: 0 0 calc(6 * var(--dp)); }
.app-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(10 * var(--dp)); margin: calc(16 * var(--dp)) 0; }
.app-slots span {
  aspect-ratio: 2.2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #e0e0e0; border-radius: calc(10 * var(--dp)); background: #fff;
}
.app-slots b { font-size: calc(16 * var(--dp)); font-weight: 600; color: var(--primary); }
.app-slots small { font-size: calc(11 * var(--dp)); color: #757575; }
.app-slots .is-on { background: var(--primary); border-color: var(--primary); }
.app-slots .is-on b { color: #fff; }
.app-slots .is-on small { color: rgba(255,255,255,0.7); }
.app-slots .is-off { background: #f5f5f5; }
.app-slots .is-off b, .app-slots .is-off small { color: #9e9e9e; }
.app-sheet .app-btn { margin-top: auto; }

/* 03 · resumo do pagamento: app bar roxa + faixa de 100dp + card sobreposto */
.app-purple { background: var(--primary); color: #fff; height: calc(34 * var(--dp) + 56 * var(--dp) + 100 * var(--dp)); }
.app-purple .app-back { margin-left: calc(4 * var(--dp)); height: calc(56 * var(--dp)); }
.app-summary-card {
  margin: calc(-70 * var(--dp)) calc(16 * var(--dp)) 0; position: relative;
  padding: calc(16 * var(--dp)) calc(16 * var(--dp)) calc(12 * var(--dp));
  background: #fff; border-radius: calc(20 * var(--dp)); border: 0.8px solid rgba(158,158,158,0.25);
  box-shadow: 0 calc(4 * var(--dp)) calc(12 * var(--dp)) rgba(0,0,0,0.08);
}
.app-summary-card__name { display: flex; align-items: center; gap: calc(5 * var(--dp)); }
.app-summary-card__name strong { font-size: calc(18 * var(--dp)); font-weight: 600; }
.app-premium { display: inline-flex; align-items: center; gap: calc(4 * var(--dp)); padding: calc(4 * var(--dp)) calc(8 * var(--dp)); border-radius: calc(12 * var(--dp)); background: rgba(255,193,7,0.15); color: #ff8f00; font-size: calc(12 * var(--dp)); font-weight: 600; }
.app-premium .mi { width: calc(18 * var(--dp)); height: calc(18 * var(--dp)); }
.app-summary-card .app-muted { margin-top: calc(8 * var(--dp)); }
.app-stars { display: flex; align-items: center; gap: 1px; color: #ffc107; font-size: calc(12 * var(--dp)); }
.app-stars .mi { width: calc(20 * var(--dp)); height: calc(20 * var(--dp)); }
.app-stars span { margin-left: calc(6 * var(--dp)); color: var(--app-muted); }
.app-promo { display: inline-block; margin-top: calc(6 * var(--dp)); padding: 0 calc(6 * var(--dp)); border-radius: 2px; background: rgba(220,237,200,0.85); color: rgb(5,138,11); font-size: calc(12 * var(--dp)); font-weight: 700; }
.app-line { display: flex; align-items: center; gap: calc(8 * var(--dp)); font-size: calc(14 * var(--dp)); }
.app-line .mi { width: calc(20 * var(--dp)); height: calc(20 * var(--dp)); }
.app-pet { display: flex; align-items: center; gap: calc(12 * var(--dp)); }
.app-pet div { flex: 1; min-width: 0; }
.app-pet strong { display: block; font-size: calc(14 * var(--dp)); font-weight: 600; }
.app-pet div > span { display: flex; align-items: center; gap: calc(3 * var(--dp)); font-size: calc(13 * var(--dp)); color: var(--app-muted); }
.app-pet div > span .mi { width: calc(14 * var(--dp)); height: calc(14 * var(--dp)); color: var(--primary); }
.app-pet b { font-size: calc(14 * var(--dp)); font-weight: 600; }
.app-avatar { display: grid; place-items: center; width: calc(40 * var(--dp)); height: calc(40 * var(--dp)); border-radius: 50%; background: var(--primary); color: #fff; flex-shrink: 0; }
.app-avatar .mi { width: calc(22 * var(--dp)); height: calc(22 * var(--dp)); }
.app-sum { display: flex; justify-content: space-between; padding: calc(3 * var(--dp)) 0; font-size: calc(13 * var(--dp)); color: var(--app-muted); }
.app-sum .is-pos { color: #16a34a; }
.app-sum--total { margin-top: calc(6 * var(--dp)); font-size: calc(18 * var(--dp)); font-weight: 600; color: var(--app-text); }

/* 04 · acompanhamento: app bar branca + LiveGroomingCard + atualizações */
.app-bar { display: flex; align-items: center; height: calc(56 * var(--dp)); padding-left: calc(4 * var(--dp)); }
.app-bar strong { font-size: calc(18 * var(--dp)); font-weight: 600; margin-left: calc(12 * var(--dp)); }
.app-live {
  margin: calc(10 * var(--dp)) calc(16 * var(--dp)) 0; padding: calc(14 * var(--dp)) calc(16 * var(--dp));
  border-radius: calc(20 * var(--dp)); color: #fff;
  background: linear-gradient(90deg, #6200ee, rgb(101,70,255));
}
.app-live > strong { display: block; font-size: calc(14 * var(--dp)); font-weight: 600; }
.app-live > span { display: block; margin-top: calc(6 * var(--dp)); font-size: calc(13 * var(--dp)); color: rgba(255,255,255,0.7); }
.app-live__steps { display: flex; align-items: flex-start; margin-top: calc(12 * var(--dp)); padding: 0 calc(6 * var(--dp)); }
.app-live__step { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--dp)); width: calc(14 * var(--dp)); }
.app-live__step i { width: calc(14 * var(--dp)); height: calc(14 * var(--dp)); border-radius: 50%; background: rgba(255,255,255,0.24); }
.app-live__step.is-done i { background: #34d399; }
.app-live__step.is-now i { background: #ffd166; animation: live-pulse 900ms ease-in-out infinite alternate; }
@keyframes live-pulse { from { opacity: 0.4; transform: scale(0.95); } to { opacity: 1; transform: scale(1.08); } }
.app-live__step small { font-size: calc(10 * var(--dp)); white-space: nowrap; color: #fff; }
.app-live__line { flex: 1; height: 2px; margin-top: calc(6 * var(--dp)); background: rgba(255,255,255,0.3); }
.app-live__line.is-done { background: #69f0ae; }
.app-note { padding-bottom: calc(12 * var(--dp)); border-bottom: 1px solid var(--app-divider); }
.app-note__head { display: flex; align-items: center; gap: calc(8 * var(--dp)); }
.app-note__head strong { display: block; font-size: calc(14 * var(--dp)); font-weight: 600; }
.app-note__head div > span { font-size: calc(13 * var(--dp)); color: var(--app-muted); }
.app-note p { margin: calc(10 * var(--dp)) calc(16 * var(--dp)) calc(8 * var(--dp)); font-size: calc(14 * var(--dp)); line-height: 1.4; }
.app-note__pics { display: flex; gap: calc(8 * var(--dp)); padding: 0 calc(16 * var(--dp)); }
.app-note__pics img { flex: 1; min-width: 0; height: calc(120 * var(--dp)); object-fit: cover; border-radius: calc(12 * var(--dp)); }

@media (prefers-reduced-motion: reduce) {
  .app-live__step.is-now i { animation: none; }
  .app-banner .live__track { transition: none; }
}

/* Feed da home do app: rola entre a status bar e a barra inferior (como no app) */
.app-feed { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.app-feed__inner { will-change: transform; }
.app-feed.is-auto .app-feed__inner { animation: feed-scroll 22s var(--ease-in-out) infinite; }
@keyframes feed-scroll {
  0%, 14%   { transform: translateY(0); }
  46%, 60%  { transform: translateY(calc(var(--feed-dist, 0px) * -1)); }
  92%, 100% { transform: translateY(0); }
}
.app-feed__inner > :last-child { padding-bottom: calc(16 * var(--dp)); }

/* título com ícone e "Ver mais" (smallText 12, roxo, negrito, sublinhado) */
.app-title > span:first-child { min-width: 0; }
.app-title .app-title__ico { width: calc(14 * var(--dp)); height: calc(14 * var(--dp)); }
.app-title .app-title__ico--lg { width: calc(18 * var(--dp)); height: calc(18 * var(--dp)); }
.app-title:has(use[href="#mi-location_on"]) .app-title__ico { width: calc(20 * var(--dp)); height: calc(20 * var(--dp)); color: var(--primary); }
.app-more { margin-left: auto; font-size: calc(12 * var(--dp)); font-weight: 700; color: var(--primary); text-decoration: underline; white-space: nowrap; }

/* "Produtos em alta" (main_home_products_carousel): foto 70dp, nome até 3 linhas, preço roxo */
.app-co--prod .app-co__name { width: calc(92 * var(--dp)); -webkit-line-clamp: 3; }
.app-co__pic--prod { display: grid; place-items: center; border-radius: 50%; background: var(--bg, #f1f1f4); }
.app-co__pic--prod i { font-style: normal; font-size: calc(34 * var(--dp)); line-height: 1; }
.app-co__price { display: flex; flex-direction: column; align-items: center; margin-top: calc(4 * var(--dp)); }
.app-co__price s { font-size: calc(12 * var(--dp)); font-weight: 500; color: var(--app-secondary); }
.app-co__price b { font-size: calc(14 * var(--dp)); font-weight: 600; color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  .app-feed.is-auto .app-feed__inner { animation: none; }
}
