/* ============================================================
   vamomarcar.app: design tokens ported from Theme.swift
   Light-first + dark via [data-theme] toggle.
   Display: Bricolage Grotesque (self-hosted variable TTF)
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  /* inks */
  --ink: #0E211C;
  --ink2: #2B423B;
  --ink3: #47584F;
  --ink4: #667C73;

  /* brand (Menta sotaque) */
  --brand: #14B69A;
  --brand-deep: #0C8B76;
  --mint1: #84DCC6;
  --mint2: #95EECE;
  --mint3: #A5FFD6;
  --on-mint: #06302A;
  --brand-gradient: linear-gradient(135deg, var(--mint1), var(--brand));

  /* fixed hues */
  --coral: #FF686B;
  --coral-deep: #F0484C;
  --coral1: #FFA69E;
  --coral2: #FF686B;
  --coral-gradient: linear-gradient(135deg, var(--coral1), var(--coral2));
  --on-coral: #3A0E0F;
  --sand: #D2D3BA;

  /* semantic */
  --success: #15A86E;
  --success-deep: #0C7A50;
  --success-fill: rgba(116, 226, 173, 0.5);
  --success-fill-hi: rgba(65, 207, 149, 0.9);

  /* surfaces */
  --canvas: #EAF7F2;
  --surface: #ffffff;
  --hairline: rgba(14, 33, 28, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --glass-border: rgba(255, 255, 255, 0.65);
  --surface-wash: rgba(255, 255, 255, 0.32);

  /* radii */
  --r-lg: 30px;
  --r-ml: 24px;
  --r-md: 22px;
  --r-sm: 16px;
  --r-xs: 12px;
  --r-xxs: 10px;

  /* motion */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* type */
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

/* ===== dark tokens (Theme.swift dark column) ===== */
html[data-theme="dark"] {
  --ink: #EAFBF5;
  --ink2: #BEDED5;
  --ink3: #A6C5BC;
  --ink4: #849B92;
  --brand: #5EE6C6;
  --brand-deep: #38D2AE;
  --coral: #FF8B8E;
  --coral-deep: #FF686B;
  --success: #46D89C;
  --success-deep: #32C588;
  --success-fill: rgba(70, 216, 156, 0.22);
  --success-fill-hi: rgba(50, 197, 136, 0.45);
  --canvas: #07120F;
  --surface: #10201B;
  --hairline: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(28, 46, 40, 0.26);
  --glass-strong: rgba(22, 40, 34, 0.4);
  --glass-border: rgba(255, 255, 255, 0.16);
  --surface-wash: rgba(16, 32, 27, 0.46);
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color 0.4s var(--ease-out);
}

img { display: block; max-width: 100%; height: auto; }

/* ============ mesh background (AppBackground.swift port) ============ */
.app-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--canvas);
  overflow: hidden;
  transition: background 0.4s var(--ease-out);
}
.app-bg::before,
.app-bg::after,
.app-bg .blob-br,
.app-bg .blob-bl {
  content: "";
  position: absolute;
  width: 110vmax;
  height: 110vmax;
  border-radius: 50%;
  pointer-events: none;
}
.app-bg::before { /* mint3 top-left */
  top: -55vmax; left: -55vmax;
  background: radial-gradient(circle, rgba(165, 255, 214, 0.75) 0%, rgba(165, 255, 214, 0) 62%);
}
.app-bg::after { /* mint2 top-right */
  top: -55vmax; right: -55vmax;
  background: radial-gradient(circle, rgba(149, 238, 206, 0.65) 0%, rgba(149, 238, 206, 0) 62%);
}
.app-bg .blob-br { /* coral bottom-right */
  bottom: -55vmax; right: -55vmax;
  background: radial-gradient(circle, rgba(255, 166, 158, 0.55) 0%, rgba(255, 166, 158, 0) 62%);
}
.app-bg .blob-bl { /* sand bottom-left */
  bottom: -55vmax; left: -55vmax;
  background: radial-gradient(circle, rgba(210, 211, 186, 0.55) 0%, rgba(210, 211, 186, 0) 62%);
}
.drift {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  will-change: transform;
}
.drift-a {
  top: 8%; left: 6%;
  background: radial-gradient(circle, rgba(149, 238, 206, 0.9), rgba(149, 238, 206, 0));
  animation: drift-a 18s ease-in-out infinite alternate;
}
.drift-b {
  bottom: 4%; right: 2%;
  background: radial-gradient(circle, rgba(255, 166, 158, 0.8), rgba(255, 166, 158, 0));
  animation: drift-b 18s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-50px, -60px) scale(0.95); } }

