/* =====================================================================
   NOW Residence · Formulário de qualificação
   ===================================================================== */
:root {
  --bg: #0a0a0c;
  --bg-2: #111115;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f6f3ef;
  --muted: rgba(246, 243, 239, 0.64);
  --faint: rgba(246, 243, 239, 0.42);
  --brand: #e4156f;
  --brand-2: #ff4f97;
  --brand-glow: rgba(228, 21, 111, 0.45);
  --online: #2ee66b;
  --danger: #ff5a6a;
  --warm: #f6b26b;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --f-display: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --panel-w: 520px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------
   Mídia de fundo
   --------------------------------------------------------------------- */
.media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.2s var(--ease);
}
.media__slide {
  position: absolute;
  inset: -2%;
  background: var(--img) center 30% / cover no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.media__slide.is-active { opacity: 1; animation: kenburns 9s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-1.5%, -1.5%, 0); }
}
.media__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.6) 0%, rgba(10, 10, 12, 0.2) 14%, rgba(10, 10, 12, 0.62) 30%, rgba(10, 10, 12, 0.88) 50%, rgba(10, 10, 12, 0.96) 72%, var(--bg) 100%);
}
.media__caption {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.media__caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }

body.is-quiz .media,
body.is-end .media { opacity: 0.22; filter: blur(18px) saturate(1.2); transform: scale(1.12); }

/* ---------------------------------------------------------------------
   Ambiente
   --------------------------------------------------------------------- */
