/* Lembreto, site institucional. Sistema visual "Genesis" com as cores e a logo do Lembreto. Fundo branco. */

@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/general-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  /* Cores do app (src/lib/theme.ts). */
  --primary: #00eb98;
  --primary-hover: #00d386;
  --secondary: #00828a; /* só no destaque da marca na home */
  --neutral: #9aa3b2;
  --bg: #ffffff;
  --hover: #f4f6fb;
  --text: #12151c;
  --text-2: #6b7280;
  --border: #e1e5ef;
  --warning: #f59e0b;
  --purple: #c9aafb;
  --yellow: #ffee96;
  --coral: #ff7173;
  --mint: #e4f7ee;

  --font-display: "General Sans", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-control: 6px;
  --r-panel: 8px;
  --r-full: 9999px;

  --container: 1280px;
  --gutter: 24px;
  --section: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3rem, 9vw, 4.5rem); /* display 72 */
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}

h3 {
  font-size: 1.5rem; /* subhead 24 */
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(0, 235, 152, 0.5);
  outline-offset: 2px;
  border-radius: var(--r-control);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.overline {
  display: block;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  margin-top: 20px;
  max-width: 30rem;
  color: var(--text-2);
  font-size: 17px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-control);
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 8px;
}

/* ------------------------------------------------------------ Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 22px;
  width: auto;
}

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

.nav a {
  padding: 6px 12px;
  border-radius: var(--r-control);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--hover);
}

/* ----------------------------------------------------------- Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  background: var(--primary);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 235, 152, 0.35);
}

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

.btn-secondary {
  background: transparent;
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--hover);
  border-color: var(--neutral);
  box-shadow: none;
}

.store-badge {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.store-badge:hover {
  transform: translateY(-1px);
}

.store-badge img {
  height: 44px;
  width: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* ================================================================
   HOME: a história rolável (iPhone fixo + passos)
   ================================================================ */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.story-copy {
  grid-column: 1;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 56px);
  padding: 32px 0;
}

.hero-copy h1 {
  margin: 0;
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.ln > span {
  display: inline-block;
  transform: translateY(112%);
  animation: line-up 0.9s var(--ease) forwards;
}

.ln:nth-child(2) > span {
  animation-delay: 0.12s;
}

.ln em {
  font-style: normal;
  color: var(--secondary);
}

.hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-2);
  font-size: 13px;
}

.hint::before {
  content: "";
  width: 1px;
  height: 28px;
  background: var(--border);
  animation: drip 1.8s var(--ease) infinite;
  transform-origin: top;
}

.step {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 78vh;
  padding: 24px 0;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}

.step.is-current {
  opacity: 1;
}

.step .num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

.step p {
  max-width: 26rem;
  color: var(--text-2);
  font-size: 17px;
}

/* Palco: o iPhone que acompanha a rolagem */

.stage-wrap {
  grid-column: 1;
  position: sticky;
  top: 56px;
  z-index: 5;
  height: 52vh;
  background: var(--bg);
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  perspective: 1200px;
}

.phone-tilt {
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
}

.phone {
  position: relative;
  flex: none;
  width: 300px;
  height: 640px;
  padding: 10px;
  border-radius: 48px;
  background: var(--text);
  transform: scale(var(--s, 1));
  transform-origin: center;
}

.phone.is-ringing {
  animation: buzz 0.9s linear infinite;
}

.island {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 6;
  width: 88px;
  height: 26px;
  border-radius: 13px;
  background: var(--text);
  transform: translateX(-50%);
}

.screens {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
}

.status {
  position: absolute;
  top: 14px;
  left: 26px;
  right: 26px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}

.status i {
  width: 22px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  position: relative;
  opacity: 0.85;
}

.status i::after {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 1.5px;
  background: currentColor;
}

.phone.is-ringing .status {
  color: #f4f6fb;
}

.screen {
  position: absolute;
  inset: 0;
  padding: 54px 16px 16px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

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

.screen.dark {
  background: var(--text);
  color: #f4f6fb;
}

.s-title {
  margin: 4px 0 14px;
  font-size: 22px;
}

.s-btn {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: var(--r-control);
  background: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

/* Tela 0: início */

.app-logo {
  height: 15px;
  width: auto;
  margin-bottom: 14px;
}

.shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sc {
  display: grid;
  align-content: space-between;
  height: 78px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--text);
}

.sc b {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sc span {
  font-size: 10px;
  opacity: 0.75;
}

.sc.purple {
  background: var(--purple);
}

.sc.yellow {
  background: var(--yellow);
}

.month {
  display: flex;
  justify-content: space-between;
  margin: 16px 2px 8px;
  font-size: 12px;
  font-weight: 500;
}

.month span:last-child {
  color: var(--text-2);
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.week div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 0;
  border-radius: 10px;
  font-size: 9px;
  color: var(--text-2);
}

.week b {
  font-size: 13px;
  color: var(--text);
}

.week .on {
  background: var(--primary);
}

.week .on,
.week .on b {
  color: var(--text);
}

.lcs {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lc {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--hover);
}

.lc .emo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-style: normal;
}

.lc b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
}