/* ============ type helpers ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.display-xl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display-lg {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink2);
  text-wrap: pretty;
}

/* ============ glass primitives (Glass.swift port) ============ */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border: 0.6px solid var(--glass-border);
  box-shadow: 0 8px 13px rgba(14, 33, 28, 0.07);
}
.surface-card {
  background: var(--surface-wash);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 0.6px solid var(--glass-border);
  box-shadow: 0 8px 13px rgba(14, 33, 28, 0.06);
}

/* ============ nav ============ */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(960px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  transition: box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.nav.scrolled { background: var(--glass-strong); box-shadow: 0 12px 30px rgba(14, 33, 28, 0.12); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-brand span { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.5); color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 14px; font-weight: 700;
  color: var(--on-mint);
  background: var(--brand-gradient);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(20, 182, 154, 0.35);
  white-space: nowrap;
}
.nav-cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-mint); opacity: 0.85; animation: pulse-dot 2.2s ease-in-out infinite; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0.6px solid var(--glass-border);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.35s var(--spring), background 0.3s;
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle:active { transform: scale(0.9); }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.45); opacity: 0.45; } }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ============ layout ============ */
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
section { position: relative; }

/* ============ hero ============ */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-copy h1 .q { color: var(--brand); }
.hero-copy .lede { max-width: 30em; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 17px; font-weight: 700;
  color: var(--on-mint);
  background: var(--brand-gradient);
  padding: 17px 28px;
  border-radius: var(--r-sm);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(20, 182, 154, 0.38);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease-out);
}
.btn-primary::after { /* top gloss, BigButton parity */
  content: "";
  position: absolute; inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover { transform: scale(1.03); }
.btn-primary:active { transform: scale(0.96); }
.btn-ghost {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600;
  color: var(--brand-deep);
  padding: 16px 22px;
  border-radius: var(--r-sm);
  text-decoration: none;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 0.6px solid var(--glass-border);
  transition: transform 0.35s var(--spring), background 0.3s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.5); transform: scale(1.03); }
.hero-note { font-size: 13.5px; color: var(--ink3); display: flex; align-items: center; gap: 8px; }
.hero-note .lock {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(165, 255, 214, 0.4);
  color: var(--brand-deep);
  font-size: 13px;
}

/* phone */
.hero-phone-zone { position: relative; display: grid; place-items: center; }
.phone {
  width: clamp(250px, 26vw, 330px);
  border-radius: clamp(40px, 4.4vw, 54px);
  background: #0b0d0d;
  padding: clamp(8px, 0.9vw, 11px);
  box-shadow:
    0 60px 120px rgba(14, 33, 28, 0.32),
    0 24px 48px rgba(14, 33, 28, 0.18),
    inset 0 0 0 2px #2a2d2d;
  position: relative;
  will-change: transform;
}
.phone-screen {
  border-radius: clamp(32px, 3.6vw, 44px);
  overflow: hidden;
  position: relative;
  background: var(--canvas);
}
.phone-screen img { width: 100%; }
.phone-island {
  position: absolute;
  top: clamp(16px, 1.8vw, 22px); left: 50%;
  transform: translateX(-50%);
  width: 29%; height: clamp(20px, 2.2vw, 26px);
  background: #0b0d0d;
  border-radius: 999px;
  z-index: 2;
}
.hero-float {
  position: absolute;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 0.6px solid var(--glass-border);
  box-shadow: 0 22px 30px rgba(14, 33, 28, 0.14);
  will-change: transform;
}
.hero-float .emoji { font-size: 22px; }
.hero-float strong { font-family: var(--display); font-size: 14px; font-weight: 700; display: block; }
.hero-float small { font-size: 12px; color: var(--ink3); }
.float-1 { top: 14%; left: -8%; }
.float-2 { bottom: 18%; right: -10%; }
.float-3 { bottom: 4%; left: -2%; }
@media (max-width: 940px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone-zone { margin-top: 12px; }
  .float-1 { left: 2%; }
  .float-2 { right: 0; }
  .float-3 { left: 6%; }
}

