/* ==========================================================
   Quiz — estilos. Sem frameworks, sem recursos externos.
   ========================================================== */

:root {
  --bg: #110404;
  --bg-glow: rgba(93, 61, 36, 0.5);
  --panel: #2a1819;
  --track: rgba(93, 61, 36, 0.5);
  --fill: #d6a582;
  --option: #895f3e;
  --option-on: #ae7c54;
  --gender: #5b3c25;
  --accent: #ffc670;
  --cta: #f9a645;
  --cta-on: #ffb764;
  --text: #ffffff;
  --text-soft: #e5e7eb;
  --muted: #d1d5dc;
  --muted-2: #99a1af;
  --wa: #25d366;
  --wa-on: #1ebe5b;

  --font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Roboto Slab", Georgia, "Times New Roman", serif;

  --wheel-item-h: 44px; /* tem de coincidir com ITEM_H em dateWheel.js */
  --wheel-rows: 7;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(var(--bg-glow) 0%, var(--bg) 100%);
  pointer-events: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.app {
  width: 100%;
  max-width: 448px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 8px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.noscript {
  padding: 32px 16px;
  text-align: center;
}

/* ---------- Cabeçalho ---------- */

.header {
  padding: 16px 8px 8px;
}

.header-row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}

.header-back {
  width: 40px;
  height: 40px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 9999px;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.header-back:hover {
  background: rgba(255, 255, 255, 0.06);
}
.header-back.is-hidden {
  visibility: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.logo {
  width: 32px;
  height: 32px;
  flex: none;
}
.header-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.header-side {
  text-align: right;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.header-counter-current {
  color: var(--text);
}
.header-counter-total {
  color: var(--muted-2);
}

.progress {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}
.progress-seg {
  flex: 1;
  height: 8px;
  border-radius: 9999px;
  background: var(--track);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 9999px;
  background: var(--fill);
  transition: width 0.4s var(--ease);
}

.header--minimal {
  margin: 0 -8px;
  padding: 16px;
  background: var(--panel);
}

/* ---------- Ecrã ---------- */

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.screen-content {
  flex: 1;
}

.step-head {
  padding: 24px 8px 24px;
  text-align: center;
}

.step-title {
  margin: 0;
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  text-align: center;
  outline: none;
}

.step-description {
  margin: 8px 0 0;
  padding: 0 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-soft);
  text-align: center;
}

.screen-footer {
  padding: 24px 8px 0;
}

.enter-forward {
  animation: in-forward 0.35s var(--ease) both;
}
.enter-back {
  animation: in-back 0.35s var(--ease) both;
}
@keyframes in-forward {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
@keyframes in-back {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}

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

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.15s var(--ease), opacity 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--cta);
  color: #1d0a04;
}
.btn-primary:hover:not([disabled]) {
  background: var(--cta-on);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--wa-on);
}

.btn-link {
  display: block;
  margin: 16px auto 0;
  padding: 8px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Opções (escolha única) ---------- */

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 8px;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px;
  border: 2px solid transparent;
  border-radius: 9999px;
  background: var(--option);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.option.is-selected {
  background: var(--option-on);
  border-color: #fff;
}
.option:active {
  transform: scale(0.99);
}
.option-emoji {
  flex: none;
  font-size: 24px;
  line-height: 28px;
}

/* ---------- Cartões dos elementos ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 8px;
}

.card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px;
  border: 2px solid rgba(93, 61, 36, 0.5);
  border-radius: 32px;
  background: rgba(93, 61, 36, 0.5);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.card.is-selected {
  background: rgba(174, 124, 84, 0.6);
  border-color: #fff;
}
.card-art {
  display: block;
  width: 96px;
  height: 88px;
}
.card-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card-label {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

/* ---------- Ecrã de entrada (landing) ---------- */

.landing-panel {
  margin: 0 -8px;
  padding: 8px 16px 32px;
  background: var(--panel);
  border-radius: 0 0 24px 24px;
  text-align: center;
}

.landing-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 45px;
  font-weight: 500;
  outline: none;
}
.landing-title .accent {
  color: var(--accent);
}

.landing-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.landing-tagline .icon {
  width: 14px;
  height: 14px;
}

.landing-question {
  margin: 32px 0 96px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  text-align: center;
}

.genders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 0 8px;
}