.lc small {
  display: block;
  margin-top: 2px;
  color: var(--text-2);
  font-size: 10px;
}

.lc .t {
  font-size: 12px;
  font-weight: 500;
}

.bar {
  display: block;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border);
}

.bar > i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.5s var(--ease);
}

.fab {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
}

.fab::before,
.fab::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 1px;
}

.fab::before {
  width: 18px;
  height: 2.5px;
}

.fab::after {
  width: 2.5px;
  height: 18px;
}

.screen .rise {
  opacity: 0;
  transform: translateY(14px);
}

.screen.is-active .rise {
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.09s + 0.12s);
}

.screen.is-active .lc:nth-child(2) .bar > i {
  --p: 40%;
}

/* Tela 1: tipo */

.kinds {
  display: grid;
  gap: 10px;
}

.kind {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 18px;
  background: var(--hover);
}

.kind .lottie {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
}

.kind div:not(.lottie):not(.pick) {
  position: relative;
  z-index: 1;
}

.kind b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.kind small {
  color: var(--text-2);
  font-size: 11px;
}

.pick {
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: 18px;
  background: var(--mint);
  opacity: 0;
}

.pick::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312151c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.screen.is-active .kind:nth-child(1) .pick {
  animation: flash 1.1s 0.5s both;
}

.screen.is-active .kind:nth-child(2) .pick {
  animation: flash 1.1s 1.2s both;
}

.screen.is-active .kind:nth-child(3) .pick {
  animation: stay 0.4s 1.9s both;
}

/* Tela 2: hora */

.day-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  background: var(--hover);
  font-size: 12px;
  font-weight: 500;
}

.wheel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 200px;
  margin: 12px 0 8px;
}

.wheel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 80px;
  height: 40px;
  border-radius: 12px;
  background: var(--hover);
}

.wheel .col {
  position: relative;
  width: 70px;
  height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}

.wheel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(var(--from));
}

.wheel li {
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}

.wheel .sep {
  position: relative;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.screen.is-active .wheel ul {
  transform: translateY(var(--to));
  transition: transform 1.3s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.repeat {
  margin-top: 6px;
}

.repeat > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 11px;
}

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

.days i {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--hover);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.screen.is-active .days i.sel {
  animation: pop 0.45s var(--ease) both;
  animation-delay: calc(1.4s + var(--i) * 0.09s);
}

/* Tela 3: alarme tocando */

.ring-wrap {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 0;
  height: 0;
}

.ring-wrap i {
  position: absolute;
  left: -50px;
  top: -50px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
}

.screen.is-active .ring-wrap i {
  animation: ripple 2.4s ease-out infinite;
}

.screen.is-active .ring-wrap i:nth-child(2) {
  animation-delay: 0.8s;
}

.screen.is-active .ring-wrap i:nth-child(3) {
  animation-delay: 1.6s;
}

.alarm-top {
  position: relative;
  z-index: 1;
  text-align: center;
}

.alarm-top small {
  color: var(--neutral);
  font-size: 12px;
}

.alarm-top strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.alarm-top p {
  margin-top: 10px;
  font-size: 15px;
}

.bell {
  position: absolute;
  left: 50%;
  top: 56%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--primary);
}

.bell svg {
  width: 32px;
  height: 32px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 12%;
}

.screen.is-active .bell svg {
  animation: ring 0.9s ease-in-out infinite;
}

.stop {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: var(--r-full);
  background: #f4f6fb;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.other {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 84px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--neutral);
  font-size: 11px;
}

.avs {
  display: flex;
}

.av {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 500;
  color: var(--text);
}

.avs .av:first-child {
  margin-left: 0;
}

.dark .av {
  border-color: var(--text);
}

.av.a1 {
  background: var(--purple);
}

.av.a2 {
  background: var(--yellow);
}

.av.a3 {
  background: var(--coral);
}

.av.a4 {
  background: #7fe8c3;
}

/* Tela 4: grupo */

.g-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.g-head h4 {
  font-size: 19px;
}

.g-sub {
  margin: 2px 0 14px;
  color: var(--text-2);
  font-size: 11px;
}

.progress {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-2);
}

.progress b {
  color: var(--text);
  font-weight: 500;
}

.check {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check li {
  display: grid;
  grid-template-columns: 24px 1fr 22px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 13px;
  transition: background 0.3s var(--ease);
}

.check .box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 7px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.3s var(--ease);
}

.check .box::after {
  content: "";
  width: 12px;
  height: 12px;
  opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312151c' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: opacity 0.2s;
}