.ambient { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1s var(--ease); }
body.is-quiz .ambient, body.is-end .ambient { opacity: 1; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.glow--1 { width: 380px; height: 380px; background: radial-gradient(circle, var(--brand) 0%, transparent 70%); top: -140px; right: -140px; animation: float1 14s ease-in-out infinite alternate; }
.glow--2 { width: 320px; height: 320px; background: radial-gradient(circle, #6a1bff 0%, transparent 70%); bottom: -160px; left: -120px; opacity: 0.28; animation: float2 18s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate3d(-80px, 90px, 0) scale(1.15); } }
@keyframes float2 { to { transform: translate3d(90px, -70px, 0) scale(1.1); } }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.055); }
.contours path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) forwards, drift 16s ease-in-out infinite alternate; }
.contours path:nth-child(2) { animation-delay: 0.15s, 0s; }
.contours path:nth-child(3) { animation-delay: 0.3s, 0s; }
.contours path:nth-child(4) { animation-delay: 0.45s, 0s; }
.contours path:nth-child(5) { animation-delay: 0.6s, 0s; }
.contours path:nth-child(6) { animation-delay: 0.75s, 0s; }
.contours path:nth-child(7) { animation-delay: 0.9s, 0s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { to { transform: translateY(18px); } }

/* ---------------------------------------------------------------------
   Painel / palco
   --------------------------------------------------------------------- */
.panel {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  max-width: var(--panel-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: calc(16px + var(--safe-t)) 20px calc(14px + var(--safe-b));
}
.stage { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.screen { grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 100%; min-width: 0; }
.screen.is-leaving { pointer-events: none; }

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.is-quiz .topbar { opacity: 1; transform: none; pointer-events: auto; }
.topbar__back {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.2s, transform 0.2s var(--ease), opacity 0.3s;
}
.topbar__back:hover { background: var(--surface-2); }
.topbar__back:active { transform: scale(0.92); }
.topbar__back[disabled] { opacity: 0.25; pointer-events: none; }
.topbar__progress { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.topbar__bar {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 16px var(--brand-glow);
  transition: width 0.8s var(--ease);
}
.topbar__bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  animation: shine 2.4s ease-in-out infinite;
}
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.topbar__count { font: 600 12px/1 var(--f-display); letter-spacing: 0.08em; color: var(--muted); min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; }

/* Rodapé */
.legal {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; padding-top: 10px;
  font-size: 11px; color: var(--faint);
}
.legal img { width: 46px; height: auto; opacity: 0.55; }
.legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
body.is-cover .legal img { display: none; }

/* ---------------------------------------------------------------------
   Transições de tela
   --------------------------------------------------------------------- */
.screen.enter { animation: screenIn 0.7s var(--ease) both; }
.screen.leave { animation: screenOut 0.42s var(--ease-in) both; }
.screen.enter.back { animation-name: screenInBack; }
.screen.leave.back { animation-name: screenOutBack; }
@keyframes screenIn { from { opacity: 0; transform: translate3d(48px, 0, 0); filter: blur(6px); } }
@keyframes screenOut { to { opacity: 0; transform: translate3d(-40px, 0, 0) scale(0.98); filter: blur(6px); } }
@keyframes screenInBack { from { opacity: 0; transform: translate3d(-48px, 0, 0); filter: blur(6px); } }
@keyframes screenOutBack { to { opacity: 0; transform: translate3d(40px, 0, 0) scale(0.98); filter: blur(6px); } }

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   CAPA
   --------------------------------------------------------------------- */
.cover { justify-content: space-between; gap: 22px; }
.cover__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cover__logo { width: 112px; height: auto; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5)); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font: 600 10.5px/1 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 70%, 100% { box-shadow: 0 0 0 9px rgba(228, 21, 111, 0); } }

.cover__body { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.cover__kicker { font: 700 12px/1 var(--f-display); letter-spacing: 0.22em; text-transform: uppercase; color: #ff7fb3; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.cover__title, .cover__sub { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.cover__title {
  margin: 0;
  font: 800 clamp(30px, 8.6vw, 44px)/1.04 var(--f-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cover__title em { font-style: normal; background: linear-gradient(92deg, #fff 0%, #ffc2dc 45%, var(--brand-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover__sub { margin: -6px 0 0; color: rgba(246, 243, 239, 0.8); font-size: 15px; max-width: 34ch; }

/* Card de condições */
.deal {
  position: relative;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 60%), rgba(12, 12, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.deal::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--brand-2) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 5s linear infinite;
  pointer-events: none;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.deal__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 10px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 6px 9px; border-radius: 6px;
  box-shadow: 0 6px 20px -6px var(--brand-glow);
}
.deal__label { margin: 14px 0 2px; font-size: 13px; color: var(--muted); }
.deal__value {
  display: flex; align-items: baseline; gap: 6px;
  font: 800 clamp(36px, 11vw, 50px)/1 var(--f-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff 30%, #ffd3e6 50%, #fff 70%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 4s ease-in-out 2s infinite;
}
.deal__value small { font-size: 0.42em; font-weight: 700; letter-spacing: 0; }
@keyframes sheen { 0% { background-position: 100% 0; } 50%, 100% { background-position: -100% 0; } }
.deal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.deal__item { padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); }
.deal__item span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.deal__item strong { font: 700 clamp(14px, 4.3vw, 17px)/1.15 var(--f-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal__item strong b { color: var(--brand-2); font-weight: 800; }

/* Botão Fiorin */
.cta-fiorin {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand) 0%, #ff2f86 55%, var(--brand) 100%) 0 0 / 200% 100%;
  box-shadow: 0 18px 40px -14px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-position 0.6s var(--ease);
  isolation: isolate;
}
.cta-fiorin::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: ctaPulse 2.6s ease-out infinite;
}
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(228, 21, 111, 0.55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(228, 21, 111, 0); } }
.cta-fiorin:hover { background-position: 100% 0; transform: translateY(-2px); }
.cta-fiorin:active { transform: scale(0.98); }
.cta-fiorin__text { flex: 1; min-width: 0; }
.cta-fiorin__text strong { display: block; font: 800 17px/1.2 var(--f-display); letter-spacing: -0.01em; }
.cta-fiorin__text span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-fiorin__arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); }
.cta-fiorin__arrow svg { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Avatar com status online */
.avatar { position: relative; flex: none; width: 52px; height: 52px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.9); }
.avatar__dot {
  position: absolute; right: 1px; bottom: 1px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--online); border: 2.5px solid #fff;
}
.avatar__dot::before { content: ''; position: absolute; inset: -2.5px; border-radius: 50%; background: var(--online); animation: online 1.8s ease-out infinite; z-index: -1; }
@keyframes online { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.4); opacity: 0; } }
.avatar--sm { width: 38px; height: 38px; }
.avatar--sm img { border-width: 1.5px; }
.avatar--sm .avatar__dot { width: 11px; height: 11px; border-width: 2px; }