.gender {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px 16px 24px 24px;
  background: var(--gender);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.gender.is-selected {
  border-color: #fff;
}
.gender:active {
  transform: scale(0.99);
}
.gender-media {
  display: block;
  height: 214px;
  margin-top: -80px;
}
.gender-media svg,
.gender-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.gender-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 0 0 22px 22px;
  background: var(--option-on);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.icon-chevron {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.landing-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.landing-badges .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.landing-legal {
  margin: 16px 0 0;
  padding: 0 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Data em rodas ---------- */

.date-picker {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 8px;
  padding: 0 8px;
}

.wheel {
  position: relative;
  height: calc(var(--wheel-item-h) * var(--wheel-rows));
  min-height: 0;
  overflow: hidden;
}

.wheel-pill {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - var(--wheel-item-h) / 2);
  height: var(--wheel-item-h);
  border-radius: 9999px;
  background: rgba(174, 124, 84, 0.35);
  border: 1px solid rgba(214, 165, 130, 0.45);
  pointer-events: none;
}

.wheel-list {
  position: relative;
  height: calc(var(--wheel-item-h) * var(--wheel-rows));
  min-height: 0;
  overflow-y: auto;
  padding: calc(var(--wheel-item-h) * 3) 0;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  outline: none;
}
.wheel-list::-webkit-scrollbar {
  display: none;
}
.wheel:focus-within .wheel-pill {
  border-color: var(--accent);
}

.wheel-item {
  height: var(--wheel-item-h);
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 18px;
  color: var(--muted-2);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.wheel-item.is-active {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Campo de texto ---------- */

.field {
  padding: 0 8px;
}
.text-input {
  width: 100%;
  padding: 20px 24px;
  border: 2px solid transparent;
  border-radius: 9999px;
  background: var(--option);
  color: var(--text);
  font: 500 18px/28px var(--font-display);
  outline: none;
}
.text-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.text-input:focus {
  border-color: #fff;
}

/* ---------- Ecrã final ---------- */

.final {
  padding: 32px 8px 0;
  text-align: center;
}
.final-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--option-on);
  color: #fff;
}
.final-badge .icon {
  width: 32px;
  height: 32px;
}
.final-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.summary {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(93, 61, 36, 0.5);
  text-align: left;
}
.summary-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}
.summary-list {
  margin: 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(214, 165, 130, 0.2);
  font-size: 14px;
  line-height: 20px;
}
.summary-row:first-child {
  border-top: 0;
}
.summary-row dt {
  color: var(--muted);
}
.summary-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.final-actions {
  padding: 0;
}
.privacy {
  margin: 12px 8px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  text-align: center;
}

.card-art.has-img{width:128px;height:128px;margin-top:-8px}.card-art img{width:100%;height:100%;object-fit:contain;display:block;}

/* ---------- Radar ---------- */
.radar{padding:0 8px}
.radar-hud{position:relative;background:radial-gradient(80% 60% at 50% 45%,#2a1210,#0b0303 75%);border:1px solid rgba(214,165,130,.35);border-radius:4px;padding:14px 10px 0}
.radar-corner{position:absolute;width:16px;height:16px;border:2px solid var(--fill)}
.radar-corner.tl{top:-5px;left:-5px;border-right:0;border-bottom:0}.radar-corner.tr{top:-5px;right:-5px;border-left:0;border-bottom:0}
.radar-corner.bl{bottom:-5px;left:-5px;border-right:0;border-top:0}.radar-corner.br{bottom:-5px;right:-5px;border-left:0;border-top:0}
.radar-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 6px}
.radar-status{margin:0;font-family:var(--font-display);font-size:18px;line-height:26px;color:var(--text);text-wrap:balance}
.radar-pct{font-size:14px;color:var(--accent);font-variant-numeric:tabular-nums}
.radar-stage{aspect-ratio:1;overflow:hidden;margin-top:6px}
.radar-canvas{width:100%;height:100%;display:block}
.radar-bar{height:3px;margin:0 -10px;background:var(--track)}.radar-bar i{display:block;height:100%;width:0;background:var(--cta);transition:width .1s linear}
.radar-reads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 -10px}
.radar-reads div{padding:12px 14px;border-right:1px solid rgba(214,165,130,.2)}.radar-reads div:last-child{border:0}
.radar-reads small{display:block;font-size:11px;line-height:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2)}
.radar-reads b{display:block;margin-top:2px;font-family:var(--font-display);font-weight:500;font-size:16px;line-height:22px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.radar-log{list-style:none;margin:18px 0 0;padding:0}
.radar-log li{display:flex;justify-content:space-between;gap:12px;padding:11px 4px;border-top:1px solid rgba(214,165,130,.2);font-size:15px;line-height:22px;animation:in-forward .35s var(--ease) both}
.radar-log em{font-style:normal;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2)}
.radar-log li.is-ok em{color:var(--wa)}

