/* Linguagem visual da loja vizzela.com.br: Montserrat Alternates, turquesa como ação,
   coral como carinho, amarelo dos selos e superfícies claras com cantos arredondados. */
:root {
  color-scheme: light;
  --page: #f6f6f6;
  --surface: #ffffff;
  --card: #ececec;
  --ink: #2b2523;
  --muted: #6b6461;
  --line: #e4e4e4;
  --teal: #5ac4c4;
  --teal-hover: #48b7b7;
  --teal-dark: #1d7778;
  --teal-soft: #e7f6f6;
  --teal-mark: #bfe9e9;
  --coral: #f28d9a;
  --coral-soft: #fdeef0;
  --yellow: #ffe14f;
  --error: #c0283d;
  --font: 'Montserrat Alternates', 'Montserrat', system-ui, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, textarea, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.site-width { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.announcement { margin: 0; padding: 9px 16px; background: var(--teal); color: #fff; text-align: center; font-size: .86rem; font-weight: 500; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 160px; height: auto; }
.store-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; text-decoration: none; font-size: .9rem; font-weight: 500; }
.store-link:hover, .footer a:hover { color: var(--teal-dark); }

.survey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  margin-top: 36px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(43 37 35 / .05), 0 8px 28px rgb(43 37 35 / .06);
  overflow: hidden;
}
.campaign { position: relative; min-width: 0; background: var(--card); }
.campaign img { height: 100%; width: 100%; display: block; position: absolute; object-fit: cover; object-position: 58% 46%; }
.survey-panel { display: grid; align-items: center; padding: 48px clamp(32px, 5vw, 72px); min-width: 0; }

.badge { display: inline-block; margin: 0 0 18px; padding: 5px 14px; border-radius: 99px; background: var(--yellow); font-size: .8rem; font-weight: 500; line-height: 1.4; }
h1, .success-heading { margin: 0; font: 600 clamp(2.3rem, 3.8vw, 3.25rem)/1.08 var(--font); letter-spacing: -.02em; }
h1 em, .success-heading em { font-style: normal; background: linear-gradient(transparent 62%, var(--teal-mark) 62%, var(--teal-mark) 92%, transparent 92%); padding-inline: 2px; }
.time-note { margin: 10px 0 0; color: var(--teal-dark); font-size: .86rem; font-weight: 500; }
.intro-copy { max-width: 40ch; color: var(--muted); margin: 18px 0 22px; }

.gift { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--coral-soft); }
.gift p { margin: 0; font-size: .86rem; line-height: 1.45; }
.gift strong { display: inline-block; margin-bottom: 2px; font-size: .92rem; font-weight: 600; }
.gift-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; background: var(--surface); color: var(--coral); border-radius: 50%; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out; }
.button span[aria-hidden], .store-link span[aria-hidden] { font: 400 1.15rem/1 system-ui, sans-serif; }
.primary { background: var(--teal); color: var(--ink); }
.primary:hover { background: var(--teal-hover); }
.primary:disabled { opacity: .7; cursor: wait; }
.start { width: 100%; justify-content: space-between; margin-top: 16px; }
.error { margin: 10px 0 0; color: var(--error); font-size: .86rem; font-weight: 500; }

.cashback { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 24px; border-radius: var(--radius); background: var(--teal-soft); }
.cashback-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--surface); color: var(--teal-dark); }
.cashback-copy { flex: 1; }
.cashback h2 { margin: 0; font: 600 1rem/1.4 var(--font); }
.cashback p { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.cashback-link { border-color: var(--teal-dark); color: var(--teal-dark); background: var(--surface); white-space: nowrap; }
.cashback-link:hover { background: var(--teal-dark); color: #fff; }
.footer { display: flex; justify-content: end; padding-block: 18px; font-size: .78rem; color: var(--muted); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

.progress-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.topic { color: var(--teal-dark); font-weight: 600; }
progress { display: block; width: 100%; height: 6px; margin: 10px 0 26px; appearance: none; border: 0; border-radius: 99px; background: var(--card); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--card); }
progress::-webkit-progress-value { background: var(--teal); border-radius: 99px; transition: width .2s ease-out; }
progress::-moz-progress-bar { background: var(--teal); border-radius: 99px; }
#question { margin: 0 0 14px; font: 600 clamp(1.35rem, 2.2vw, 1.7rem)/1.25 var(--font); letter-spacing: -.01em; }
#question:focus, .success-heading:focus { outline: none; }
.question-hint { margin: -6px 0 12px; color: var(--muted); font-size: .85rem; }
.choices { display: grid; gap: 8px; }
.choices.dense { grid-template-columns: 1fr 1fr; }
.choice { display: flex; gap: 10px; align-items: center; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-size: .875rem; line-height: 1.3; transition: border-color .14s ease-out, background-color .14s ease-out; }
.choice:hover { border-color: var(--teal); }
.choice:has(:checked) { border-color: var(--teal); background: var(--teal-soft); font-weight: 500; }
.choice:has(:focus-visible) { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--teal-dark); }
.detail { margin: 12px 0 0; }
.detail label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; }
textarea, .detail input { display: block; min-height: 46px; width: 100%; padding: 11px 12px; background: var(--surface); border: 1px solid #cfcfcf; border-radius: 10px; }
textarea:focus, .detail input:focus { border-color: var(--teal-dark); }
textarea { resize: vertical; }
.actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 20px; }
.back { color: var(--muted); background: transparent; padding-inline: 8px; font-weight: 500; }
.back:hover { color: var(--teal-dark); }

.coupon { border: 1.5px dashed var(--teal); border-radius: 12px; background: var(--teal-soft); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.coupon span { display: block; color: var(--muted); font-size: .8rem; }
/* O código vai numa fonte neutra: as maiúsculas alternativas da Montserrat Alternates confundem letras do cupom. */
.coupon strong { display: block; font: 700 1.3rem/1.3 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.copy { color: var(--ink); background: var(--yellow); }
.copy:hover { background: #f8d42c; }
.copy-status { color: var(--teal-dark); font-size: .85rem; font-weight: 500; margin: 8px 0 0; }
.copy-status:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (max-width: 850px) {
  .site-width { width: calc(100% - 40px); }
  .survey-layout { min-height: 520px; }
  .survey-panel { padding: 34px 28px; }
  .choices.dense { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-width { width: calc(100% - 32px); }
  .announcement { font-size: .78rem; padding-block: 8px; }
  .header-inner { min-height: 62px; }
  .brand img { width: 124px; }
  .store-link { font-size: .85rem; }
  .survey-layout { grid-template-columns: 1fr; min-height: 0; margin-top: 16px; }
  .campaign { min-height: 240px; }
  .campaign img { object-position: 60% 36%; }
  .survey-layout:has(#intro[hidden]) .campaign { display: none; }
  .survey-panel { padding: 24px 20px 26px; }
  .badge { margin-bottom: 14px; }
  h1, .success-heading { font-size: clamp(2rem, 9vw, 2.5rem); }
  .intro-copy { margin: 14px 0 18px; }
  .cashback { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; align-items: start; }
  .cashback-icon { width: 40px; height: 40px; }
  .cashback-link { grid-column: 2; justify-self: start; margin-top: 4px; }
  .footer { padding-block: 8px; }
}
@media (max-width: 370px) {
  .campaign { min-height: 210px; }
  .survey-panel { padding-inline: 16px; }
  .button { gap: 8px; }
}
