/* Teste A/B Step 1 · Desafio 280+
   Sistema visual compartilhado por todas as variações */

:root {
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", monospace;

  --brand: #E96A2D;
  --brand-deep: #8b3f15;
  --brand-glow: #f5d6a8;
  --ink: #0a0a0a;
  --ink-2: #161514;
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --line-dark: rgba(255,255,255,.08);
  --line-light: rgba(0,0,0,.08);
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.5); }
  50%       { box-shadow: 0 0 0 12px rgba(52, 168, 83, 0); }
}

* { box-sizing: border-box; }

/* Mobile artboard */
.mob {
  width: 390px;
  height: 844px;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  border-radius: 36px;
  isolation: isolate;
  letter-spacing: -0.005em;
}
.mob.dark { background: var(--ink); color: #f5f1ea; }
.mob.light { background: var(--paper); color: var(--ink); }

/* Status bar (cosmético) */
.mob-sb {
  height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px 0;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
}
.mob-sb-r { display: flex; gap: 6px; align-items: center; opacity: .9; }
.mob-sb-r svg { display: block; }
.mob.dark .mob-sb { color: #fff; }
.mob.light .mob-sb { color: #0a0a0a; }

/* Conteúdo principal */
.mob-c {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 24px 24px;
  gap: 14px;
}

/* Logo "DESAFIO 280+" — placeholder até receber o real */
.logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 32% 28%, #f1ad6a 0%, #c4763a 30%, #8b3f15 70%, #4a1d08 100%);
  box-shadow:
    inset 0 -2px 4px rgba(0,0,0,.35),
    inset 0 1px 1px rgba(255,220,180,.4),
    0 2px 6px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 9.5px; color: var(--brand-glow);
  text-align: center; line-height: 1.05; letter-spacing: 0.04em;
}
.logo .l-ring {
  position: absolute; inset: 3px;
  border: 1px dashed rgba(245,214,168,.45);
  border-radius: 50%;
  pointer-events: none;
}
.logo span { display: block; }
.logo .l-big { font-size: 13px; letter-spacing: 0.06em; }
.logo .l-sm { font-size: 7px; letter-spacing: 0.18em; opacity: .8; margin-top: 1px; }
.logo.lg { width: 72px; height: 72px; }
.logo.lg .l-big { font-size: 16px; }
.logo.lg .l-sm { font-size: 8px; }
.logo.sm { width: 38px; height: 38px; }
.logo.sm .l-big { font-size: 9px; }
.logo.sm .l-sm { display: none; }

/* Progress bar */
.prog {
  height: 4px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.prog.light-bg { background: rgba(0,0,0,.08); }
.prog > i {
  display: block; height: 100%;
  background: var(--brand);
  border-radius: 999px;
}

/* CTA */
.cta {
  appearance: none; border: 0; cursor: pointer;
  width: 100%;
  height: 60px;
  border-radius: 16px;
  background: var(--cta-bg, var(--brand));
  color: var(--cta-fg, #0a0a0a);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -2px 0 rgba(0,0,0,.18),
    0 8px 20px -8px var(--cta-bg, var(--brand));
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:active { transform: translateY(1px); }
.cta .arr { font-size: 20px; line-height: 1; transform: translateY(-1px); }

.cta-quiet {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
  font-weight: 600;
}

/* Pílula / chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.mob.dark .chip { background: rgba(255,255,255,.07); color: #f5f1ea; }
.mob.light .chip { background: rgba(0,0,0,.06); color: #0a0a0a; }
.chip.brand { background: rgba(233,106,45,.14); color: var(--brand); }

/* Headlines */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.h-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mob.dark .h-sub { color: rgba(245,241,234,.72); }
.mob.light .h-sub { color: rgba(10,10,10,.65); }

/* Marcador de cor (highlight) */
.mark { color: var(--brand); }
.mark-strike { position: relative; display: inline-block; }
.mark-strike::after {
  content: ""; position: absolute; left: -3%; right: -3%;
  top: 52%; height: 8%;
  background: var(--brand);
  transform: rotate(-3deg);
  opacity: .85;
}

/* Avatares fake (prova social) */
.avstack { display: flex; align-items: center; }
.avstack i {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--paper);
  background: linear-gradient(135deg,#bea08a,#5a4032);
  margin-left: -8px;
  display: block;
}
.avstack i:first-child { margin-left: 0; }
.avstack i:nth-child(1){ background: linear-gradient(135deg,#caa78f,#7a523a);}
.avstack i:nth-child(2){ background: linear-gradient(135deg,#a89381,#3d2a1f);}
.avstack i:nth-child(3){ background: linear-gradient(135deg,#d2b08e,#8b5a35);}
.avstack i:nth-child(4){ background: linear-gradient(135deg,#9a8275,#2c1f17);}
.avstack i:nth-child(5){ background: linear-gradient(135deg,#bd9778,#6b4528);}
.mob.dark .avstack i { border-color: var(--ink); }

.stars { letter-spacing: 1px; color: #ffb84a; font-size: 14px; }

/* Photo placeholder — bloco visual sem foto real */
.ph {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 20%, #2a2520 0%, transparent 60%),
    linear-gradient(135deg, #1c1917 0%, #2a2520 60%, #3a312a 100%);
  display: flex; align-items: flex-end; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 8px, transparent 8px 16px);
}
.ph .ph-tag {
  position: relative; z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
}
.ph.light {
  background:
    radial-gradient(120% 80% at 70% 20%, #d8c9b4 0%, transparent 60%),
    linear-gradient(135deg, #ddd0bb 0%, #c8b89f 100%);
  color: rgba(40,30,20,.6);
}

/* Body text utilities */
.tiny { font-size: 12px; opacity: .7; }
.muted { opacity: .65; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; }
.row-spread { display: flex; align-items: center; justify-content: space-between; }
.col { display: flex; flex-direction: column; }
.spacer { flex: 1 1 0; }

/* hairline divider */
.hr {
  height: 1px; width: 100%;
  background: var(--line-dark);
}
.mob.light .hr { background: var(--line-light); }

/* === Variation-specific === */

/* V1 spec rows */
.v1-spec { display: flex; flex-direction: column; gap: 10px; }
.v1-spec li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.v1-spec li .x {
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.6);
}
.v1-spec li .check {
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
  font-weight: 800;
  font-size: 14px;
}
.v1-spec strong { font-weight: 700; }

/* V2 hero number */
.v2-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 110px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  display: flex; align-items: baseline; gap: 6px;
  color: var(--ink);
}
.v2-num .plus {
  font-size: 44px; line-height: 1; opacity: .35;
  font-weight: 700;
}
.v2-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.v2-ba {
  aspect-ratio: 1/1.15; border-radius: 12px; overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, #c8b89f 0%, #8a7458 100%);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  display: flex; align-items: flex-end; padding: 8px;
}
.v2-ba::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 6px, transparent 6px 12px);
}
.v2-ba.b { background: linear-gradient(180deg, #b8a78c 0%, #5a4530 100%); }
.v2-ba.c { background: linear-gradient(180deg, #d8c8af 0%, #7a6045 100%); }
.v2-ba span { position: relative; z-index: 1; }

/* V3 chips de pergunta */
.v3-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.v3-opts { display: flex; flex-direction: column; gap: 10px; }
.v3-opt {
  appearance: none;
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: inherit;
  border-radius: 14px;
  padding: 18px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .12s, border-color .12s, transform .08s;
}
.v3-opt:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.v3-opt:active { transform: scale(.99); }
.v3-opt .arr {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; opacity: .6;
}

/* V4 spec strip */
.v4-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
}
.v4-strip > div {
  padding: 14px 12px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.v4-strip > div:last-child { border-right: 0; }
.v4-strip .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand);
}
.v4-strip .lbl {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: .6;
}

/* V5 weeks visual */
.v5-weeks {
  display: flex; flex-direction: column; gap: 8px;
}
.v5-week {
  display: grid; grid-template-columns: 70px 1fr auto;
  align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.v5-week.past { opacity: .35; }
.v5-week.now {
  background: rgba(233,106,45,.1);
  border-color: rgba(233,106,45,.4);
}
.v5-week .wk {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: .7;
}
.v5-week.now .wk { color: var(--brand); opacity: 1; }
.v5-week .desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.v5-week .stat {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .6;
}
.v5-week.now .stat { color: var(--brand); opacity: 1; font-weight: 600; }
.v5-week .strike { text-decoration: line-through; }

/* Notice card */
.notice {
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .75;
  display: flex; gap: 8px; align-items: flex-start;
}
.notice .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  flex: 0 0 auto;
}

/* small caption above CTA */
.cta-help {
  font-size: 12.5px;
  text-align: center;
  margin-top: 4px;
  opacity: .55;
  display: flex; justify-content: center; align-items: center; gap: 6px;
}

/* === Canvas-level chrome === */
body { margin: 0; background: #f0eee9; font-family: var(--font-body); }

.hyp-card {
  font-family: var(--font-body);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 11px;
  color: rgba(40,30,20,.85);
  width: 360px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.hyp-card .tag {
  display: inline-block;
  background: rgba(233,106,45,.12);
  color: var(--brand);
  padding: 2px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.hyp-card h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1612;
}
.hyp-card p { margin: 0; line-height: 1.4; opacity: .8; }
.hyp-card .kpi {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,.08);
  font-size: 10.5px;
  display: flex; gap: 12px;
  font-family: var(--font-mono);
  color: rgba(40,30,20,.6);
}

/* DC label tweak — hide labels (a bit) since we use our own hyp-cards */