/* ---------- Especialista ---------- */
.expert{display:flex;flex-direction:column;align-items:center;margin-bottom:20px;animation:expert-in .7s var(--ease) both}
.expert-photo{position:relative;width:132px;height:132px;border-radius:50%;padding:4px;background:conic-gradient(from 200deg,#ffc670,#d6a582,#895f3e,#ffc670);box-shadow:0 0 0 6px rgba(255,198,112,.12),0 18px 40px rgba(0,0,0,.55);animation:expert-glow 2.4s ease-in-out infinite}
.expert-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;border:3px solid #1d0a04}
.expert-online{position:absolute;right:8px;bottom:8px;width:22px;height:22px;border-radius:50%;background:var(--wa);border:4px solid #1d0a04}
.expert-online::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--wa);animation:expert-ping 1.6s ease-out infinite}
.expert-name{margin:16px 0 0;font-family:var(--font-display);font-size:28px;line-height:34px}
.expert-role{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--accent)}
.expert-meta{margin:6px 0 0;font-size:13px;line-height:18px;color:var(--muted)}
.expert-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:18px;border-top:1px solid rgba(214,165,130,.2);border-bottom:1px solid rgba(214,165,130,.2)}
.expert-stats div{padding:12px 6px;border-right:1px solid rgba(214,165,130,.2)}.expert-stats div:last-child{border:0}
.expert-stats b{display:block;font-family:var(--font-display);font-weight:500;font-size:20px;line-height:26px}
.expert-stats small{display:block;font-size:11px;line-height:16px;color:var(--muted-2);letter-spacing:.04em}
@keyframes expert-in{from{opacity:0;transform:translateY(16px) scale(.96)}}
@keyframes expert-glow{50%{box-shadow:0 0 0 10px rgba(255,198,112,.06),0 18px 40px rgba(0,0,0,.55)}}
@keyframes expert-ping{to{transform:scale(1.9);opacity:0}}
.radar-stage{position:relative}
.radar-reveal{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;background:radial-gradient(circle at 50% 50%,rgba(29,10,4,.88),rgba(11,3,3,.96) 70%);opacity:0;pointer-events:none;transition:opacity .5s var(--ease)}
.radar-reveal.is-on{opacity:1}
.radar-reveal .expert-photo{transform:scale(.4);opacity:0;transition:transform .7s cubic-bezier(.2,1.4,.4,1) .2s,opacity .4s .2s}
.radar-reveal.is-on .expert-photo{transform:none;opacity:1}
.radar-reveal-eyebrow{margin:0 0 18px;font-size:12px;line-height:16px;letter-spacing:.14em;text-transform:uppercase;color:var(--wa);opacity:0;transform:translateY(8px);transition:.5s .1s}
.radar-reveal .expert-name,.radar-reveal .expert-role,.radar-reveal-meta{opacity:0;transform:translateY(10px);transition:.5s var(--ease) .6s}
.radar-reveal .expert-role{transition-delay:.75s}.radar-reveal-meta{transition-delay:.9s}
.radar-reveal.is-on .radar-reveal-eyebrow,.radar-reveal.is-on .expert-name,.radar-reveal.is-on .expert-role,.radar-reveal.is-on .radar-reveal-meta{opacity:1;transform:none}
.radar-reveal-meta{margin:10px 0 0;font-size:13px;line-height:18px;color:var(--muted)}

/* ---------- Erro de configuração ---------- */

.config-error {
  margin: 40px 8px;
  padding: 24px;
  border-radius: 24px;
  background: #3a1414;
}

