/* Página do produto Ary CCP. Sem fonte nem imagem de fora (CSP): fontes do sistema, celular desenhado em CSS. */
:root {
  --tinta: #14314a;
  --ceu: #4fa8e8;
  --laranja: #ff9900; /* o do círculo do ícone do app */
  --papel: #f5f8fb;
  --atender: #1e8e3e;
  --recusar: #d93025;
  --nevoa: #5b6b7a;
  --linha: #d7e2ec;
  --sinal: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", sans-serif;
  --texto: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* barra de rolagem no laranja do ícone (pedido do dono 30/11): padrão atual (Firefox, Chrome/Edge 121+) ... */
html { scrollbar-color: var(--laranja) var(--papel); }
/* ... e Safari/WebKit, que ainda usam os seletores próprios */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--papel); }
::-webkit-scrollbar-thumb { background: var(--laranja); border-radius: 6px; border: 3px solid var(--papel); }

/* confiança na hora de pagar (seção de preços) */
.confianca { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 0.6rem; }
.confianca li { display: flex; gap: 0.6rem; align-items: flex-start; }
.confianca img { flex: none; margin-top: 0.15rem; }
.confianca li > span:only-child { margin-left: calc(20px + 0.6rem); } /* sem ícone: alinha com o texto do cadeado */
.selo-stripe { display: block; width: 150px; height: auto; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 1.0625rem/1.6 var(--texto);
}

a { color: var(--tinta); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--ceu); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--sinal); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 0.3rem; }

code { font-size: 0.92em; background: #e6eef5; padding: 0.1em 0.35em; border-radius: 4px; word-break: break-all; }

/* ---- topo ---- */
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 68rem; margin: 0 auto; padding: 1.1rem 1.5rem;
}
.abertura h1 { display: flex; align-items: center; gap: 0.3em; max-width: none; }
.titulo-icone { width: 1.25em; height: 1.25em; flex: none; }
/* título da página de obrigado: ícone no meio da linha e o laranja do ícone, como o título da página principal */
.titulo-obrigado { display: flex; align-items: center; gap: 0.3em; color: var(--laranja); }
.topo nav { display: flex; gap: 1.25rem; font-size: 0.98rem; }
.topo nav a { white-space: nowrap; }
.idiomas { display: flex; gap: 0.5rem; }
.idiomas a { display: block; line-height: 0; padding: 3px; border-radius: 4px; opacity: 0.55; }
.idiomas a:hover, .idiomas a[aria-current="page"] { opacity: 1; }
.idiomas a[aria-current="page"] { outline: 2px solid var(--ceu); }
.idiomas img { display: block; width: 24px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgb(20 49 74 / 0.15); }
.aviso { margin: 0.8rem 0 0; padding: 0.6rem 0.8rem; border-left: 3px solid var(--ceu); background: #e6eef5; font-size: 0.95rem; }

/* ---- abertura: o celular tocando é a peça da página ---- */
.abertura {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 3rem;
  max-width: 68rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem;
}
.abertura h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem); margin: 0 0 1.2rem; max-width: 14ch; color: var(--laranja); }
.chamada { font-size: 1.2rem; max-width: 34rem; margin: 0 0 1.4rem; }
.venda { font-family: var(--sinal); font-size: 1.2rem; font-weight: 600; color: var(--atender); margin: 0 0 1rem; }
.independente { color: var(--nevoa); font-size: 0.95rem; margin: 0; }

