/* Página de vendas do Avaliação Marcada. Identidade do painel (verde-azulado #0E7285, casca escura
   #10212A, Manrope). Pouco texto, cenas animadas no lugar de parágrafo, celular primeiro. */

:root {
  --tinta: #12212A;
  --casca: #10212A;
  --casca-2: #17303B;
  --acento: #0E7285;
  --acento-forte: #0A5A6A;
  --acento-claro: #DDEFF2;
  --brilho: #8FD3E0;
  --fundo: #F4F7F8;
  --superficie: #FFFFFF;
  --linha: #DCE4E8;
  --suave: #4C5F6B;
  --fraco: #7A8B97;
  --ouro: #8F6410;
  --ouro-claro: #F6EEDA;
  --vermelho: #C2412D;
  --verde-zap: #DCF8C6;
  --fundo-zap: #ECE5DD;
  --raio: 16px;
  --sombra: 0 1px 2px rgba(18, 33, 42, .06), 0 18px 40px -24px rgba(18, 33, 42, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--fundo);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.largura { width: min(1080px, 100% - 32px); margin: 0 auto; }
.estreita { width: min(680px, 100% - 32px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------------- topo ---------------- */

.topo { background: var(--casca); color: #fff; position: sticky; top: 0; z-index: 10; }
.topo-linha { display: flex; justify-content: space-between; align-items: center; height: 58px; gap: 12px; }
.marca { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.marca svg { width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: linear-gradient(150deg, #1590A6, var(--acento-forte)); stroke-width: 2.3; }

/* ---------------- botões ---------------- */

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 100px;
  background: var(--acento); color: #fff; border: none;
  font: inherit; font-weight: 800; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: filter .15s, transform .15s;
}
.botao:hover { filter: brightness(1.08); }
.botao:active { transform: scale(.98); }
.botao:focus-visible { outline: 3px solid var(--brilho); outline-offset: 2px; }
.botao.pequeno { min-height: 38px; padding: 0 16px; font-size: 13px; }
.botao.secundario { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.botao.claro { background: #fff; color: var(--acento-forte); }
.botao.largo { width: 100%; }

/* ---------------- abertura ---------------- */

.abertura { background: var(--casca); color: #fff; padding: 36px 0 44px; overflow: hidden; }
.abertura-grade { display: grid; gap: 34px; align-items: center; }
.selo { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 800; color: var(--brilho); }
.selo.ouro { background: var(--ouro-claro); color: var(--ouro); padding: 6px 13px; border-radius: 100px; font-size: 12.5px; }
h1 { margin: 0 0 14px; font-size: clamp(31px, 8.4vw, 50px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
h1 span { color: var(--brilho); }
.subtitulo { margin: 0 0 24px; font-size: 17px; color: #C7D8DF; max-width: 42ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }

.vitrine { margin: 0; }
.vitrine figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: #8FA7B1; }
.vitrine figcaption a { color: var(--brilho); font-weight: 700; text-decoration: none; }

/* ---------------- celulares ---------------- */

.celular {
  background: var(--fundo-zap);
  /* A cor do texto é fixada aqui: dentro da abertura escura ela vinha branca e sumia nas bolhas
     claras (18/10, visto no iPhone do gestor). */
  color: var(--tinta);
  border-radius: 26px;
  box-shadow: var(--sombra), 0 0 0 7px #0B1A21;
  overflow: hidden;
  display: flex; flex-direction: column;
  margin: 0 auto;
}
.celular.grande { width: min(370px, 100%); height: 500px; }
.celular.mini { width: 100%; height: 250px; border-radius: 18px; box-shadow: var(--sombra), 0 0 0 5px #0B1A21; }
.celular-topo { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--casca-2); color: #fff; }
.celular-topo strong { display: block; font-size: 14.5px; line-height: 1.2; }
.celular-topo small { color: #A9C0C9; font-size: 12px; }
.avatar { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 100px; background: var(--acento); display: grid; place-items: center; font-weight: 800; font-size: 13px; }

.tela { flex: 1; overflow: hidden; padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.tela.conversa { overflow-y: auto; justify-content: flex-start; }
.mini .tela { padding: 10px 8px; gap: 5px; }

/* bolhas: as das cenas e as da conversa ao vivo */
.bolha {
  max-width: 84%; padding: 7px 10px 6px; border-radius: 10px;
  font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  animation: entrar .28s ease-out both;
}
.mini .bolha { font-size: 12px; padding: 6px 8px 5px; }
.bolha.paciente { align-self: flex-end; background: var(--verde-zap); border-top-right-radius: 3px; }
.bolha.clinica, .bolha.ia { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bolha.robo { align-self: flex-start; background: #fff; border-top-left-radius: 3px; color: #445; }
.bolha .hora { display: block; text-align: right; font-size: 10px; color: #8A9AA2; margin-top: 2px; }
.bolha .hora .vistos { color: #34B7F1; letter-spacing: -2px; margin-left: 3px; }
.bolha .hora .um { color: #8A9AA2; margin-left: 3px; }
.bolha.sistema { align-self: center; max-width: 94%; background: var(--acento-claro); color: var(--acento-forte); font-size: 13px; text-align: center; }

.nota {
  align-self: center; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--vermelho);
  background: rgba(255, 255, 255, .85); border-radius: 100px; padding: 5px 12px;
  animation: entrar .35s ease-out both;
}
.mini .nota { font-size: 11px; }
.relogio {
  align-self: center; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--casca-2); border-radius: 100px; padding: 4px 12px;
  animation: entrar .3s ease-out both;
}
.dias { align-self: center; display: flex; gap: 6px; }
.dias span {
  font-size: 11px; font-weight: 800; color: var(--suave); background: rgba(255, 255, 255, .85);
  border-radius: 100px; padding: 4px 9px; animation: entrar .3s ease-out both;
}
.saiu { opacity: .35; transition: opacity .8s; }

.digitando { display: flex; gap: 4px; padding: 11px 13px; align-self: flex-start; background: #fff; border-radius: 10px; border-top-left-radius: 3px; }
.digitando.dele { align-self: flex-end; background: var(--verde-zap); border-top-left-radius: 10px; border-top-right-radius: 3px; }
.digitando i { width: 6px; height: 6px; border-radius: 100px; background: var(--fraco); opacity: .4; animation: pulsar 1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; }
.digitando i:nth-child(3) { animation-delay: .3s; }

.cartao-final {
  align-self: stretch; margin: 6px 4px 2px;
  display: flex; align-items: center; gap: 12px;
  background: var(--acento); color: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 24px -12px rgba(14, 114, 133, .9);
  animation: saltar .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.cartao-final svg { width: 34px; height: 34px; flex: 0 0 auto; stroke-width: 2.2; }
.cartao-final b { display: block; font-size: 16px; }
.cartao-final span { font-size: 12.5px; color: #DDF2F6; }

@keyframes entrar { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes saltar { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes pulsar { 50% { opacity: 1; } }

/* ---------------- seções ---------------- */

.secao { padding: 56px 0; }
.secao.escura { background: var(--casca); color: #fff; }
.secao.clara { background: var(--superficie); }
h2 { margin: 0 0 26px; font-size: clamp(26px, 6.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }

.dores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
.dor { margin: 0; }
.dor figcaption { margin-top: 12px; font-size: 13.5px; color: var(--suave); line-height: 1.35; }
.dor figcaption b { display: block; font-size: 15px; color: var(--tinta); margin-bottom: 2px; }

.beneficios { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.beneficios li { background: var(--casca-2); border-radius: var(--raio); padding: 18px 16px; }
.beneficios svg { width: 30px; height: 30px; color: var(--brilho); margin-bottom: 10px; display: block; }
.beneficios b { display: block; font-size: 16px; margin-bottom: 3px; }
.beneficios span { color: #A9C0C9; font-size: 14px; }
.nota-escura { margin: 22px 0 0; color: #A9C0C9; font-size: 15px; }

/* ---------------- teste ao vivo ---------------- */

.teste { background: linear-gradient(180deg, var(--acento-claro), var(--fundo)); }
.teste-grade { display: grid; gap: 26px; align-items: center; }
.teste-texto p { margin: 0 0 12px; font-size: 17px; color: var(--suave); max-width: 40ch; }
.teste-texto .pequeno { font-size: 13px; color: var(--fraco); }
.teste-texto h2 { margin-bottom: 12px; }
.ao-vivo, .selo-vivo {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--vermelho);
}
.ao-vivo { margin: 0 0 10px !important; background: #fff; padding: 6px 12px; border-radius: 100px; box-shadow: var(--sombra); }
.ao-vivo i, .selo-vivo i { width: 9px; height: 9px; border-radius: 100px; background: #E5484D; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: vivo 1.6s infinite; }
.selo-vivo { margin-left: auto; color: #FFB4B0; font-size: 11px; text-transform: uppercase; }
@keyframes vivo { 70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }

.celular.vivo { height: 560px; box-shadow: 0 30px 60px -30px rgba(14, 114, 133, .8), 0 0 0 7px #0B1A21; }
.comece { margin: auto 0 4px; text-align: center; }
.comece p { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--suave); }
.sugestoes { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.sugestoes button {
  font: inherit; font-size: 15px; font-weight: 700; text-align: left;
  border: 2px solid var(--acento); background: #fff; color: var(--acento-forte);
  border-radius: 14px; padding: 12px 14px; cursor: pointer;
  box-shadow: 0 6px 14px -10px rgba(14, 114, 133, .9);
  transition: transform .12s, background .12s;
}
.sugestoes button::after { content: "  →"; color: var(--acento); }
.sugestoes button:hover { background: var(--acento-claro); }
.sugestoes button:active { transform: scale(.98); }

.escrever { display: flex; gap: 8px; padding: 10px; background: var(--fundo-zap); }
.escrever input {
  flex: 1; min-width: 0; font: inherit; font-size: 15.5px;
  border: 2px solid var(--acento); border-radius: 100px; padding: 11px 16px; background: #fff; color: var(--tinta);
  animation: chamar 2.2s ease-in-out infinite;
}
.escrever input:focus { outline: none; animation: none; box-shadow: 0 0 0 4px rgba(14, 114, 133, .2); }
.escrever.usado input { animation: none; border-color: transparent; }
@keyframes chamar { 50% { box-shadow: 0 0 0 5px rgba(14, 114, 133, .22); } }
.escrever button { width: 46px; height: 46px; flex: 0 0 auto; border: none; border-radius: 100px; background: var(--acento); color: #fff; cursor: pointer; display: grid; place-items: center; }
.escrever button:disabled, .escrever input:disabled { opacity: .55; cursor: not-allowed; }
.escrever svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ---------------- como começa ---------------- */

.comeco { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.comeco li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; background: var(--fundo); border-radius: var(--raio); padding: 16px; }
.comeco .num { grid-row: span 2; width: 44px; height: 44px; border-radius: 100px; background: var(--acento); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.comeco b { font-size: 16px; }
.comeco small { color: var(--suave); font-size: 14px; }

/* ---------------- preço ---------------- */

.preco { max-width: 420px; margin: 0 auto; background: var(--superficie); border: 2px solid var(--acento); border-radius: 22px; padding: 26px 22px 22px; box-shadow: var(--sombra); text-align: center; }
.valor { margin: 6px 0 0; font-size: 66px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.valor span { font-size: 22px; vertical-align: 30px; margin-right: 4px; letter-spacing: 0; }
.valor small { font-size: 18px; color: var(--suave); letter-spacing: 0; font-weight: 700; }
.implantacao { margin: 8px 0 18px; color: var(--suave); font-weight: 700; }
.preco ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; display: grid; gap: 8px; }
.preco li { padding-left: 26px; position: relative; font-size: 15px; font-weight: 600; }
.preco li::before { content: "✓"; position: absolute; left: 4px; color: var(--acento); font-weight: 800; }

/* ---------------- perguntas ---------------- */

details { border-bottom: 1px solid var(--linha); padding: 15px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--acento); font-weight: 800; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "×"; }
summary:focus-visible { outline: 2px solid var(--acento); outline-offset: 4px; border-radius: 4px; }
details p { margin: 10px 0 0; color: var(--suave); font-size: 15px; }

/* ---------------- final e rodapé ---------------- */

.final { background: linear-gradient(150deg, #1590A6, var(--acento-forte)); color: #fff; padding: 56px 0; text-align: center; }
.final h2 { margin-bottom: 10px; }
.final p { margin: 0 auto 24px; max-width: 40ch; color: #DDF2F6; font-size: 16.5px; }
.rodape { background: var(--casca); color: #8FA7B1; font-size: 12.5px; padding: 22px 0 28px; text-align: center; }
.rodape p { margin: 0; }
.rodape b { color: #fff; }

/* ---------------- telas maiores ---------------- */

@media (min-width: 760px) {
  .dores { grid-template-columns: repeat(4, 1fr); }
  .beneficios { grid-template-columns: repeat(4, 1fr); }
  .comeco { grid-template-columns: repeat(3, 1fr); }
  .comeco li { grid-template-columns: 1fr; text-align: left; row-gap: 6px; }
  .comeco .num { grid-row: auto; margin-bottom: 6px; }
  .celular.mini { height: 280px; }
}

@media (min-width: 980px) {
  .abertura { padding: 64px 0 72px; }
  .abertura-grade { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .teste-grade { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}