.check .who {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.check .who .av {
  margin: 0;
  border: 0;
}

.check li.done {
  background: var(--mint);
}

.check li.done .box {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.check li.done .box::after {
  opacity: 1;
}

.check li.done span {
  color: var(--text-2);
  text-decoration: line-through;
}

.check li.done .who {
  opacity: 1;
  transform: none;
}

.summary {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--hover);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.summary.show {
  opacity: 1;
  transform: none;
}

.summary .av {
  border-color: var(--hover);
}

/* Pontos de navegação do palco */

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: var(--border);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.dots button.is-on {
  width: 24px;
  background: var(--text);
}

/* ---------------------------------------------------------- Marquee */

.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .track {
  animation-play-state: paused;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* --------------------------------------------------------- Detalhes */

.section {
  padding: var(--section) 0;
}

.closing-section {
  padding: 24px 0 56px;
}

.details-head {
  max-width: 34rem;
  margin-bottom: 40px;
}

.details {
  display: grid;
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.details li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--text);
}

.details svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.details h3 {
  font-size: 1.15rem;
}

.details p {
  color: var(--text-2);
}

/* --------------------------------------------------------- Fechamento */

.closing {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.closing .orbit {
  width: min(100%, 380px);
  aspect-ratio: 450 / 605;
  margin-bottom: 8px;
}

.closing .orbit .lottie {
  width: 100%;
  height: 100%;
}

.closing h2 {
  font-size: clamp(2.25rem, 7vw, 4rem);
}

.closing p {
  max-width: 26rem;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.closing .store-badge {
  margin-top: 32px;
}

/* ---------------------------------------------------------- Rodapé */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  color: var(--text-2);
  font-size: 13px;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-inner img {
  height: 20px;
  width: auto;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------ Páginas de texto */

.page-head {
  padding: 48px 0 16px;
}

.page-head h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem); /* headline 60 */
}

.page-head .lead {
  margin-top: 16px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-2);
  font-size: 13px;
}

.crumbs a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.chip {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--hover);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.prose {
  padding-bottom: 32px;
}

.prose > * {
  max-width: 42rem;
}

.prose h2 {
  margin: 40px 0 8px;
  font-size: 1.5rem;
}

.prose p,
.prose li {
  color: var(--text-2);
  line-height: 1.7;
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.prose ul,
.prose ol {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 4px;
}

.prose a {
  color: var(--text);
  font-weight: 500;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a.btn,
.prose a.list-row {
  text-decoration: none;
}

.note {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--primary);
  color: var(--text);
}

.note.warn {
  border-left-color: var(--warning);
}

.contact {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 24px;
}

.contact p {
  color: var(--text-2);
}

.contact .btn {
  margin-top: 8px;
}

.list {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.list-row,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

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

.list-row:hover,
.faq summary:hover {
  background: var(--hover);
}

.list-row .arrow {
  color: var(--text-2);
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 8px 16px;
  color: var(--text-2);
  animation: fade-up 0.3s var(--ease) both;
}

/* ------------------------------------------------------- Animações */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

@keyframes line-up {
  to {
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flash {
  0% {
    opacity: 0;
  }
  15%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes stay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop {
  0% {
    background: var(--hover);
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    background: var(--primary);
    transform: scale(1);
  }
}

@keyframes ripple {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(16deg);
  }
  40% {
    transform: rotate(-14deg);
  }
  60% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-8deg);
  }
}

@keyframes buzz {
  0%,
  100% {
    translate: 0 0;
  }
  10%,
  50%,
  90% {
    translate: -1.5px 0;
  }
  30%,
  70% {
    translate: 1.5px 0;
  }
}

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

@keyframes drip {
  0% {
    transform: scaleY(0);
  }
  60% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .ln > span,
  .screen .rise {
    opacity: 1;
    transform: none;
  }

  .screen.is-active .kind:nth-child(3) .pick {
    opacity: 1;
  }

  .screen.is-active .days i.sel {
    background: var(--primary);
  }

  .marquee {
    overflow-x: auto;
  }
}

/* ------------------------------------------------------- Responsivo */

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

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 64px;
  }

  .stage-wrap {
    grid-column: 2;
    grid-row: 1 / span 5;
    top: 0;
    height: auto;
    background: transparent;
  }

  .stage {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    padding-bottom: 32px;
  }

  .step {
    min-height: 80vh;
  }

  .dots {
    bottom: 24px;
  }
}

@media (min-width: 1100px) {
  :root {
    --section: 96px;
  }

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

@media (max-width: 899px) {
  .hero-copy {
    min-height: auto;
    padding: 40px 0 32px;
  }

  .step {
    min-height: 64vh;
    opacity: 1;
  }

  .stage-wrap {
    border-bottom: 1px solid var(--border);
  }

  .dots {
    bottom: 6px;
  }
}

@media (max-width: 480px) {
  .actions .btn {
    width: 100%;
  }
}