.trust { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px; }
.trust div { display: flex; flex-direction: column; gap: 2px; }
.trust strong { font: 800 15px/1 var(--f-display); }
.trust span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.disclaimer { margin: 0; font-size: 10.5px; color: var(--faint); line-height: 1.45; text-align: center; }

/* ---------------------------------------------------------------------
   PERGUNTA
   --------------------------------------------------------------------- */
.q { gap: 0; padding-top: 6px; }
.asker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.asker__meta { display: flex; flex-direction: column; line-height: 1.2; }
.asker__meta strong { font: 700 13px/1.2 var(--f-display); }
.asker__meta span { font-size: 11.5px; color: var(--online); display: flex; align-items: center; gap: 5px; }
.asker__meta span.is-typing { color: var(--muted); }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

.q__eyebrow { font: 700 11px/1 var(--f-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px; }
.q__title { margin: 0; font: 800 clamp(25px, 7vw, 32px)/1.12 var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
.q__title .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); filter: blur(4px); animation: word 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.q__title .hl { color: var(--brand-2); }
.q__sub { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 40ch; }
.q__note { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--faint); }
.q__body { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }

/* Opções */
.opt {
  --d: 0;
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: optIn 0.6s var(--ease) forwards;
  animation-delay: calc(var(--d) * 70ms + 380ms);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
@keyframes optIn { to { opacity: 1; transform: none; } }
@media (hover: hover) {
  .opt:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
}
.opt:active { transform: scale(0.985); }
.opt__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(228, 21, 111, 0.12);
  color: var(--brand-2);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.opt__text { flex: 1; min-width: 0; }
.opt__text strong { display: block; font: 700 16px/1.25 var(--f-display); letter-spacing: -0.005em; }
.opt__text span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.opt__check {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.4s var(--spring);
}
.opt__check svg { opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.35s var(--spring); }
.opt.is-selected {
  border-color: var(--brand);
  background: linear-gradient(120deg, rgba(228, 21, 111, 0.22), rgba(228, 21, 111, 0.06));
  box-shadow: 0 0 0 4px rgba(228, 21, 111, 0.12), 0 16px 40px -18px var(--brand-glow);
}
.opt.is-selected .opt__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.opt.is-selected .opt__check { background: var(--brand); border-color: var(--brand); transform: scale(1.1); }
.opt.is-selected .opt__check svg { opacity: 1; transform: scale(1); }
.opt.is-dim { opacity: 0.45 !important; transition: opacity 0.3s; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transform: scale(0); animation: ripple 0.65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Cards de unidade (plantas) */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unit {
  --d: 0;
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  animation: optIn 0.65s var(--ease) forwards;
  animation-delay: calc(var(--d) * 80ms + 380ms);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.unit__img { position: relative; aspect-ratio: 1 / 0.86; background: #f4f2ee; overflow: hidden; }
.unit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.unit__img--help {
  background: radial-gradient(circle at 30% 20%, rgba(255, 79, 151, 0.45), transparent 60%), linear-gradient(160deg, #26131d, #121015);
  display: grid; place-items: center; color: #fff;
}
.unit__img--help svg { width: 50px; height: 50px; animation: helpBob 2.8s ease-in-out infinite; }
@keyframes helpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px) scale(1.06); } }
.unit__zoom {
  position: absolute; right: 8px; top: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: transform 0.25s var(--spring);
}
.unit__zoom:hover { transform: scale(1.1); }
.unit__body { padding: 12px 12px 14px; display: flex; gap: 8px; align-items: flex-start; flex: 1; }
.unit__body div { flex: 1; min-width: 0; }
.unit__body strong { display: block; font: 700 14px/1.25 var(--f-display); }
.unit__body span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.unit .opt__check { width: 20px; height: 20px; margin-top: 1px; }
@media (hover: hover) {
  .unit:hover { border-color: var(--line-2); transform: translateY(-3px); }
  .unit:hover .unit__img img { transform: scale(1.06); }
}
.unit.is-selected { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(228, 21, 111, 0.14), 0 18px 40px -18px var(--brand-glow); }
.unit.is-selected .opt__check { background: var(--brand); border-color: var(--brand); }
.unit.is-selected .opt__check svg { opacity: 1; transform: scale(1); }
.unit.is-dim { opacity: 0.45 !important; }

/* Campos de texto */
.field { position: relative; opacity: 0; animation: optIn 0.6s var(--ease) 0.4s forwards; transform: translateY(14px); }
.input {
  width: 100%;
  height: 62px;
  padding: 0 18px 0 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  font: 600 18px/1 var(--f-body);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.input::placeholder { color: var(--faint); font-weight: 400; }
.input:focus { border-color: var(--brand); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(228, 21, 111, 0.16); }
.field__icon { position: absolute; left: 18px; top: 31px; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color 0.25s; }
.field:focus-within .field__icon { color: var(--brand-2); }
.field__ok {
  position: absolute; right: 16px; top: 31px; transform: translateY(-50%) scale(0);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--online); color: #06210f;
  display: grid; place-items: center;
  transition: transform 0.4s var(--spring);
}
.field.is-valid .field__ok { transform: translateY(-50%) scale(1); }
.field__hint { margin: 10px 4px 0; font-size: 12.5px; color: var(--faint); }
.error {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 106, 0.1);
  border: 1px solid rgba(255, 90, 106, 0.35);
  color: #ffc4ca;
  font-size: 13.5px;
  animation: errIn 0.45s var(--spring);
}
.error[hidden] { display: none; }
.error svg { flex: none; margin-top: 1px; color: var(--danger); }
@keyframes errIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.shake { animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }

/* Autocomplete de cidade */
.ac { position: relative; }
.ac__list {
  list-style: none; margin: 8px 0 0; padding: 6px;
  border-radius: var(--radius);
  background: rgba(22, 22, 27, 0.96);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  max-height: 300px; overflow: auto;
  transform-origin: top center;
  animation: listIn 0.3s var(--ease);
}
.ac__list[hidden] { display: none; }
@keyframes listIn { from { opacity: 0; transform: translateY(-6px) scaleY(0.96); } }
.ac__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0;
  animation: rise 0.35s var(--ease) forwards;
  animation-delay: calc(var(--i) * 30ms);
  transform: translateY(6px);
}
.ac__item.is-active, .ac__item:hover { background: rgba(228, 21, 111, 0.16); }
.ac__item mark { background: none; color: var(--brand-2); font-weight: 700; }
.ac__city { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ac__city svg { color: var(--faint); flex: none; }
.ac__uf { font: 700 11px/1 var(--f-display); letter-spacing: 0.08em; padding: 5px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.ac__empty { padding: 14px 12px; color: var(--muted); font-size: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 10px 14px 10px 12px;
  border-radius: 999px;
  background: rgba(46, 230, 107, 0.12);
  border: 1px solid rgba(46, 230, 107, 0.35);
  font-weight: 600;
  animation: errIn 0.5s var(--spring);
}
.chip svg { color: var(--online); }

/* Telefone */
.phone { display: grid; grid-template-columns: auto 78px 1fr; gap: 10px; opacity: 0; transform: translateY(14px); animation: optIn 0.6s var(--ease) 0.4s forwards; }
.phone__ddi {
  display: flex; align-items: center; gap: 8px;
  height: 62px; padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font: 700 17px/1 var(--f-body);
  color: var(--muted);
  user-select: none;
}
.phone__ddi svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); flex: none; }
.phone .input { padding: 0 14px; text-align: left; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.phone .input--ddd { text-align: center; padding: 0 8px; }
.phone__label { display: grid; grid-template-columns: 92px 62px 1fr; gap: 10px; margin-bottom: 8px; padding-left: 4px; font-size: 11px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.phone { grid-template-columns: 92px 62px 1fr; }
.phone__ddi { padding: 0 12px; font-size: 16px; }
.phone .input { font-size: 17px; padding: 0 12px; letter-spacing: 0; }
@media (max-width: 370px) {
  .phone, .phone__label { grid-template-columns: 80px 54px 1fr; gap: 8px; }
  .phone__ddi { padding: 0 9px; gap: 6px; font-size: 14px; }
  .phone__ddi svg { width: 22px; height: 15px; }
  .phone .input { font-size: 16px; padding: 0 9px; }
}

/* Botão principal */
.btn {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 62px;
  margin-top: 18px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--brand), #ff2f86);
  box-shadow: 0 18px 40px -16px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font: 800 16.5px/1 var(--f-display);
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: optIn 0.6s var(--ease) 0.55s forwards;
  transition: filter 0.25s, transform 0.2s var(--ease), box-shadow 0.25s, background 0.4s;
}
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.2s ease-in-out 1.5s infinite;
}
@keyframes btnShine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.btn:active { transform: scale(0.985); }
.btn[disabled] { filter: grayscale(0.85) brightness(0.55); box-shadow: none; cursor: not-allowed; }
.btn[disabled]::after { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-ok { background: linear-gradient(100deg, #18b955, #2ee66b); box-shadow: 0 18px 40px -16px rgba(46, 230, 107, 0.6); }
.btn__spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn__label { display: inline-flex; align-items: center; gap: 10px; animation: labelIn 0.35s var(--ease); }
@keyframes labelIn { from { opacity: 0; transform: translateY(8px); } }
.secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; font-size: 12px; color: var(--faint); text-align: center; }
.secure a { color: var(--muted); }

/* ---------------------------------------------------------------------
   Telas finais (bloqueio / sucesso)
   --------------------------------------------------------------------- */
.end { align-items: center; justify-content: center; text-align: center; gap: 0; padding: 20px 4px; }
.end__icon {
  position: relative;
  width: 104px; height: 104px;
  display: grid; place-items: center;
  border-radius: 50%;
  margin-bottom: 26px;
  animation: pop 0.7s var(--spring) both;
}
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.end__icon--lock { background: radial-gradient(circle, rgba(255, 90, 106, 0.25), rgba(255, 90, 106, 0.06) 70%); border: 1px solid rgba(255, 90, 106, 0.4); color: #ff8592; }
.end__icon--lock::before, .end__icon--ok::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid currentColor; opacity: 0.25;
  animation: halo 2.4s ease-out infinite;
}
@keyframes halo { from { transform: scale(0.85); opacity: 0.5; } to { transform: scale(1.35); opacity: 0; } }
.end__icon--ok { background: radial-gradient(circle, rgba(46, 230, 107, 0.3), rgba(46, 230, 107, 0.06) 70%); border: 1px solid rgba(46, 230, 107, 0.5); color: var(--online); }
.end__icon svg path.draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck 0.7s var(--ease) 0.35s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.end__tag { font: 700 11px/1 var(--f-display); letter-spacing: 0.2em; text-transform: uppercase; color: #ff8592; margin-bottom: 12px; }
.end__tag--ok { color: var(--online); }
.end__title { margin: 0; font: 800 clamp(25px, 7vw, 31px)/1.15 var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
.end__text { margin: 14px auto 0; color: var(--muted); max-width: 36ch; font-size: 15px; }
.end__box {
  margin-top: 24px; padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
  text-align: left;
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 400px;
}
.end__box svg { flex: none; color: var(--brand-2); margin-top: 2px; }
.countdown { position: relative; width: 54px; height: 54px; margin: 26px auto 0; }
.countdown svg { transform: rotate(-90deg); }
.countdown circle { fill: none; stroke-width: 4; }
.countdown .track { stroke: rgba(255, 255, 255, 0.1); }
.countdown .bar { stroke: var(--online); stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 151; }
.countdown b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 18px/1 var(--f-display); }
.end .btn { max-width: 400px; animation-delay: 0.6s; }
.btn--wa { background: linear-gradient(100deg, #18b955, #25d366); box-shadow: 0 18px 40px -16px rgba(37, 211, 102, 0.6); }

/* ---------------------------------------------------------------------
   Lightbox
   --------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(5, 5, 7, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 720px); animation: pop 0.5s var(--spring); }
.lightbox img { width: 100%; border-radius: 16px; background: #fff; }
.lightbox figcaption { margin-top: 12px; text-align: center; font: 600 14px/1.4 var(--f-display); color: var(--muted); }
.lightbox__close { position: absolute; top: calc(16px + var(--safe-t)); right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
@keyframes fadeIn { from { opacity: 0; } }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------------------------------------------------------------------
   Desktop: imagem à esquerda, formulário à direita
   --------------------------------------------------------------------- */
@media (min-width: 960px) {
  .media { right: auto; width: 52vw; }
  .media__slide { background-image: var(--img-lg); }
  .media__shade { background: linear-gradient(90deg, rgba(10, 10, 12, 0.05) 0%, rgba(10, 10, 12, 0.15) 70%, var(--bg) 100%), linear-gradient(0deg, rgba(10, 10, 12, 0.7), transparent 40%); }
  .media__caption { display: flex; }
  body.is-quiz .media, body.is-end .media { opacity: 1; filter: none; transform: none; }
  .ambient { left: 52vw; opacity: 1; }
  .panel { margin: 0 0 0 52vw; max-width: none; width: 48vw; padding: 36px clamp(32px, 5vw, 80px) 20px; }
  .stage, .topbar { width: 100%; max-width: var(--panel-w); margin-left: auto; margin-right: auto; }
  .cover { justify-content: center; }
  .cover__body { margin-top: 0; }
  .cover__top { margin-bottom: 28px; }
  .q { justify-content: center; padding-bottom: 40px; }
}

/* Celulares estreitos (≤ 360px) */
@media (max-width: 360px) {
  .panel { padding-left: 16px; padding-right: 16px; }
  .cover__logo { width: 96px; }
  .badge { padding: 6px 10px 6px 8px; font-size: 9.5px; }
  .deal { padding: 14px 12px; }
  .deal__item { padding: 10px 9px; }
  .deal__item strong { font-size: 13px; }
  .cta-fiorin { gap: 10px; padding-right: 12px; }
  .cta-fiorin__text strong { font-size: 15.5px; }
  .trust div:last-child { display: none; }
  .units { gap: 9px; }
  .unit__body { padding: 10px 9px 12px; }
  .unit__body strong { font-size: 13px; }
}

/* Telas baixas (celulares pequenos) */
@media (max-height: 700px) and (max-width: 959px) {
  .cover__title { font-size: 28px; }
  .deal { padding: 14px; }
  .deal__value { font-size: 34px; }
  .deal__grid { margin-top: 12px; }
  .trust { display: none; }
  .opt { min-height: 60px; padding: 11px 14px; }
  .q__body { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .opt, .unit, .field, .phone, .btn, .q__title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}