/* ============ section scaffolding ============ */
.section { padding: clamp(80px, 11vh, 150px) 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 38em; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-pop { opacity: 0; transform: scale(0.88); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--spring); transition-delay: var(--d, 0s); }
.reveal-pop.in { opacity: 1; transform: none; }

/* ============ como funciona ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  border-radius: var(--r-ml);
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 40px rgba(14, 33, 28, 0.12); }
.step .emoji-tile {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 26px;
  border-radius: var(--r-xs);
  background: rgba(165, 255, 214, 0.45);
}
.step .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--brand-deep); font-weight: 600; }
.step h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============ feature rows ============ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}
.feature + .feature { margin-top: clamp(90px, 13vh, 170px); }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-art { order: 1; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.feature-copy .lede { font-size: clamp(16px, 1.6vw, 19px); }
.feature-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.feature-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.feature-points .check {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--success-fill);
  color: var(--success-deep);
  font-size: 12px; font-weight: 800;
}
.feature-art { position: relative; }
@media (max-width: 940px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-art { order: 2; }
}

/* ---- demo: sugestão ---- */
.demo-sugestao {
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 460px;
  margin-inline: auto;
  position: relative;
  will-change: transform;
}
.sug-banner {
  border-radius: var(--r-ml);
  background: var(--brand-gradient);
  color: var(--on-mint);
  padding: 22px 24px 24px;
  position: relative;
  overflow: hidden;
}
.sug-banner::after { /* specular sheen sweep */
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-12deg);
}
.demo-sugestao.in .sug-banner::after { animation: sheen 1.6s var(--ease-out) 0.5s; }
@keyframes sheen { to { left: 130%; } }
.sug-banner .eyebrow { color: rgba(6, 48, 42, 0.75); }
.sug-banner h3 { font-family: var(--display); font-size: clamp(26px, 2.8vw, 33px); font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.sug-banner p { font-size: 15px; margin-top: 4px; opacity: 0.85; }
.sug-why {
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex; gap: 10px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink2);
  background: rgba(255, 255, 255, 0.55);
  border: 0.6px solid var(--glass-border);
}
.sug-why .spark { color: var(--brand-deep); font-size: 15px; }
.sug-score { display: flex; flex-direction: column; gap: 10px; padding: 4px 6px; }
.sug-score-head { display: flex; justify-content: space-between; align-items: baseline; }
.sug-score-head .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); font-weight: 600; }
.sug-score-head .value { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--brand-deep); }
.bar-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.bar-row .bar-label { font-size: 12.5px; color: var(--ink3); }
.bar { height: 8px; border-radius: 999px; background: rgba(14, 33, 28, 0.07); overflow: hidden; }
.bar i {
  display: block; height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(20, 182, 154, 0.5);
  transition: width 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.demo-sugestao.in .bar i { width: var(--w); }
.sug-cta {
  border: none;
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  color: var(--on-coral);
  background: var(--coral-gradient);
  padding: 16px;
  border-radius: var(--r-sm);
  box-shadow: 0 14px 24px rgba(255, 104, 107, 0.35);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.sug-cta::after {
  content: "";
  position: absolute; inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}
.confetti-zone { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 3; }
.confetti-zone span {
  position: absolute;
  top: 8%;
  width: 8px; height: 12px;
  border-radius: 2px;
  opacity: 0;
}
.demo-sugestao.in .confetti-zone span { animation: confetti 1.6s var(--ease-out) forwards; animation-delay: var(--cd, 0.4s); }
@keyframes confetti {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(330px) translateX(var(--cx, 0px)) rotate(var(--cr, 320deg)); }
}

/* ---- demo: agenda ---- */
.demo-agenda {
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  max-width: 460px;
  margin-inline: auto;
  will-change: transform;
}
.agenda-privacy {
  display: flex; gap: 14px; align-items: center;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  background: rgba(165, 255, 214, 0.32);
  border: 0.6px solid var(--glass-border);
}
.agenda-privacy .lock-tile {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 20px;
  border-radius: var(--r-xs);
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 14px rgba(20, 182, 154, 0.35);
}
.agenda-privacy strong { font-family: var(--display); font-size: 15.5px; font-weight: 700; display: block; }
.agenda-privacy small { font-size: 12.5px; color: var(--ink3); line-height: 1.4; display: block; margin-top: 2px; }
.agenda-grid { display: grid; grid-template-columns: 44px repeat(4, 1fr); gap: 7px; }
.agenda-grid .hcell {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  color: var(--ink3);
  text-align: center;
  align-self: end;
  padding-bottom: 2px;
}
.agenda-grid .dcell {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  color: var(--ink3);
  display: flex; align-items: center;
}
.cell {
  aspect-ratio: 2.1 / 1;
  border-radius: var(--r-xxs);
  border: 1.5px solid transparent;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--spring), background 0.25s, border-color 0.25s, color 0.25s;
  opacity: 0;
  transform: scale(0.7);
}
.demo-agenda.in .cell { animation: cell-in 0.5s var(--spring) forwards; animation-delay: var(--d, 0s); }
@keyframes cell-in { to { opacity: 1; transform: scale(1); } }
.cell:active { transform: scale(0.9); }
.cell[data-state="free"] { background: var(--success-fill); border-color: var(--success); color: transparent; }
.cell[data-state="preferred"] { background: var(--success-fill-hi); border-color: var(--success-deep); color: var(--success-deep); }
.cell[data-state="maybe"] { background: rgba(210, 211, 186, 0.6); border-color: #A6A88A; color: #84865F; }
.cell[data-state="busy"] { background: rgba(255, 166, 158, 0.4); border-color: var(--coral); color: var(--coral-deep); }
.agenda-hint { font-size: 12.5px; color: var(--ink4); text-align: center; }

/* ---- demo: convite (App Clip) ---- */
.demo-convite {
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  max-width: 430px;
  margin-inline: auto;
  will-change: transform;
}
.convite-head { display: flex; align-items: center; gap: 12px; }
.convite-head .qr-tile {
  flex: none;
  width: 46px; height: 46px;
  border-radius: var(--r-xs);
  background: var(--coral-gradient);
  display: grid; place-items: center;
  box-shadow: 0 8px 14px rgba(255, 104, 107, 0.35);
}
.qr-dots { display: grid; grid-template-columns: repeat(4, 5px); gap: 2.5px; }
.qr-dots i { width: 5px; height: 5px; background: #fff; border-radius: 1.5px; }
.qr-dots i:nth-child(3), .qr-dots i:nth-child(8), .qr-dots i:nth-child(10), .qr-dots i:nth-child(13) { opacity: 0.35; }
.convite-head strong { font-family: var(--display); font-size: 16px; font-weight: 700; display: block; }
.convite-head small { font-size: 12.5px; color: var(--ink3); }
.convite-bubble {
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.6);
  border: 0.6px solid var(--glass-border);
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.convite-bubble .from { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 13px; font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 10px rgba(14, 33, 28, 0.18);
  border: 2.5px solid #fff;
}
.avatar.mint { background: linear-gradient(135deg, #36C2A4, #0C8B76); }
.avatar.coral { background: linear-gradient(135deg, #FFA69E, #F0484C); }
.avatar.mint2 { background: linear-gradient(135deg, #84DCC6, #14B69A); }
.convite-bubble .from p { font-size: 14px; line-height: 1.45; color: var(--ink2); }
.convite-bubble .from p strong { color: var(--ink); }
.rsvp-row { display: flex; gap: 8px; }
.rsvp {
  flex: 1;
  border: 1.5px solid var(--hairline);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-xs);
  padding: 12px 6px;
  font-family: var(--display);
  font-size: 14px; font-weight: 700;
  color: var(--ink2);
  cursor: pointer;
  transition: transform 0.35s var(--spring), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.rsvp:hover { transform: scale(1.04); }
.rsvp:active { transform: scale(0.94); }
.rsvp.on {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--on-mint);
  box-shadow: 0 10px 18px rgba(20, 182, 154, 0.4);
}
.convite-foot { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--ink3); }
.state-chip {
  font-size: 10.5px; font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 104, 107, 0.14);
  color: var(--coral-deep);
}

/* feature art: screenshot card */
.shot-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(14, 33, 28, 0.2);
  border: 0.6px solid var(--glass-border);
  max-width: 350px;
  margin-inline: auto;
  will-change: transform;
}

/* ============ manifesto ============ */
.manifesto {
  background: #0E211C;
  color: #EAFBF5;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 110px);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: -40%; right: -25%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 182, 154, 0.25), rgba(20, 182, 154, 0));
}
.manifesto::after {
  content: "";
  position: absolute;
  bottom: -45%; left: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 104, 107, 0.16), rgba(255, 104, 107, 0));
}
.manifesto .eyebrow { color: #5EE6C6; }
.manifesto h2 { color: #EAFBF5; max-width: 14em; }
.manifesto h2 em { font-style: normal; color: #5EE6C6; }
.manifesto .lede { color: #BEDED5; max-width: 34em; }
.manifesto-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.manifesto-grid {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.manifesto-card {
  border-radius: var(--r-ml);
  background: rgba(234, 251, 245, 0.06);
  border: 0.6px solid rgba(234, 251, 245, 0.14);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.manifesto-card .emoji { font-size: 24px; }
.manifesto-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.manifesto-card p { font-size: 14px; line-height: 1.55; color: #A6C5BC; }
@media (max-width: 800px) { .manifesto-grid { grid-template-columns: 1fr; } }

/* ============ closing CTA ============ */
.closing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-bottom: 20px; }
.closing .icon-lockup {
  width: 92px; height: 92px;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(14, 33, 28, 0.22);
}
.closing h2 .q { color: var(--brand); }
.em-breve {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: rgba(165, 255, 214, 0.4);
  border: 0.6px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: 999px;
}
.em-breve .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse-dot 2.2s ease-in-out infinite; }

/* ============ footer ============ */
footer {
  padding: 40px 0 50px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-brand span { font-family: var(--display); font-size: 14.5px; font-weight: 700; }
footer p { font-size: 13px; color: var(--ink3); }
footer .heart { color: var(--coral); }

/* ============ dark-mode surface overrides ============ */
html[data-theme="dark"] .app-bg::before { background: radial-gradient(circle, rgba(165, 255, 214, 0.14) 0%, rgba(165, 255, 214, 0) 62%); }
html[data-theme="dark"] .app-bg::after { background: radial-gradient(circle, rgba(149, 238, 206, 0.12) 0%, rgba(149, 238, 206, 0) 62%); }
html[data-theme="dark"] .app-bg .blob-br { background: radial-gradient(circle, rgba(255, 166, 158, 0.12) 0%, rgba(255, 166, 158, 0) 62%); }
html[data-theme="dark"] .app-bg .blob-bl { background: radial-gradient(circle, rgba(210, 211, 186, 0.1) 0%, rgba(210, 211, 186, 0) 62%); }
html[data-theme="dark"] .drift { opacity: 0.35; }
html[data-theme="dark"] .nav-links a:hover { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .hero-note .lock { background: rgba(94, 230, 198, 0.12); color: var(--brand); }
html[data-theme="dark"] .step .emoji-tile { background: rgba(94, 230, 198, 0.12); }
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .sug-why { background: rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .bar { background: rgba(255, 255, 255, 0.08); }
html[data-theme="dark"] .agenda-privacy { background: rgba(94, 230, 198, 0.1); }
html[data-theme="dark"] .cell[data-state="maybe"] { background: rgba(210, 211, 186, 0.18); border-color: #84865F; color: #A6A88A; }
html[data-theme="dark"] .cell[data-state="busy"] { background: rgba(255, 139, 142, 0.16); }
html[data-theme="dark"] .convite-bubble { background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .rsvp { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .state-chip { background: rgba(255, 139, 142, 0.16); color: var(--coral); }
html[data-theme="dark"] .avatar { border-color: var(--surface); }
html[data-theme="dark"] .em-breve { background: rgba(94, 230, 198, 0.12); }
html[data-theme="dark"] .manifesto { border: 0.6px solid rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .phone { box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6), 0 24px 48px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #2a2d2d; }

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift-a, .drift-b { animation: none; }
  .reveal, .reveal-pop { opacity: 1; transform: none; transition: none; }
  .demo-agenda .cell { opacity: 1; transform: scale(1); animation: none; }
  .demo-sugestao .bar i { width: var(--w); transition: none; }
  .demo-sugestao.in .sug-banner::after { animation: none; }
  .confetti-zone { display: none; }
  .nav-cta .dot, .em-breve .dot { animation: none; }
  .phone, .hero-float, .demo-sugestao, .demo-agenda, .demo-convite, .shot-card { transform: none !important; }
}
