/* =========================================================
   RefSys · site de apresentação
   Tema claro, rosa pastel. Títulos: Barlow Condensed itálico.
   Texto: Libre Franklin. Neons suaves só nos botões de ação.
   ========================================================= */

:root {
  --bg: #fef0fb;            /* o rosa do fundo da logo */
  --bg-soft: #fff6fc;       /* secções alternadas, ainda mais claras */
  --surface: #ffffff;
  --ink: #3a2c4d;
  --muted: #7a6a8b;
  --line: #f0d8ea;
  --line-2: #e9cfe3;

  --blue: #8fb0fb;          /* "Ref" da logo */
  --blue-d: #5d76d8;
  --lilac: #b592f7;         /* "Sys" da logo */
  --lilac-d: #8a5bd6;
  --rose: #f3a9ca;
  --rose-d: #c4568b;
  --plum: #5f4785;
  --green: #2f9e62;

  --grad: linear-gradient(115deg, #6a7fe4 0%, #8d64dc 100%);
  --grad-soft: linear-gradient(115deg, #dfe7ff, #ece0ff 55%, #fde1ef);

  --font: "Libre Franklin", "Franklin Gothic Medium", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;

  --radius: 22px;
  --shadow: 0 18px 44px -22px rgba(95, 60, 130, 0.35);
  --shadow-lift: 0 26px 60px -24px rgba(95, 60, 130, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

img { max-width: 100%; display: block; }
a { color: var(--plum); }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 0.45em;
  color: var(--ink);
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 3.4vw + 1.2rem, 3.5rem); }
h3 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.1rem); }

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