.baixar-linha { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 1.2rem; }
.baixar-linha span { color: var(--nevoa); font-size: 0.92rem; }
.baixar {
  display: inline-block; padding: 0.75rem 1.5rem; border-radius: 999px;
  background: var(--atender); color: #fff; font-weight: 600; text-decoration: none;
}
.baixar:hover { background: #17722f; }
.baixar:focus-visible { outline: 3px solid var(--ceu); outline-offset: 3px; }
/* botão "Assinar" da tabela de preços: um formulário por plano, sem script */
.assinar { padding: 0.5rem 1.1rem; border: 0; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
td form { margin: 0; }
.passos > p:first-of-type { margin: 0 0 1.4rem; }

.celular {
  justify-self: center;
  width: min(17rem, 78vw); aspect-ratio: 9 / 18.5;
  padding: 0.7rem; border-radius: 2.4rem;
  background: var(--tinta);
  box-shadow: 0 1.5rem 3rem -1.2rem rgb(20 49 74 / 0.55);
}
.tela {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.2rem 1rem 1.6rem; border-radius: 1.8rem;
  background: #1b2a3c; color: #fff;
}
.tela p { margin: 0; }
.tela-app { color: var(--laranja); font-weight: 700; font-size: 0.85rem; }
.tela-quem { font-family: var(--sinal); font-size: 1.55rem; font-weight: 600; margin-top: 2.4rem !important; }
.tela-fila { color: #aab7c4; font-size: 0.85rem; margin-top: 0.4rem !important; }

.toque {
  position: relative; display: block; width: 4.2rem; height: 4.2rem; margin: auto 0;
  border-radius: 50%; background: var(--ceu);
}
.toque::before, .toque::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--ceu); animation: tocar 1.8s ease-out infinite;
}
.toque::after { animation-delay: 0.9s; }
@keyframes tocar {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(2.3); opacity: 0; }
}

.tela-botoes { display: flex; gap: 0.8rem; width: 100%; }
.botao {
  flex: 1; padding: 0.7rem 0; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; color: #fff;
}
.recusar { background: var(--recusar); }
.atender { background: var(--atender); }

/* ---- seções ---- */
main > section:not(.abertura) { max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem; border-top: 1px solid var(--linha); }

.faz ul, .requisitos ul { padding-left: 1.2rem; margin: 0; }
.faz li, .requisitos li { margin-bottom: 0.9rem; }

.passos ol { counter-reset: passo; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.passos li { counter-increment: passo; position: relative; padding-left: 3.1rem; margin-bottom: 1.1rem; min-height: 2.2rem; }
.passos li::before {
  content: counter(passo); position: absolute; left: 0; top: -0.1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--sinal); font-weight: 700; color: #fff; background: var(--tinta);
}

table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
caption { caption-side: bottom; text-align: left; color: var(--nevoa); font-size: 0.92rem; padding-top: 0.7rem; }
th, td { text-align: left; padding: 0.85rem 0.6rem 0.85rem 0; border-bottom: 1px solid var(--linha); vertical-align: top; }
thead th { font-family: var(--sinal); font-weight: 600; color: var(--nevoa); font-size: 0.95rem; }
/* celular: cada plano vira um cartão (4 colunas não cabem; em inglês o botão estourava a tela — medido 30/11) */
@media (max-width: 560px) {
  .precos thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .precos tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--linha); }
  .precos tbody th, .precos tbody td { border: 0; padding: 0; }
  .precos tbody th { font-size: 1.1rem; }
  .precos tbody td:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 600; text-align: right; }
  .precos tbody td:nth-child(3) { grid-column: 1 / -1; color: var(--nevoa); }
  .precos tbody td:nth-child(4) { grid-column: 1 / -1; margin-top: 0.5rem; }
  .precos tbody td:nth-child(4) .assinar { width: 100%; }
}
tbody th { font-family: var(--sinal); font-size: 1.1rem; }
tbody td:nth-child(2) { font-weight: 600; white-space: nowrap; }

.termos { font-size: 0.98rem; }
.termos p { margin: 0; }

.rodape { text-align: center; color: var(--nevoa); font-size: 0.92rem; padding: 2.5rem 1.5rem 3rem; border-top: 1px solid var(--linha); }

/* ---- celular e telas pequenas ---- */
@media (max-width: 760px) {
  .abertura { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; }
  .celular { width: min(14rem, 70vw); }
  .topo { padding: 0.9rem 1.25rem; }
  .topo { flex-wrap: wrap; row-gap: 0.4rem; }
  .idiomas { order: 2; }
  .topo nav:not(.idiomas) { order: 3; gap: 1.1rem; font-size: 0.9rem; width: 100%; }
  tbody td:nth-child(2) { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toque::before, .toque::after { animation: none; opacity: 0.35; transform: scale(1.5); }
  .toque::after { transform: scale(2); opacity: 0.15; }
}
