/* Space Grotesk, SIL Open Font License 1.1 (ver fontes/LICENSE-space-grotesk.txt) */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fontes/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fontes/space-grotesk-latin-700-normal.woff2") format("woff2"); }

/* Cores e fonte iguais às do app Limpeza em Dólares */
:root {
  color-scheme: light;
  --navy: #0a3161;
  --navy-deep: #061f3f;
  --red: #b31942;
  --red-deep: #8a1333;
  --ink: #0b1b33;
  --muted: #4a5a75;
  --paper: #f3f5f9;
  --white: #fff;
  --line: #d9e0eb;
  --green: #1f7a4d;
  --green-soft: #bfe6cf;
  --wrong-soft: #f4bccb;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.cab :focus-visible { outline-color: #fff; }

.wrap { max-width: 720px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* Abertura azul-marinho com as listras da bandeira */
.cab {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.cab .wrap { position: relative; z-index: 1; padding-right: 2.6rem; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: .6rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.ponto { width: .75rem; height: .75rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.top-dir { display: flex; align-items: center; gap: .25rem; }
.demo { max-width: 5.5rem; font-size: .75rem; line-height: 1.2; text-align: right; color: rgb(255 255 255 / .7); }
.som {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-block: -.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  opacity: .85;
  transition: opacity .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.som:hover { opacity: 1; background: rgb(255 255 255 / .14); }
.som:active { transform: scale(.92); }
.som .corte { display: none; }
.som.mudo .corte { display: inline; }
.som.mudo .ondas { display: none; }

.stripes {
  position: absolute;
  inset: 0 0 0 auto;
  width: 1.1rem;
  z-index: 0;
  background: repeating-linear-gradient(180deg, var(--red) 0 calc(100% / 13), #fff calc(100% / 13) calc(200% / 13));
}
@media (min-width: 720px) {
  .stripes {
    width: clamp(200px, 32vw, 460px);
    -webkit-mask-image: linear-gradient(to left, rgb(0 0 0 / .6), transparent);
    mask-image: linear-gradient(to left, rgb(0 0 0 / .6), transparent);
  }
  .cab .wrap { padding-right: clamp(1rem, 4vw, 2rem); }
}

.hero { padding-block: .5rem 2.25rem; max-width: 34rem; }
/* Abertura: cada parte entra em sequência */
.top { animation: entrar .5s var(--ease) backwards; }
.stripes { animation: deslizar 1s var(--ease) backwards; }
.hero > * { animation: entrar .7s var(--ease) backwards; }
.hero > :nth-child(1) { animation-delay: .08s; }
.hero > :nth-child(2) { animation-delay: .16s; }
.hero > :nth-child(3) { animation-delay: .26s; }
.hero > :nth-child(4) { animation-delay: .36s; }
.hero > :nth-child(5) { animation-delay: .46s; }
.fatos li { animation: entrar .5s var(--ease) backwards; }
.fatos li:nth-child(1) { animation-delay: .56s; }
.fatos li:nth-child(2) { animation-delay: .64s; }
.fatos li:nth-child(3) { animation-delay: .72s; }
.kicker { font-size: .8125rem; color: rgb(255 255 255 / .75); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
h1 {
  margin-top: .6rem;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.lead { margin-top: 1rem; color: rgb(255 255 255 / .86); font-size: 1.0625rem; max-width: 46ch; }
.hero .btn { margin-top: 1.5rem; }
.fatos { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.25rem 0 0; }
.fatos li {
  font-size: .8125rem;
  padding: .3rem .75rem;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 999px;
  color: rgb(255 255 255 / .9);
}

main.wrap { padding-block: 1.5rem 7.5rem; }

/* Botões */
.btn {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .75rem 1.25rem;
  border: 0;
  border-radius: .75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(1px); }
.btn-vermelho { background: var(--red); }
.btn-vermelho:hover { background: var(--red-deep); }
.btn-azul { background: var(--navy); margin-top: 1rem; }
.btn-azul:hover { background: var(--navy-deep); }
.btn-grande { position: relative; min-height: 3.75rem; font-size: 1.1875rem; margin-top: 1rem; box-shadow: 0 8px 20px rgb(179 25 66 / .28); }
/* Anel que se expande de tempos em tempos para chamar o olhar */
.btn-grande::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: inherit;
  pointer-events: none;
  animation: onda 2.8s ease-out 1.6s infinite;
}

/* Teste */
.progresso { font-size: .875rem; color: var(--muted); font-weight: 500; }
.barra { height: .5rem; background: var(--line); border-radius: 999px; margin: .5rem 0 1.25rem; overflow: hidden; }
#barra { height: 100%; width: 0; background: var(--red); transition: width .4s var(--ease); }

.termo {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  background: #e4ebf6;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
/* Pergunta nova: etiqueta e texto entram de novo (a classe é reaplicada pelo script) */
.anima { animation: entrar .4s var(--ease) backwards; }
#pergunta.anima { animation-delay: .06s; }
h2 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }

.opcoes { display: grid; gap: .65rem; }
.opcao {
  min-height: 3.25rem;
  padding: .8rem 1rem;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: .75rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), opacity .3s var(--ease);
  /* alternativas entram em cascata (--n é a posição, definida pelo script) */
  animation: entrar .45s var(--ease) calc(var(--n, 0) * 70ms + 140ms) backwards;
}
@media (hover: hover) { .opcao:hover:not(:disabled) { transform: translateX(4px); } }
.opcao:hover:not(:disabled) { border-color: var(--navy); }
.opcao:active:not(:disabled) { transform: scale(.985); }
.opcao:disabled { cursor: default; }
.opcao:disabled:not(.certa):not(.errada) { opacity: .55; }
.opcao.certa { border-color: var(--green); border-width: 2px; background: var(--green-soft); font-weight: 700; animation: pop .45s var(--ease); }
.opcao.errada { border-color: var(--red); border-width: 2px; background: var(--wrong-soft); font-weight: 700; animation: tremer .45s ease-in-out; }
/* quando a pessoa erra, a certa aparece logo depois da tremida */
.opcao.certa.revelada { animation: pop .5s var(--ease) .35s backwards; }

.retorno {
  margin-top: 1rem;
  padding: 1.1rem;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: .75rem;
  animation: entrar .4s var(--ease) .12s backwards;
}
.retorno p + p { margin-top: .4rem; }
.veredito { font-weight: 700; font-size: 1.0625rem; }

/* Fim do teste grátis: aviso grande */
.fim {
  padding: 1.75rem 1.4rem;
  background: var(--navy);
  color: #fff;
  border-radius: 1rem;
  animation: entrar .55s var(--ease) backwards;
}
.fim::before { content: ""; display: block; width: 3rem; height: .3rem; margin-bottom: 1rem; border-radius: 999px; background: var(--red); box-shadow: 0 0 0 1px #fff; }
.fim-etiqueta { font-size: .875rem; font-weight: 500; color: rgb(255 255 255 / .8); margin-bottom: .5rem; }
.fim-num { display: inline-block; min-width: .7em; font-size: 1.25rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.fim-titulo { font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 .9rem; text-wrap: balance; }
.fim-texto { font-size: 1.0625rem; color: rgb(255 255 255 / .88); }

/* Oferta */
.oferta {
  margin-top: 1.25rem;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgb(10 49 97 / .14);
  animation: entrar .6s var(--ease) .3s backwards;
}
.lista { padding: 0; margin: .9rem 0 0; list-style: none; }
.lista li { position: relative; padding-left: 1.5rem; margin: .5rem 0; animation: entrar .5s var(--ease) backwards; }
.lista li:nth-child(1) { animation-delay: .6s; }
.lista li:nth-child(2) { animation-delay: .7s; }
.lista li:nth-child(3) { animation-delay: .8s; }
.preco { animation: entrar .5s var(--ease) .9s backwards; }
.lista li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--red); }
.preco { margin-top: 1.1rem; display: flex; align-items: baseline; gap: .6rem; }
.preco strong { font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1; letter-spacing: -.045em; color: var(--navy); }
.preco span { font-size: .9375rem; color: var(--muted); font-weight: 500; }
.pequeno { font-size: .8125rem; color: var(--muted); margin-top: .8rem; }

/* Barra de compra fixa no celular, na tela do resultado */
.compra-fixa {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgb(10 49 97 / .12);
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  animation: sobe-barra .6s var(--ease) .5s backwards;
}
.compra-fixa-dentro { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: .9rem; }
.compra-fixa-preco { font-size: 1.5rem; font-weight: 700; letter-spacing: -.04em; color: var(--navy); white-space: nowrap; }
.compra-fixa .btn { min-height: 3rem; }
@media (min-width: 720px) { .compra-fixa { display: none; } main.wrap { padding-bottom: 3rem; } }

.aviso { border-top: 1px solid var(--line); background: var(--white); padding-block: 1.25rem 7rem; font-size: .8125rem; color: var(--muted); }
a { color: var(--navy); }

@keyframes entrar { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes deslizar { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes tremer { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes onda { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.07, 1.3); opacity: 0; } }
@keyframes sobe-barra { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ilustração da questão: ícone desenhado ao lado do termo em inglês */
.cab-q { display: flex; align-items: center; gap: .9rem; margin-bottom: .85rem; }
.cab-q .termo { margin-bottom: 0; }
.ilustra { flex: 0 0 auto; display: grid; place-items: center; width: 4.75rem; height: 4.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: 0 6px 16px rgb(10 49 97 / .08); }
.ilustra svg { width: 3.4rem; height: 3.4rem; }
.ilustra.anima { animation: pop-ilustra .5s var(--ease) backwards; }
.mini-ilustra { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-right: .5rem; vertical-align: middle; background: var(--paper); border-radius: .6rem; }
.mini-ilustra svg { width: 1.8rem; height: 1.8rem; }
@keyframes pop-ilustra { from { opacity: 0; transform: scale(.7) rotate(-6deg); } to { opacity: 1; transform: none; } }
