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

:root {
  --ink: #eaeaea;
  --ink-2: #f0f0f0;
  --soft: #d8d8d8;
  --muted: #c4c4c4;
  --paper: #707070;
  --white: #ffffff;
  --line: #d0d0d0;
  --btn: #3a3a3a;
  --btn-hover: #2f2f2f;
  --btn-text: #eaeaea;
  --btn-border: #d5d5d5;
  --card-ink: #3a3a3a;
  --card-ink-2: #2f2f2f;
  --card-soft: #555555;
  --card-muted: #8a8a8a;
  --pad: 20px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "proxima-soft", "Nunito Sans", "proxima-nova", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px var(--pad) 48px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 12px 0 8px;
}

.logo {
  display: block;
  width: auto;
  height: 200px;
  max-width: 283px;
  max-height: 200px;
  object-fit: contain;
  object-position: center;
}

.header h1 {
  font-family: "proxima-nova", "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  line-height: 1.25;
  max-width: 22ch;
}

.lead {
  color: var(--soft);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: 0 auto;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 640px;
  margin: 10px auto 18px;
  flex-wrap: wrap;
}

.progress span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a9a9a;
  display: inline-block;
}

.progress span.is-on {
  background: var(--ink-2);
}

.progress span.is-done {
  background: #c8c8c8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.panel {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.q-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.question {
  font-family: "proxima-nova", "Nunito Sans", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--ink-2);
}

.options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.opt {
  appearance: none;
  width: 100%;
  min-width: 0;
  text-align: left;
  background: var(--white);
  color: var(--card-ink);
  border: 1px solid var(--card-ink);
  border-radius: 0;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  word-break: break-word;
}

.opt:hover,
.opt:focus-visible {
  background: #efefef;
  outline: 2px solid var(--card-ink);
  outline-offset: 2px;
}

.opt[aria-pressed="true"] {
  background: var(--btn);
  color: var(--btn-text);
  border-color: var(--btn);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  min-height: 44px;
}

.nav-link {
  appearance: none;
  background: none;
  border: none;
  color: var(--soft);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink-2);
  text-decoration: underline;
}

.nav-link:disabled {
  visibility: hidden;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #383838;
  color: #b5b5b5;
  border: 1px solid #383838;
  border-radius: 3px;
  padding: 15px 37.5px;
  height: 53px;
  font-family: "proxima-soft", "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  opacity: 1;
  transition: opacity 0.1s linear;
}

.btn:hover {
  opacity: 0.8;
}

.btn:focus-visible {
  opacity: 0.8;
  outline: 2px solid var(--ink-2);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--btn);
  color: var(--btn-text);
}

.results-head {
  text-align: center;
  margin: 8px 0 24px;
}

.results-head h2 {
  font-family: "proxima-nova", "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.results-head p {
  color: var(--soft);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

.results-more {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--soft);
  font-family: "proxima-soft", "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0 2px;
  margin: 4px 0 0;
}

.card {
  background: var(--white);
  color: var(--card-ink);
  border: 1px solid var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.card-photo {
  aspect-ratio: 1 / 1;
  background: #f0eeeb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.card-name {
  font-family: "proxima-nova", "Nunito Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--card-ink-2);
  word-break: break-word;
}

.card-price {
  font-size: 1rem;
  color: var(--card-ink-2);
}

.card-price s {
  color: var(--card-muted);
  margin-right: 10px;
  font-weight: 400;
}

.card-why {
  color: var(--card-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  flex: 1;
}

.card .btn {
  width: 100%;
  margin-top: 6px;
}

.results-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.btn-loja {
  text-align: center;
  max-width: 100%;
  white-space: normal;
  height: auto;
  min-height: 53px;
  padding: 15px 37.5px;
  line-height: normal;
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 28px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.is-results .lead {
  display: none;
}

.error {
  text-align: center;
  color: var(--soft);
  padding: 40px 16px;
}

.site-foot {
  width: 100%;
  margin: 48px auto 0;
  text-align: center;
}

.foot-privacy {
  margin: 0 0 44.5px;
  padding: 0;
  text-align: center;
  font-family: "proxima-soft", "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  line-height: normal;
  color: #ada4a4;
}

.foot-privacy a {
  color: #ada4a4;
  text-decoration: none;
  font: inherit;
}

.foot-privacy a:hover,
.foot-privacy a:focus-visible {
  color: #d9d9d9;
  text-decoration: underline;
}

.foot-copy {
  margin: 53.5px 0 0;
  padding: 0;
  text-align: center;
  font-family: "proxima-soft", "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  line-height: 27px;
  color: #ada4a4;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
  color: #bdbdbd;
  text-decoration: none;
  flex: 0 0 20px;
}

.socials svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: #bdbdbd;
}

.socials a:hover svg,
.socials a:focus-visible svg {
  fill: #eaeaea;
}

.socials a:focus-visible {
  outline: 2px solid #eaeaea;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .panel {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .panel .q-kicker,
  .panel .question {
    text-align: center;
  }

  .panel .nav {
    justify-content: center;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

@media (min-width: 1080px) {
  .wrap {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 400px) {
  :root {
    --pad: 16px;
  }

}

/* ===== Botões flutuantes (padrão Loja Alalux / alaluxvirtual.com) ===== */
.float-stack {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  z-index: 999;
}

.to-top {
  position: fixed;
  right: 23px;
  bottom: 96px;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 150px;
  background: #c4161c;
  color: #ffffff;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out, filter 0.15s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.to-top:hover {
  filter: brightness(1.08);
}

.to-top:focus {
  outline: none;
}

.to-top:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.to-top svg {
  display: block;
  width: 30px;
  height: 30px;
  stroke: #ffffff;
  fill: none;
  pointer-events: none;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  z-index: 999;
  display: block;
  line-height: 0;
}

.wa-float img {
  display: block;
  width: 60px;
  height: 60px;
  max-width: 60px;
}

.wa-float:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 50%;
}

/* espaço no fim da página para os botões flutuantes não cobrirem o rodapé no celular */
@media (max-width: 860px) {
  .wrap {
    padding-bottom: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}


/* ===== Links cruzados (apenas abaixo do resultado) ===== */
.cross-links {
  margin: 32px auto 0;
  max-width: 36rem;
  padding: 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cross-links p {
  margin: 0;
  color: #D6D6D6;
  font-family: "proxima-soft", "Nunito Sans", "proxima-nova", sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cross-links a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cross-links a:hover,
.cross-links a:focus-visible {
  color: #ffffff;
  opacity: 0.85;
}

.cross-links a:focus {
  outline: none;
}

.cross-links a:focus-visible {
  outline: 2px solid #eaeaea;
  outline-offset: 2px;
}