:focus-visible { outline: 3px solid var(--lilac-d); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: 0.92rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lilac-d);
  margin-bottom: 0.9rem;
}
.lead { font-size: 1.13rem; color: var(--muted); max-width: 46rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.35s ease, background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn-main {
  color: #fff;
  background: var(--grad);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 12px 28px -10px rgba(120, 84, 214, 0.65),
    0 0 26px -4px rgba(160, 135, 250, 0.55);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 16px 34px -10px rgba(120, 84, 214, 0.75),
    0 0 36px -2px rgba(170, 145, 255, 0.7);
}
.btn-soft {
  color: var(--plum);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -16px rgba(110, 70, 150, 0.5);
}
.btn-soft:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--lilac), 0 0 22px -6px rgba(181, 146, 247, 0.6); }
.btn-ghost {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--lilac), 0 0 18px -6px rgba(181, 146, 247, 0.7); }
.btn-sm { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.08rem; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.dot-lilac { background: var(--lilac); box-shadow: 0 0 10px var(--lilac); }
.dot-rose { background: var(--rose); box-shadow: 0 0 10px var(--rose); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  transition: background-color 0.35s, box-shadow 0.35s, opacity 0.6s, transform 0.6s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(254, 240, 251, 0.82);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand .brand-word { width: auto; height: 24px; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.nav a:hover { opacity: 1; color: var(--lilac-d); }
@media (min-width: 920px) { .nav { display: flex; } }

/* ---------- topo ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 96px 0 72px;
  text-align: center;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.hero-glow::before, .hero-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
}
.hero-glow::before {
  width: 46vmax; height: 46vmax; left: -12vmax; top: -8vmax;
  background: radial-gradient(circle, #d9e3ff 0%, transparent 70%);
  animation: float-a 18s ease-in-out infinite alternate;
}
.hero-glow::after {
  width: 50vmax; height: 50vmax; right: -16vmax; bottom: -18vmax;
  background: radial-gradient(circle, #eadcff 0%, transparent 70%);
  animation: float-b 22s ease-in-out infinite alternate;
}
@keyframes float-a { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
@keyframes float-b { to { transform: translate(-5vmax, -6vmax) scale(1.1); } }

.hero-inner { width: min(760px, calc(100% - 40px)); }
.hero-title { margin: 0 0 1.4rem; display: flex; flex-direction: column; align-items: center; }
.hero-word { width: min(66vw, 380px); height: auto; }
.hero-slogan {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 2.6vw + 0.8rem, 2.25rem);
  color: var(--plum);
  letter-spacing: 0.01em;
}
.hero-lead { color: var(--muted); max-width: 34rem; margin: 0 auto 1.9rem; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-pills {
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  font-size: 0.92rem; color: var(--muted);
}
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; }
.scroll-hint {
  position: absolute; bottom: 18px; left: 50%; translate: -50% 0;
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--lilac-d); border-radius: 50%;
}
.scroll-hint svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* topo: texto + mosaico de fotos que desliza devagar (ideia 5) */
.hero { gap: 30px; align-content: center; justify-items: center; }
.hero-mosaic {
  --g: 10px;
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; gap: var(--g);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* no telemóvel: duas filas a andar para lados opostos */
.hm-track {
  display: flex; width: max-content;
  height: 128px;
}
.hm-track:nth-child(3) { display: none; }
.hm-tile {
  position: relative; flex: none;
  height: 100%; margin: 0 var(--g) 0 0;
  border-radius: 16px; overflow: hidden;
  background: #f3e6f1;
  border: 2px solid #fff;
  box-shadow: 0 14px 30px -18px rgba(95, 55, 135, 0.45), 0 0 0 1px rgba(170, 120, 190, 0.14);
}
.hm-tile img { display: block; height: 100%; width: auto; }

@media (prefers-reduced-motion: no-preference) {
  .hero-mosaic.is-moving .hm-track { animation: hm-x var(--t) linear infinite; }
  .hero-mosaic.is-moving .hm-down { animation-direction: reverse; }
  .hero-mosaic.is-paused .hm-track { animation-play-state: paused; }
  @media (hover: hover) { .hero-mosaic:hover .hm-track { animation-play-state: paused; } }
}
@keyframes hm-x { to { transform: translateX(-50%); } }
@keyframes hm-y { to { transform: translateY(-50%); } }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    padding-inline: max(20px, calc((100% - 1160px) / 2));
    padding-block: 72px 40px;
    text-align: left;
  }
  .hero-inner { width: auto; justify-self: start; }
  .hero-title { align-items: flex-start; }
  .hero-word { width: min(32vw, 380px); }
  .hero-lead { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  /* no PC: três colunas a subir e a descer */
  .hero-mosaic {
    --g: 14px;
    flex-direction: row; align-items: flex-start;
    width: min(44vw, 520px);
    height: min(82svh, 680px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  }
  .hm-track,
  .hm-track:nth-child(3) {
    display: flex; flex-direction: column;
    flex: 1 1 0; min-width: 0; width: auto; height: auto;
  }
  .hm-track:nth-child(2) { margin-top: -70px; }
  .hm-tile { height: auto; width: 100%; margin: 0 0 var(--g); border-radius: 18px; }
  .hm-tile img { width: 100%; height: auto; }
  .hero-mosaic.is-moving .hm-track { animation-name: hm-y; }
}
html.js.intro .hero-mosaic { transition: opacity 1s ease 0.2s, transform 1.2s var(--ease-out) 0.2s; }
html.js.intro:not(.intro-reveal):not(.intro-done) .hero-mosaic { opacity: 0; transform: translateY(24px) scale(0.97); }

/* ---------- entrada animada ---------- */
.intro-layer { display: none; }
html.intro .intro-layer {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  cursor: pointer;
  /* rede de segurança: se o JavaScript não correr, a camada some sozinha */
  animation: intro-failsafe 0.6s ease 6s forwards;
}
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

.intro-logo {
  /* caixa da logo completa (cartas + texto) nas proporções do ficheiro original */
  position: relative;
  width: min(64vw, 48vh, 400px);
  width: min(64vw, 48svh, 400px);
  aspect-ratio: 1214 / 1529;
  will-change: transform, opacity, filter;
  animation:
    intro-in 1.25s var(--ease-out) both,
    intro-drift 1.6s ease-out 1.25s forwards;
}
.intro-sym { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.intro-word { position: absolute; left: 26.36%; top: 82.54%; width: 54.94%; height: auto; transform-origin: 0 0; }
@keyframes intro-in {
  from { opacity: 0; transform: scale(0.72); filter: blur(14px); }
  60% { opacity: 1; }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes intro-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
.intro-skip {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 0; right: 0;
  text-align: center; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em;
  opacity: 0; animation: fade-in 0.8s ease 1.4s forwards;
}
@keyframes fade-in { to { opacity: 0.7; } }

/* durante a entrada, o topo espera; depois aparece por camadas */
html.js.intro:not(.intro-done) .hero-word { opacity: 0; }
html.js.intro .hero-slogan,
html.js.intro .hero-lead,
html.js.intro .hero-cta,
html.js.intro .hero-pills,
html.js.intro .scroll-hint,
html.js.intro .site-header {
  transition: opacity 0.9s ease, transform 1s var(--ease-out), background-color 0.35s, box-shadow 0.35s;
}
html.js.intro:not(.intro-reveal):not(.intro-done) :is(.hero-slogan, .hero-lead, .hero-cta, .hero-pills, .scroll-hint) {
  opacity: 0; transform: translateY(18px);
}
html.js.intro:not(.intro-reveal):not(.intro-done) .site-header { opacity: 0; transform: translateY(-12px); }
html.js.intro .hero-lead { transition-delay: 0.15s; }
html.js.intro .hero-cta { transition-delay: 0.3s; }
html.js.intro .hero-pills { transition-delay: 0.45s; }
html.js.intro .site-header { transition-delay: 0.35s, 0.35s, 0s, 0s; }
html.js.intro .scroll-hint { transition-delay: 0.7s; }

/* ---------- aparecer ao descer ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    transition: opacity 0.9s ease, transform 1s var(--ease-out);
  }
  html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
}

/* ---------- secções ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-tint { background: var(--bg-soft); }
.section-tint::before, .section-tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 60px; pointer-events: none;
}
.section-tint::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.section-tint::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }

.split { display: grid; gap: 8px 64px; }
@media (min-width: 880px) { .split { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.prose p { color: #4d3f60; }

/* combinação de módulos */
.combo {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px;
}
.combo-card {
  padding: 14px 20px; border-radius: 16px;
  font-weight: 600; font-size: 0.98rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.combo-card span { display: inline-flex; align-items: center; gap: 8px; }
.combo-card span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.c-blue span::before { background: var(--blue); }
.c-lilac span::before { background: var(--lilac); }
.c-rose span::before { background: var(--rose); }
.c-you { background: var(--grad); color: #fff; border: 0; box-shadow: 0 12px 30px -12px rgba(120, 84, 214, 0.7), 0 0 24px -6px rgba(170, 140, 255, 0.6); }
.c-you span::before { background: #fff; border-radius: 50%; }
.combo-plus, .combo-eq { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--lilac-d); line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.js .combo > * { transition: opacity 0.6s ease, transform 0.7s var(--ease-out); }
  html.js .combo:not(.is-in) > * { opacity: 0; transform: translateY(14px) scale(0.96); }
  .combo > *:nth-child(2) { transition-delay: 0.08s; }
  .combo > *:nth-child(3) { transition-delay: 0.16s; }
  .combo > *:nth-child(4) { transition-delay: 0.24s; }
  .combo > *:nth-child(5) { transition-delay: 0.32s; }
  .combo > *:nth-child(6) { transition-delay: 0.5s; }
  .combo > *:nth-child(7) { transition-delay: 0.62s; }
}

/* ---------- módulos ---------- */
.module {
  display: grid; gap: 40px; align-items: center;
  margin-top: clamp(56px, 8vw, 110px);
}
@media (min-width: 900px) {
  .module { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .module-flip .module-text { order: 2; }
}
.module-tag {
  display: inline-block; margin-bottom: 0.8rem;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.tag-blue { background: #e4ebff; color: var(--blue-d); }
.tag-lilac { background: #efe6ff; color: var(--lilac-d); }
.tag-rose { background: #fde3ef; color: var(--rose-d); }
.module h3 { font-size: clamp(2.1rem, 2.4vw + 1.2rem, 2.9rem); }
.module-lead { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.25; color: var(--plum); }
.module-text p { color: #4d3f60; }
.module-text .small { color: var(--muted); }
.fits-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 1.6em 0 0.6em; }
.fits { list-style: none; padding: 0; margin: 0 0 0.9em; display: flex; flex-wrap: wrap; gap: 8px; }
.fits li { padding: 5px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; }
.module-demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.module-demo figcaption { max-width: 320px; text-align: center; font-size: 0.9rem; color: var(--muted); }

.closing {
  margin: clamp(64px, 8vw, 110px) auto 0;
  max-width: 820px; text-align: center;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.closing em {
  font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================
   Moldura de telemóvel e demonstrações
   (medidas em cqw = % da largura do telemóvel, para escalar)
   ========================================================= */
.phone {
  container-type: inline-size;
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 300 / 615;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #ffffff 0%, #f4e7f3 100%);
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 1px rgba(170, 120, 190, 0.22),
    0 34px 70px -28px rgba(95, 55, 135, 0.5),
    0 0 60px -20px rgba(181, 146, 247, 0.45);
}
.screen {
  position: relative; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: #fff;
  font-size: 4.4cqw; line-height: 1.35;
  color: var(--ink);
  user-select: none;
}
.screen::before { /* câmara */
  content: ""; position: absolute; top: 2.6cqw; left: 50%; translate: -50% 0; z-index: 30;
  width: 26cqw; height: 6.4cqw; border-radius: 99px; background: #1d1625;
}
.scr {
  position: absolute; inset: 0;
  padding: 12cqw 4.6cqw 4.6cqw;
  display: flex; flex-direction: column;
  background: #fff;
  opacity: 0; transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.45s ease;
}
.scr.is-on { opacity: 1; transform: none; }
.scr.is-left { opacity: 0; transform: translateX(-28%); }

.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-bottom: 3cqw; }
.app-name { font-weight: 700; font-size: 4.6cqw; }
.app-chip { font-size: 3.2cqw; padding: 0.8cqw 2.6cqw; border-radius: 99px; background: #f6eef8; color: var(--muted); display: inline-flex; align-items: center; gap: 1.4cqw; }
.chip-live i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 158, 98, 0.5); animation: live 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 2.4cqw rgba(47, 158, 98, 0); } }
.app-btn {
  display: block; text-align: center;
  padding: 3.3cqw; border-radius: 99px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 4.4cqw;
  box-shadow: 0 2.4cqw 6cqw -2.4cqw rgba(120, 84, 214, 0.7), 0 0 5cqw -1cqw rgba(170, 140, 255, 0.6);
  transition: transform 0.18s ease;
}
.pressed { transform: scale(0.95) !important; }

.tap {
  position: absolute; z-index: 25; left: 0; top: 0;
  width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw;
  border-radius: 50%;
  background: rgba(138, 91, 214, 0.22);
  border: 2px solid rgba(138, 91, 214, 0.55);
  opacity: 0; pointer-events: none;
}
.tap.go { animation: tap 0.65s ease-out; }
@keyframes tap {
  0% { opacity: 0; transform: scale(0.35); }
  30% { opacity: 1; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* --- catálogo (carrossel em leque) --- */
.fan { position: relative; flex: 1; min-height: 0; margin: 1cqw -4.6cqw 2cqw; }
.fan-card {
  position: absolute; left: 50%; top: 50%;
  width: 50cqw; aspect-ratio: 2 / 3;
  margin: 0; translate: -50% -50%;
  border-radius: 5cqw; overflow: hidden;
  background: #f7eef6;
  box-shadow: 0 3cqw 7cqw -3cqw rgba(80, 40, 110, 0.45);
  transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.25, 1.12), opacity 0.5s ease, filter 0.5s ease;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card.center { box-shadow: 0 4cqw 9cqw -3cqw rgba(80, 40, 110, 0.55), 0 0 7cqw -2cqw rgba(181, 146, 247, 0.55); }
.fan-arrows { position: absolute; left: 3cqw; right: 3cqw; top: 41%; display: flex; justify-content: space-between; pointer-events: none; z-index: 12; }
.fan-arrows span { width: 8.5cqw; height: 8.5cqw; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--plum); font-size: 6cqw; line-height: 1; box-shadow: 0 1cqw 3cqw rgba(80, 40, 110, 0.18); }
.fan-info { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 3.4cqw; }
.fan-num { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 8cqw; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fan-name { font-weight: 600; font-size: 4.3cqw; margin-top: 0.8cqw; }
.fan-meta { font-size: 3.7cqw; color: var(--muted); }
.fan-info.swap { animation: info-swap 0.5s ease; }
@keyframes info-swap { from { opacity: 0; transform: translateY(2cqw); } }

/* --- conversa (WhatsApp) --- */
.scr-chat { padding: 0; background: #f4ede6; }
.chat-top { display: flex; align-items: center; gap: 2.6cqw; padding: 11cqw 4cqw 3cqw; background: #fff; box-shadow: 0 1px 0 #eadfe6; }
.chat-back { font-size: 7cqw; line-height: 1; color: var(--green); }
.chat-avatar { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f8cfe0, #e3d3ff); color: var(--plum); font-weight: 700; font-size: 4.2cqw; }
.chat-who { display: flex; flex-direction: column; line-height: 1.2; }
.chat-who b { font-size: 4.2cqw; }
.chat-who small { font-size: 3.1cqw; color: var(--muted); }
.chat-body { flex: 1; padding: 4cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.chat-day { align-self: center; font-size: 3cqw; color: #8a7d70; background: rgba(255, 255, 255, 0.75); padding: 0.6cqw 2.6cqw; border-radius: 99px; }
.bubble {
  max-width: 82%; padding: 2.6cqw 3.2cqw 1.6cqw; border-radius: 3.4cqw;
  font-size: 3.8cqw; line-height: 1.4; white-space: pre-line;
  box-shadow: 0 0.5cqw 0 rgba(0, 0, 0, 0.05);
}
.bubble-out { align-self: flex-end; background: #d9f7cf; border-bottom-right-radius: 1cqw; opacity: 0; transform: translateY(3cqw) scale(0.92); transform-origin: right bottom; transition: opacity 0.35s ease, transform 0.45s var(--ease-out); }
.bubble-out.show { opacity: 1; transform: none; }
.bubble small { display: block; text-align: right; font-size: 2.8cqw; color: #6d8a78; margin-top: 0.6cqw; }
.chat-input { display: flex; align-items: flex-end; gap: 2cqw; padding: 2.6cqw 3cqw 4cqw; }
.chat-field {
  flex: 1; min-height: 10cqw; max-height: 22cqw; overflow: hidden;
  padding: 2.4cqw 3.4cqw; border-radius: 5cqw; background: #fff;
  font-size: 3.5cqw; line-height: 1.35; white-space: pre-line; color: var(--ink);
}
.chat-send { width: 10cqw; height: 10cqw; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1f9d57; color: #fff; font-size: 4cqw; transition: transform 0.18s; }

/* --- agenda --- */
.day-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3cqw; padding: 1.6cqw 2cqw; border-radius: 99px; background: #faf4fb; }
.day-nav span { width: 7cqw; text-align: center; color: var(--plum); font-size: 5.4cqw; line-height: 1; }
.day-nav b { font-size: 3.9cqw; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; flex: 1; min-height: 0; }
.col-head { display: flex; align-items: center; gap: 1.6cqw; font-size: 3.4cqw; font-weight: 700; margin-bottom: 2cqw; white-space: nowrap; }
.team { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; flex: none; display: inline-block; }
.team-a { background: #3fae72; }
.team-b { background: #6d84e2; }
.job {
  padding: 2.2cqw 2.4cqw; margin-bottom: 2cqw;
  border-radius: 2.8cqw;
  font-size: 3.1cqw; line-height: 1.3;
  border-left: 1.1cqw solid;
}
.col[data-col="0"] .job { background: #e7f6ee; border-color: #3fae72; }
.col[data-col="1"] .job { background: #e8edff; border-color: #6d84e2; }
.job b { display: block; font-size: 3.3cqw; }
.job span { display: block; font-weight: 600; }
.job small { display: block; color: var(--muted); font-size: 2.9cqw; }
.job em { display: inline-block; margin-top: 1cqw; font-style: normal; font-size: 2.6cqw; padding: 0.3cqw 1.6cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.8); color: var(--plum); }
.job.new { animation: job-in 0.7s var(--ease-out), job-glow 2.4s ease 0.2s; }
@keyframes job-in { from { opacity: 0; transform: translateY(-4cqw) scale(0.94); } }
@keyframes job-glow { 0%, 60% { box-shadow: 0 0 0 0.8cqw rgba(109, 132, 226, 0.35), 0 0 6cqw rgba(109, 132, 226, 0.45); } 100% { box-shadow: none; } }
.fab {
  position: absolute; right: 4.6cqw; bottom: 5cqw; z-index: 5;
  padding: 3cqw 4.2cqw; border-radius: 99px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: 3.7cqw;
  box-shadow: 0 2.4cqw 6cqw -2cqw rgba(120, 84, 214, 0.75), 0 0 5cqw -1cqw rgba(170, 140, 255, 0.6);
  transition: transform 0.18s;
}
.toast {
  position: absolute; left: 4.6cqw; right: 4.6cqw; bottom: 19cqw; z-index: 6;
  padding: 2.6cqw 3.2cqw; border-radius: 3cqw;
  background: #2f2540; color: #fff; font-size: 3.3cqw; text-align: center;
  opacity: 0; transform: translateY(3cqw);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.toast.show { opacity: 1; transform: none; }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: 2.4cqw 5cqw 5cqw;
  background: #fff;
  border-radius: 6cqw 6cqw 0 0;
  transform: translateY(105%);
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.2, 1), box-shadow 0.4s;
  box-shadow: 0 0 0 100vmax rgba(45, 25, 65, 0);
}
.sheet.open { transform: none; box-shadow: 0 0 0 100vmax rgba(45, 25, 65, 0.22), 0 -3cqw 8cqw rgba(45, 25, 65, 0.15); }
.sheet-grip { width: 12cqw; height: 1.4cqw; border-radius: 99px; background: #e8dbe6; margin: 0 auto 3cqw; }
.sheet-title { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 6.4cqw; margin: 0 0 2.4cqw; line-height: 1.1; }
.f { display: block; font-size: 3cqw; color: var(--muted); margin-bottom: 2.2cqw; }
.f-in {
  display: flex; align-items: center; gap: 1.6cqw;
  min-height: 9cqw; margin-top: 0.8cqw; padding: 1.6cqw 3cqw;
  border-radius: 2.6cqw; border: 1px solid #eddbea; background: #fcf8fc;
  font-size: 3.7cqw; color: var(--ink);
}
.f-client::after { content: ""; width: 2px; height: 4.2cqw; background: var(--lilac-d); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.suggest {
  display: none; margin: -1.2cqw 0 2.4cqw; padding: 2.2cqw 3cqw;
  border-radius: 2.6cqw; background: #f2ebff; border: 1px solid #ddd0fb; font-size: 3.6cqw;
  transition: transform 0.18s;
}
.suggest.show { display: block; animation: fade-up 0.35s ease; }
.suggest span { font-weight: 600; display: block; }
.suggest small { color: var(--muted); font-size: 3cqw; }
.habitual { display: none; }
.habitual.show { display: block; animation: fade-up 0.45s ease; }
.habitual::before { content: "✓ Preenchido com o habitual deste cliente"; display: block; font-size: 3cqw; color: var(--green); font-weight: 600; margin-bottom: 1.8cqw; }
@keyframes fade-up { from { opacity: 0; transform: translateY(2cqw); } }
.repeat { display: flex; gap: 2cqw; margin: 0.4cqw 0 3.4cqw; }
.rp { flex: 1; text-align: center; padding: 2cqw 1cqw; border-radius: 99px; font-size: 3.2cqw; border: 1px solid #e6d6ea; color: var(--muted); transition: all 0.3s, transform 0.18s; }
.rp.on { background: #efe6ff; border-color: var(--lilac); color: var(--lilac-d); font-weight: 600; }

/* --- stock / referências --- */
.search {
  display: flex; align-items: center; gap: 2cqw;
  padding: 2.8cqw 3.8cqw; border-radius: 99px;
  background: #fcf7fc; border: 1px solid #ecdcea;
  font-size: 4.2cqw; min-height: 11.5cqw;
}
.search svg, .fx-search svg { width: 4.8cqw; height: 4.8cqw; fill: none; stroke: var(--muted); stroke-width: 2.2; flex: none; }
.caret { width: 2px; height: 4.6cqw; background: var(--lilac-d); animation: blink 1s steps(1) infinite; margin-left: -1cqw; }
.sugs { margin-top: 2.4cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.sug {
  display: flex; align-items: center; gap: 3cqw;
  padding: 2cqw; border-radius: 3.4cqw;
  background: #fff; border: 1px solid #f1e4ef;
  box-shadow: 0 1.6cqw 4cqw -2.4cqw rgba(80, 40, 110, 0.3);
  animation: fade-up 0.35s ease both;
  transition: transform 0.18s;
}
.sug img { width: 13cqw; height: 13cqw; object-fit: contain; border-radius: 2.4cqw; background: #fff; border: 1px solid #f3e9f1; }
.sug b { display: block; font-size: 3.9cqw; }
.sug small { color: var(--muted); font-size: 3.2cqw; }
.recent { margin-top: auto; transition: opacity 0.3s; }
.recent.hide { opacity: 0; }
.recent p { font-size: 3.2cqw; color: var(--muted); margin: 0 0 2cqw; }
.recent-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.recent-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #fff; border-radius: 3cqw; border: 1px solid #f1e4ef; }

.scr-item { padding-top: 11cqw; gap: 0; }
.item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2cqw; font-size: 3.7cqw; }
.item-back { color: var(--plum); font-weight: 600; transition: transform 0.18s; }
.item-ref { font-size: 3.1cqw; padding: 0.7cqw 2.4cqw; border-radius: 99px; background: #f6eef8; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.item-photo { position: relative; height: 96cqw; border-radius: 4cqw; border: 1px solid #f1e4ef; background: #fff; overflow: hidden; flex: none; }
.item-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.45s ease; }
.item-photo img.on { opacity: 1; }
.badge-similar {
  display: inline-flex; align-items: center; gap: 1.2cqw;
  padding: 1cqw 2.6cqw; border-radius: 99px;
  background: #fde3ef; color: var(--rose-d); font-weight: 700; font-size: 3.1cqw;
  box-shadow: 0 0 0 0 rgba(196, 86, 139, 0.35);
  animation: pulse-rose 2.2s ease-out infinite;
  transition: transform 0.18s;
}
.badge-similar::before { content: "≈"; font-size: 3.6cqw; line-height: 1; }
.item-photo .badge-similar { position: absolute; left: 2.4cqw; top: 2.4cqw; }
.badge-similar.hidden { display: none; }
@keyframes pulse-rose { 70% { box-shadow: 0 0 0 2.4cqw rgba(196, 86, 139, 0); } 100% { box-shadow: none; } }
.item-name { margin-top: 2.6cqw; font-size: 4.3cqw; font-weight: 700; line-height: 1.2; }
.item-name small { font-weight: 500; color: var(--muted); }
.item-where { display: inline-flex; align-self: flex-start; align-items: center; gap: 1.4cqw; margin-top: 1.6cqw; padding: 1cqw 2.6cqw; border-radius: 99px; background: #efe6ff; color: var(--lilac-d); font-weight: 600; font-size: 3.3cqw; }
.item-where svg { width: 3.8cqw; height: 3.8cqw; fill: none; stroke: currentColor; stroke-width: 2.2; }
.swatches { display: flex; gap: 2.4cqw; margin-top: 3cqw; }
.sw { width: 11cqw; height: 11cqw; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid #eddbea; box-shadow: 0 0 0 0 transparent; transition: box-shadow 0.3s, transform 0.18s; }
.sw img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.9); }
.sw.on { box-shadow: 0 0 0 0.8cqw #fff, 0 0 0 1.5cqw var(--lilac-d); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6cqw; margin-top: 3.4cqw; }
.sz {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.6cqw 0; border-radius: 2.6cqw; border: 1px solid #eddbea; background: #fff;
  font-weight: 700; font-size: 3.6cqw; line-height: 1.15;
  transition: all 0.3s, transform 0.18s;
}
.sz small { font-weight: 500; font-size: 2.7cqw; color: var(--green); }
.sz.out { color: #b9a9bd; background: #faf6fa; }
.sz.out b { text-decoration: line-through; }
.sz.out small { color: #c9a1b3; }
.sz.on { border-color: var(--lilac-d); box-shadow: 0 0 0 1px var(--lilac-d), 0 0 4cqw -1cqw rgba(138, 91, 214, 0.6); }
.stock-line { margin-top: 2.8cqw; font-size: 3.4cqw; line-height: 1.35; min-height: 9.6cqw; }
.stock-line b { margin-right: 1.4cqw; }
.stock-line .ok { color: var(--green); font-weight: 600; }
.stock-line .out { color: var(--rose-d); font-weight: 700; }
.stock-line small { display: block; color: var(--muted); font-size: 3.1cqw; }
.stock-line.swap { animation: fade-up 0.35s ease; }
.sheet-sim .sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.sim-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 3cqw; border: 1px solid #f1e4ef; background: #fff; }
.sim-row b { display: block; text-align: center; font-size: 3.5cqw; margin-top: 1.2cqw; }
.sim-diff { margin: 3cqw 0 0; padding: 2.6cqw 3cqw; border-radius: 3cqw; background: #fde9f2; text-align: center; }
.sim-diff span { display: block; font-size: 2.9cqw; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose-d); font-weight: 700; }
.sim-diff b { font-family: var(--display); font-style: italic; font-size: 6cqw; line-height: 1.1; }

/* ---------- exemplos ---------- */
.cases { display: grid; gap: 20px; }
@media (min-width: 700px) { .cases { grid-template-columns: 1fr 1fr; } .case-wide, .case-more { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .cases { grid-template-columns: repeat(3, 1fr); } .case-wide { grid-column: span 2; } .case-more { grid-column: 1 / -1; } }
.case {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
@media (hover: hover) {
  .case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}
.case h3 { font-size: 1.75rem; margin-top: 14px; }
.case p { font-size: 0.98rem; color: #4d3f60; }
.case-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.case-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue { background: #e6edff; color: var(--blue-d); }
.ic-lilac { background: #efe6ff; color: var(--lilac-d); }
.ic-rose { background: #fde5f0; color: var(--rose-d); }
.case-mods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.m { font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.m-blue { background: #e6edff; color: var(--blue-d); }
.m-lilac { background: #efe6ff; color: var(--lilac-d); }
.m-rose { background: #fde5f0; color: var(--rose-d); }
.m-opt { background: transparent; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.8; font-weight: 600; }
.case-links-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 1.2em 0 0.6em; }
.case-links { display: flex; flex-wrap: wrap; gap: 8px; }
.case-links a {
  padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  color: var(--plum); background: var(--bg-soft); border: 1px solid var(--line-2);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.case-links a:hover { border-color: var(--lilac); box-shadow: 0 0 16px -6px rgba(181, 146, 247, 0.8); }

.mini-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mini-shelf figure { margin: 0; }
.mini-shelf img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.mini-shelf figcaption { text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--green); margin-top: 6px; }
.mini-shelf s { color: #c9a1b3; }
.mini-shelf .sold img { opacity: 0.45; filter: grayscale(0.6); }
.mini-shelf .sold figcaption { color: var(--rose-d); }

.case-wide { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .case-wide { grid-template-columns: 1fr 1fr; } }
.factory {
  position: relative;
  padding: 18px; border-radius: 20px;
  background: linear-gradient(160deg, #fbf5fd, #f3ecff);
  border: 1px solid var(--line);
  min-height: 300px;
}
.fx-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; min-height: 46px; }
.fx-search svg { width: 20px; height: 20px; }
.fx-search .caret { height: 20px; margin-left: -6px; }
.fx-results { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.fx-card {
  display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(80, 40, 110, 0.5);
  opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.55s var(--ease-out);
}
.fx-card.show, .fx-diff.show { opacity: 1; transform: none; }
.fx-card img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: #fff; flex: none; }
.fx-card b { display: block; font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1; }
.fx-card span { display: block; font-size: 0.88rem; line-height: 1.3; }
.fx-card em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 0.76rem; font-weight: 600; color: var(--lilac-d); background: #efe6ff; padding: 2px 8px; border-radius: 999px; }
.fx-diff { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px 4px 0; font-size: 0.92rem; opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.55s var(--ease-out); }
.fx-diff .badge-similar { font-size: 0.8rem; padding: 4px 10px; animation: none; }
.fx-note { margin: 12px 4px 0; text-align: right; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.case-more { display: grid; gap: 4px 32px; background: var(--grad-soft); border-color: transparent; }
@media (min-width: 900px) {
  .case-more { grid-template-columns: auto 1fr 1fr; align-items: start; }
  .case-more .case-icon { grid-row: span 3; }
  .case-more h3 { grid-column: 2 / -1; margin-top: 0; }
  .case-more .btn { grid-column: 2; justify-self: start; }
}
.case-more .btn { justify-self: start; margin-top: 6px; }

/* ---------- problema e solução ---------- */
.ps { display: grid; gap: 20px; }
@media (min-width: 880px) { .ps { grid-template-columns: 1fr 1fr; } }
.ps-card { padding: 30px 28px; border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.ps-card p { color: #4d3f60; }
.ps-before { background: rgba(255, 255, 255, 0.5); border: 1px dashed var(--line-2); }
.ps-after { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); position: relative; }
.ps-after::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.55; pointer-events: none; }
.mess { position: relative; height: 170px; margin-top: auto; }
.mess span {
  position: absolute; left: var(--x); top: var(--y);
  padding: 7px 13px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: 0.86rem; color: var(--muted); white-space: nowrap;
  transform: rotate(var(--r));
  box-shadow: 0 8px 18px -14px rgba(80, 40, 110, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .mess span { animation: wobble 6s ease-in-out infinite alternate; }
  .mess span:nth-child(2) { animation-delay: -1.5s; }
  .mess span:nth-child(3) { animation-delay: -3s; }
  .mess span:nth-child(4) { animation-delay: -4.2s; }
  .mess span:nth-child(5) { animation-delay: -2.2s; }
}
@keyframes wobble { to { transform: rotate(calc(var(--r) * -0.6)) translateY(-6px); } }
.tidy { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.tidy li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; }

/* ---------- passos ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 20px; counter-reset: s; position: relative; }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps::before { content: ""; position: absolute; top: 54px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--lilac) 0 8px, transparent 8px 16px); opacity: 0.6; }
}
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 14px;
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 2.2rem; color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 26px -10px rgba(120, 84, 214, 0.7), 0 0 22px -6px rgba(170, 140, 255, 0.6);
}
.step h3 { font-size: 1.6rem; }
.step p { font-size: 0.98rem; color: #4d3f60; margin: 0; }
.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }

/* ---------- preço ---------- */
.price { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .price { grid-template-columns: 1.2fr 0.8fr; gap: 56px; } }
.price-text p { color: #4d3f60; }
.price-card {
  padding: 30px 28px; border-radius: 26px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.price-card svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.price-card .btn { width: 100%; }

/* ---------- contacto ---------- */
.contact-card {
  position: relative;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 24px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift), 0 0 80px -30px rgba(181, 146, 247, 0.6);
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 0%, #e4eaff 0, transparent 45%), radial-gradient(circle at 90% 100%, #f9dcec 0, transparent 45%);
}
.contact-card > * { position: relative; }
.contact-sym { width: 120px; height: auto; margin: 0 auto 16px; }
@media (prefers-reduced-motion: no-preference) { .contact-sym { animation: bob 5s ease-in-out infinite; } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.contact-card p { color: var(--muted); }
.contact-num { margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.contact-num span { color: var(--muted); }
.contact-num a { color: var(--plum); font-weight: 600; text-decoration: none; letter-spacing: 0.03em; }

/* ---------- rodapé ---------- */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-inner nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; font-size: 0.86rem; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--lilac-d); }
.footer-inner .copy { width: 100%; font-size: 0.82rem; }
@media (max-width: 640px) { .footer-legal { justify-content: center; } }

/* ---------- página de privacidade ---------- */
.legal-page { padding: 120px 0 72px; }
.legal-wrap { max-width: 720px; }
.legal-page h1 { font-size: clamp(2.3rem, 3vw + 1.4rem, 3.4rem); margin: 0.2rem 0 1rem; }
.legal-page h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); margin: 2.4rem 0 0.6rem; }
.legal-page p, .legal-page li { color: #4d3f60; }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: 0.6rem; }
.legal-page a { color: var(--lilac-d); }
.legal-lead { font-size: 1.12rem; padding: 18px 20px; border-radius: 18px; background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line); }
.legal-date { margin-top: 2.6rem; font-size: 0.88rem; color: var(--muted) !important; }
@media (max-width: 640px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ---------- botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 35;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(120, 84, 214, 0.75), 0 0 26px -4px rgba(170, 140, 255, 0.65);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}