/* Hover só em dispositivos com rato (evita o "hover preso" no telemóvel). */
@media (hover: hover) {
  .option:hover {
    background: var(--option-on);
    border-color: #fff;
  }
  .card:hover {
    background: rgba(174, 124, 84, 0.6);
    border-color: #fff;
  }
  .gender:hover {
    border-color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Tipografia única + ritmo de espaçamento ---------- */
body{font-size:15px;line-height:22px}
.header{padding:16px 8px 4px}
.header-brand-name{font-size:18px;line-height:24px;font-weight:600;letter-spacing:-.01em}
.header-side{font-size:13px;font-weight:500}
.progress{margin-top:14px}.progress-seg{height:6px}
.step-head{padding:28px 12px 24px}
.step-title{padding:0;font-size:23px;line-height:30px;font-weight:600;letter-spacing:-.015em;text-wrap:balance}
.step-description{margin-top:10px;padding:0 8px;font-size:15px;line-height:22px;font-weight:400;color:var(--muted);text-wrap:pretty}
.landing-title{font-size:31px;line-height:38px;font-weight:700;letter-spacing:-.02em;text-wrap:balance}
.landing-question{margin:28px 0 92px;font-size:20px;line-height:28px;font-weight:600}
.landing-tagline,.landing-badges,.landing-legal{font-size:12px;line-height:18px}
.gender-label{padding:16px 18px;font-size:17px;line-height:24px;font-weight:600}
.options{gap:10px}
.option{padding:18px 22px;font-size:16px;line-height:22px;font-weight:500}
.option-emoji{font-size:20px}
.cards{gap:12px}.card{gap:8px;border-radius:24px}.card-label{font-size:16px;line-height:22px;font-weight:600}
.btn{min-height:56px;font-size:16px;line-height:22px;font-weight:600;letter-spacing:.01em}
.text-input{padding:18px 22px;font:500 17px/24px var(--font-body)}
.screen-footer{padding:24px 8px 0}
.wheel-item{font-size:17px}
.radar-hud{padding:14px 12px 0}
.radar-top{padding:0 2px 4px;align-items:center}
.radar-status{font-size:16px;line-height:22px;font-weight:600}
.radar-pct{font-size:13px;font-weight:600}
.radar-stage{margin:4px -2px 0}
.radar-reads div{padding:12px}
.radar-reads small{font-size:10px;line-height:14px;letter-spacing:.08em;font-weight:500}
.radar-reads b{margin-top:4px;font-size:15px;line-height:20px;font-weight:600}
.radar-log{margin:20px 0 0}
.radar-log li{padding:12px 4px;font-size:14px;line-height:20px}
.radar-log em{font-size:11px;line-height:20px;letter-spacing:.08em;font-weight:600}
.radar-reveal-eyebrow{margin:0 0 16px;font-size:11px;letter-spacing:.1em;font-weight:600}
.radar-reveal-meta{margin-top:8px}
.final{padding:24px 8px 0}
.final-eyebrow{margin:0 0 10px;font-size:11px;line-height:16px;letter-spacing:.1em;font-weight:600;color:var(--wa)}
.final .step-description{margin-top:12px}
.expert{margin-bottom:24px}
.expert-photo{width:120px;height:120px}
.expert-name{margin-top:14px;font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.01em}
.expert-role{margin-top:2px;font-size:14px;line-height:20px;font-weight:500}
.expert-meta{margin-top:4px;font-size:13px}
.expert-stats{margin-top:18px}
.expert-stats div{padding:12px 6px}
.expert-stats b{font-size:18px;line-height:24px;font-weight:700}
.expert-stats small{margin-top:2px;font-size:11px}
.summary{margin-top:24px;padding:18px 20px;border-radius:20px}
.summary-title{margin:0 0 8px;font-size:16px;line-height:22px;font-weight:600}
.summary-row{padding:10px 0;font-size:14px;line-height:20px}
.privacy{margin-top:14px}

/* ---------- Radar v3 (sem caixa, mais limpo) ---------- */
.radar{padding:0 8px}
.radar-stage{position:relative;aspect-ratio:1;margin:-8px 0 0;overflow:hidden;border-radius:24px}
.radar-panel{margin-top:4px;padding:18px 18px 6px;border-radius:24px;background:rgba(42,24,25,.7);border:1px solid rgba(214,165,130,.16)}
.radar-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0}
.radar-status{margin:0;font-size:16px;line-height:22px;font-weight:600;color:var(--text)}
.radar-pct{font-size:13px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.radar-bar{height:4px;margin:12px 0 0;border-radius:9999px;background:rgba(214,165,130,.16);overflow:hidden}
.radar-bar i{display:block;height:100%;width:0;border-radius:9999px;background:linear-gradient(90deg,#d6a582,#ffc670);transition:width .1s linear}
.radar-reads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0}
.radar-reads div{padding:10px 12px;border:0;border-radius:14px;background:rgba(17,4,4,.55)}
.radar-reads small{display:block;font-size:10px;line-height:14px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--muted-2)}
.radar-reads b{display:block;margin-top:4px;font-size:15px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.radar-steps{list-style:none;margin:14px 0 0;padding:0}
.radar-steps li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid rgba(214,165,130,.12);font-size:14px;line-height:20px;color:var(--muted-2);transition:color .3s}
.radar-steps li.is-active{color:var(--text)}.radar-steps li.is-done{color:var(--text-soft)}
.radar-dot{position:relative;flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid rgba(214,165,130,.35);display:grid;place-items:center}
.radar-dot .icon{width:12px;height:12px;opacity:0;color:#0b2a16}
.radar-steps li.is-active .radar-dot{border-color:var(--accent);border-top-color:transparent;animation:radar-spin .9s linear infinite}
.radar-steps li.is-done .radar-dot{border-color:var(--wa);background:var(--wa)}
.radar-steps li.is-done .radar-dot .icon{opacity:1}
@keyframes radar-spin{to{transform:rotate(360deg)}}

/* ---------- Entrada v2 ---------- */
.header--minimal{background:none;padding:18px 16px 0}
.lp{display:flex;flex-direction:column;padding:0 8px}
.lp-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 8px 0}
.lp-expert{display:flex;align-items:center;gap:14px;padding:8px 18px 8px 8px;border-radius:9999px;background:rgba(42,24,25,.75);border:1px solid rgba(214,165,130,.2);text-align:left}
.lp-photo{width:56px;height:56px;padding:2px;box-shadow:none;animation:none}
.lp-photo img{border-width:2px}
.lp-photo .expert-online{right:0;bottom:0;width:14px;height:14px;border-width:3px}
.lp-expert-txt{display:flex;flex-direction:column}
.lp-expert-txt b{font-size:15px;line-height:20px;font-weight:700}
.lp-expert-txt span{font-size:12px;line-height:16px;color:var(--accent);font-weight:500}
.lp-expert-txt em{font-style:normal;font-size:11px;line-height:16px;color:var(--muted-2);margin-top:2px}
.lp-tag{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:11px;line-height:16px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--muted)}
.lp-tag i{width:6px;height:6px;border-radius:50%;background:var(--wa);box-shadow:0 0 0 4px rgba(37,211,102,.15)}
.lp .landing-title{margin:12px 0 0;font-size:32px;line-height:39px}
.lp-sub{margin:14px 0 0;max-width:34ch;font-size:15px;line-height:23px;color:var(--muted);text-wrap:pretty}
.lp-ask{margin-top:32px;padding:22px 16px 20px;border-radius:28px;background:rgba(42,24,25,.7);border:1px solid rgba(214,165,130,.14)}
.lp-question{margin:0 0 16px;font-size:17px;line-height:24px;font-weight:600;text-align:center}
.lp-genders{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lp-gender{display:flex;align-items:center;gap:10px;padding:16px 14px;border:1.5px solid rgba(214,165,130,.25);border-radius:18px;background:rgba(137,95,62,.35);color:var(--text);font:600 16px/22px var(--font-body);cursor:pointer;transition:all .25s var(--ease)}
.lp-gender:active{transform:scale(.98)}
.lp-gender.is-selected{border-color:var(--accent);background:rgba(174,124,84,.6)}
.lp-sym{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(17,4,4,.5);color:var(--accent);font-size:18px;line-height:1}
.lp-glabel{flex:1;text-align:left}
.lp-gender .icon-chevron{width:16px;height:16px;color:var(--muted)}
.lp .landing-badges{margin:18px 0 0;gap:8px 16px}
.lp .landing-legal{margin:20px 0 0;padding:0 12px}
@media (hover:hover){.lp-gender:hover{border-color:var(--accent);background:rgba(174,124,84,.5)}}

/* ---------- Género com retrato ---------- */
.header--minimal{display:none}
.lp-hero{padding-top:32px}
.lp-gender{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border-radius:20px}
.lp-gimg{display:block;aspect-ratio:5/6;overflow:hidden;background:#1a0b07}
.lp-gimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.lp-gbar{display:flex;align-items:center;gap:10px;padding:14px 14px}
.lp-gender.is-selected .lp-gimg img{transform:scale(1.04)}
@media (hover:hover){.lp-gender:hover .lp-gimg img{transform:scale(1.04)}}

/* ---------- Radar: cabe num ecrã de telemóvel ---------- */
[data-step="radar"] .step-head{padding:14px 8px 10px}
[data-step="radar"] .step-title{font-size:18px;line-height:25px;max-width:34ch;margin:0 auto}
.radar-stage{width:min(100%,calc(100dvh - 430px),400px);min-width:240px;margin:0 auto;border-radius:24px}
.radar-panel{margin-top:6px;padding:14px 14px 4px;border-radius:20px}
.radar-status{font-size:15px;line-height:20px}
.radar-bar{margin-top:10px}
.radar-reads{gap:6px;margin-top:12px}
.radar-reads div{padding:8px 10px;border-radius:12px}
.radar-reads b{font-size:14px;line-height:18px;margin-top:2px}
.radar-steps{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;column-gap:12px}
.radar-steps li{padding:8px 0;gap:8px;font-size:12px;line-height:16px}
.radar-dot{width:16px;height:16px}.radar-dot .icon{width:10px;height:10px}
.radar-reveal{border-radius:24px;padding:16px}
.radar-reveal .expert-photo{width:min(96px,30%);height:auto;aspect-ratio:1}
.radar-reveal-eyebrow{margin-bottom:10px;font-size:10px}
.radar-reveal .expert-name{margin-top:8px;font-size:18px;line-height:22px}
.radar-reveal .expert-role{font-size:12px;line-height:16px}
.radar-reveal-meta{margin-top:4px;font-size:11px;line-height:15px}
@media (min-height:820px){.radar-stage{width:min(100%,calc(100dvh - 470px),420px)}}

.radar-msg{min-width:0;flex:1}
.radar-sub{margin:2px 0 0;font-size:12px;line-height:17px;color:var(--accent);font-style:italic;display:none}
.radar-top{align-items:flex-start}

/* ---------- Autocompletar cidade ---------- */
.field.has-suggest{position:relative}
.suggest{list-style:none;margin:8px 0 0;padding:6px;border-radius:20px;background:#2a1819;border:1px solid rgba(214,165,130,.25);box-shadow:0 14px 30px rgba(0,0,0,.45)}
.suggest[hidden]{display:none}
.suggest-item{display:block;width:100%;padding:12px 16px;border:0;border-radius:14px;background:none;color:var(--text);font:500 16px/22px var(--font-body);text-align:left;cursor:pointer}
.suggest-item:hover,.suggest-item:focus-visible{background:rgba(174,124,84,.35);outline:none}

/* ---------- Consentimento ---------- */
.consent{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));z-index:50;width:min(432px,calc(100% - 24px));transform:translateX(-50%);padding:16px;border-radius:20px;background:#2a1819;border:1px solid rgba(214,165,130,.28);box-shadow:0 18px 40px rgba(0,0,0,.55);animation:consent-in .35s var(--ease) both;transition:opacity .3s,transform .3s}
.consent.is-out{opacity:0;transform:translate(-50%,12px)}
.consent p{margin:0;font-size:13px;line-height:19px;color:var(--text-soft)}
.consent a{color:var(--accent)}
.consent-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:12px}
.consent-actions button{min-height:44px;border-radius:9999px;font:600 14px/20px var(--font-body);cursor:pointer}
.consent-no{background:none;border:1px solid rgba(214,165,130,.35);color:var(--text)}
.consent-yes{background:var(--cta);border:0;color:#1d0a04}
@keyframes consent-in{from{opacity:0;transform:translate(-50%,16px)}}
/* ---------- Prova social / confiança ---------- */
.reviews{display:grid;gap:10px;margin-top:22px;text-align:left}
.review{margin:0;padding:14px 16px;border-radius:18px;background:rgba(42,24,25,.7);border:1px solid rgba(214,165,130,.14)}
.review-stars{margin:0;font-size:12px;letter-spacing:2px;color:var(--accent)}
.review blockquote{margin:6px 0 0;font-size:14px;line-height:21px;color:var(--text-soft)}
.review figcaption{margin-top:8px;font-size:12px;line-height:16px;font-weight:600;color:var(--muted-2)}
.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:14px 0 0;padding:0;list-style:none;font-size:12px;line-height:16px;color:var(--muted)}
.trust-row li{display:flex;align-items:center;gap:5px}.trust-row .icon{width:14px;height:14px;color:var(--wa)}
a{color:var(--accent)}a:hover{color:var(--cta-on)}
/* ---------- Política ---------- */
.legal-page{padding:24px 20px 48px}
.legal-page h1{font-size:24px;line-height:30px;margin:18px 0 6px}
.legal-page h2{font-size:17px;line-height:24px;margin:24px 0 6px}
.legal-page p{font-size:14px;line-height:22px;color:var(--text-soft);margin:0 0 10px}
.legal-upd{color:var(--muted-2)!important;font-size:12px!important}

.review-head{display:flex;align-items:center;gap:10px}
.review-av{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#ae7c54,#5b3c25);color:#fff;font-weight:700;font-size:16px;border:2px solid rgba(255,198,112,.35)}
.review figcaption{margin:0;font-size:13px;line-height:18px;font-weight:600;color:var(--text)}
.review-head .review-stars{margin:1px 0 0;font-size:11px;letter-spacing:1px;white-space:pre}
.review blockquote{margin-top:10px}

/* ---------- Micro-respostas ---------- */
.reply{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:20px 16px calc(24px + env(safe-area-inset-bottom));background:rgba(17,4,4,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:reply-in .3s var(--ease) both}
.reply.is-out{animation:reply-out .26s var(--ease) both}
@media (min-height:640px){.reply{align-items:center}}
.reply-card{position:relative;width:min(420px,100%);padding:28px 24px 22px;border-radius:28px;overflow:hidden;background:radial-gradient(120% 90% at 50% 0%,#4a2a24 0%,#2a1517 55%,#1d0d0e 100%);border:1px solid rgba(214,165,130,.28);box-shadow:0 30px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,220,190,.12);text-align:center;animation:reply-card .5s cubic-bezier(.2,1.15,.4,1) both}
.reply-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(115deg,rgba(255,255,255,.018) 0 2px,transparent 2px 5px);mix-blend-mode:overlay}
.reply-reading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:24px;font-size:14px;line-height:20px;color:#d6a582;transition:opacity .25s var(--ease),max-height .35s var(--ease);max-height:40px}
.reply-dots{display:flex;gap:4px}
.reply-dots i{width:6px;height:6px;border-radius:50%;background:#d6a582;animation:rdot 1s infinite ease-in-out}
.reply-dots i:nth-child(2){animation-delay:.15s}.reply-dots i:nth-child(3){animation-delay:.3s}
@keyframes rdot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.reply-body{display:grid;justify-items:center;gap:10px;max-height:0;opacity:0;transform:translateY(8px);transition:opacity .45s var(--ease),transform .45s var(--ease),max-height .5s var(--ease)}
.reply.is-ready .reply-reading{opacity:0;max-height:0}
.reply.is-ready .reply-body{max-height:420px;opacity:1;transform:none}
.reply-mark{font-size:20px;line-height:20px;color:var(--accent);text-shadow:0 0 18px rgba(255,198,112,.6)}
.reply-title{margin:0;font-size:21px;line-height:28px;font-weight:700;color:#fff;text-wrap:balance}
.reply-text{margin:0;font-size:16px;line-height:24px;font-weight:400;color:#e9dcd4;text-wrap:pretty}
.reply-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:10px;padding-top:14px;border-top:1px solid rgba(214,165,130,.16)}
.reply-left{font-size:13px;line-height:18px;color:#c9a690}
.reply-next{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border:0;border-radius:9999px;background:var(--cta);color:#1d0d0e;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.reply-next:focus-visible{outline:2px solid #fff;outline-offset:3px}
.reply-bar{display:block;width:100%;height:2px;margin-top:4px;border-radius:9999px;background:rgba(214,165,130,.14);overflow:hidden}
.reply-bar i{display:block;height:100%;width:100%;background:var(--accent);transform:scaleX(0);transform-origin:left}
.reply.is-ready .reply-bar i{animation:reply-bar 4.2s linear both}
@keyframes reply-in{from{opacity:0}}
@keyframes reply-out{to{opacity:0}}
@keyframes reply-card{from{opacity:0;transform:translateY(24px) scale(.96)}}
@keyframes reply-bar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* ---------- Ecrã final curto + botão fixo ---------- */
.final-urgency{display:inline-flex;align-items:center;gap:8px;margin:0 auto 12px;padding:6px 12px;border-radius:9999px;background:rgba(249,166,69,.12);border:1px solid rgba(249,166,69,.3);font-size:12px;line-height:16px;font-weight:600;color:var(--cta)}
.final-urgency i{width:7px;height:7px;border-radius:50%;background:var(--cta);animation:bl 1.2s infinite}
@keyframes bl{50%{opacity:.25}}
.final{display:flex;flex-direction:column;align-items:center}
.final .reviews{width:100%}
.final .privacy{margin-top:20px}
[data-step="final"] .screen-footer{position:sticky;bottom:0;z-index:5;margin:0 -8px;padding:14px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 70%,rgba(17,4,4,0))}
[data-step="final"] .btn-whatsapp{animation:wa-pulse 2.2s ease-in-out infinite}
@keyframes wa-pulse{50%{box-shadow:0 0 0 8px rgba(37,211,102,.14)}}

/* ---------- Retomar ---------- */
.resume .reply-body{gap:12px}
.resume .resume-go{width:100%;margin-top:6px}
.resume .btn-link{margin:0}
/* ---------- Prova social ao vivo ---------- */
.proof{position:fixed;left:50%;top:calc(76px + env(safe-area-inset-top));z-index:30;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 32px);padding:9px 14px;border-radius:9999px;background:rgba(42,24,25,.94);border:1px solid rgba(214,165,130,.25);box-shadow:0 12px 30px rgba(0,0,0,.4);transform:translateX(-50%);animation:proof-in .45s var(--ease) both;pointer-events:none}
.proof.is-out{animation:proof-out .4s var(--ease) both}
.proof p{margin:0;font-size:13px;line-height:18px;color:#e9dcd4}
.proof strong{font-weight:700;color:#fff}
.proof-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--wa);box-shadow:0 0 0 0 rgba(37,211,102,.5);animation:proof-pulse 1.6s infinite}
@keyframes proof-in{from{opacity:0;transform:translate(-50%,-10px)}}
@keyframes proof-out{to{opacity:0;transform:translate(-50%,-10px)}}
@keyframes proof-pulse{70%{box-shadow:0 0 0 7px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@media (prefers-reduced-motion:reduce){.proof,.proof.is-out,.proof-dot{animation:none}}

/* ---------- Pop-up de saída ---------- */
.exit .reply-body{gap:12px}
.exit-kicker{font-size:12px;line-height:16px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.exit .exit-go{width:100%;margin-top:6px}
.exit .btn-link{margin:0}

/* ---------- Micro-resposta v2 (editorial) ---------- */
.insight{background:rgba(12,3,3,.7)}
.insight .reply-card{padding:22px 22px 20px;border-radius:20px;background:#211112;border:1px solid rgba(214,165,130,.2);box-shadow:0 30px 70px rgba(0,0,0,.6);text-align:left}
.insight .reply-card::before{display:none}
.insight .reply-bar{position:absolute;left:0;right:0;top:0;height:2px;margin:0;border-radius:0;background:rgba(214,165,130,.12)}
.insight.is-ready .reply-bar i{animation-duration:5s}
.insight-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(214,165,130,.14)}
.insight-label{font-size:11px;line-height:16px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#d6a582}
.insight-count{font-size:12px;line-height:16px;font-weight:600;color:#9c8173;font-variant-numeric:tabular-nums}
.insight .reply-reading{justify-content:flex-start;gap:12px;padding-top:16px;font-size:14px;color:#b8998a}
.insight.is-ready .reply-reading{padding-top:0}
.insight-scan{position:relative;width:56px;height:2px;border-radius:2px;background:rgba(214,165,130,.18);overflow:hidden}
.insight-scan i{position:absolute;top:0;bottom:0;width:40%;background:var(--accent);animation:scan 1s ease-in-out infinite}
@keyframes scan{0%{left:-40%}100%{left:100%}}
.insight .reply-body{justify-items:start;gap:0}
.insight.is-ready .reply-body{padding-top:16px}
.insight-choice{display:grid;gap:2px;width:100%;margin:0 0 16px;padding:10px 12px;border-radius:10px;background:rgba(214,165,130,.07)}
.insight-choice span{font-size:11px;line-height:14px;letter-spacing:.08em;text-transform:uppercase;color:#9c8173}
.insight-choice strong{font-size:14px;line-height:20px;font-weight:600;color:#f1e4da}
.insight .reply-title{font-size:22px;line-height:29px;text-wrap:balance}
.insight .reply-text{margin-top:8px;font-size:15px;line-height:23px;color:#d9c8bd}
.insight .reply-foot{margin-top:20px}
.insight .reply-next{background:#f3e6da;color:#211112;padding:0 18px}
@media (hover:hover){.insight .reply-next:hover{background:#fff}}
