/* Site comercial da AJEON (25/11/2026). Tokens do guia da marca (marca/AJEON-brand-guide.md, seção 3). */
:root {
  --navy: #16233F;
  --navy-700: #2A3A5E;
  --navy-100: #E3E7EF;
  --amber: #C98A2E;
  --amber-hover: #D9A04A;
  --amber-700: #8A5A14;
  --slate: #55606E;
  --limestone: #F1EFEA;
  --ink: #1B1D22;
  --white: #FFFFFF;
  --line: #D9D5CC;
  --escuro: #0F1626;
  --texto-sobre-navy: #E9EBF0;
  --suave-sobre-navy: #A7B0BE;
  --head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 16px;
  --sombra: 0 4px 16px rgba(22, 35, 63, .08);
  --sombra-forte: 0 18px 44px rgba(9, 15, 28, .32);
  --largura: 1200px;
  --margem: clamp(16px, 4vw, 24px);
  --foco: var(--navy);
  --saida: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--amber-700);
}
@media (max-width: 600px) { body { font-size: 17px; } }
::selection { background: var(--amber); color: var(--navy); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: var(--r-sm); }
html { scrollbar-color: var(--navy-700) var(--limestone); }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--navy); font-family: var(--head); font-weight: 700;
  padding: 12px 16px; border-radius: var(--r); text-decoration: none;
}
.pular:focus { top: 12px; }

/* Seções sobre azul-marinho */
.topo, .abertura, .passos, .confianca, .final { --foco: var(--white); }

/* ── Botões ── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r);
  font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--saida), color .18s var(--saida), border-color .18s var(--saida);
}
.botao--principal { background: var(--amber); color: var(--navy); }
.botao--principal:hover { background: var(--amber-hover); }
.botao--contorno { border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); }
.botao--contorno:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.botao--compacto { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ── Logo (guia 4.4) ── */
.logo {
  font-family: var(--head); font-weight: 800; letter-spacing: .02em; line-height: 1; font-size: 26px;
  color: var(--white); display: inline-flex; align-items: baseline; white-space: nowrap; text-decoration: none;
}
.logo svg { height: .74em; width: .74em; margin: 0 .035em; transform: translateY(.012em); }

/* ── Topo ── */
.topo { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--navy-700); }
.topo__dentro {
  max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem);
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.topo__menu { display: flex; gap: 28px; margin-left: 16px; }
.topo__menu a, .link-entrar { color: var(--texto-sobre-navy); text-decoration: none; font-weight: 600; font-size: 16px; }
.topo__menu a:hover, .link-entrar:hover { color: var(--white); text-decoration: underline; }
.topo__acoes { margin-left: auto; display: flex; align-items: center; gap: 20px; }
@media (max-width: 860px) { .topo__menu { display: none; } }
@media (max-width: 600px) {
  .topo__dentro { height: 60px; gap: 12px; }
  .logo { font-size: 22px; }
  .link-entrar { display: none; }
}

/* ── Abertura ── */
.abertura { background: var(--navy); color: var(--texto-sobre-navy); overflow: hidden; }
.abertura__dentro {
  max-width: var(--largura); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--margem) clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.abertura h1 { color: var(--white); font-size: clamp(2.4rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.025em; max-width: 13ch; }
.abertura__sub { margin-top: 24px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--texto-sobre-navy); }
.abertura__acoes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.abertura__fatos { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--suave-sobre-navy); font-size: 16px; }
.abertura__fatos li { display: flex; align-items: center; gap: 12px; }
.abertura__fatos li::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--amber); border-top-color: transparent; transform: rotate(-15deg);
}
@media (max-width: 960px) {
  .abertura__dentro { grid-template-columns: 1fr; }
  .abertura h1 { max-width: 14ch; }
}

/* ── Demonstração ── */
.demo { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.celular {
  width: min(310px, 100%); border-radius: 44px; padding: 12px; background: var(--escuro);
  box-shadow: var(--sombra-forte); position: relative; z-index: 1;
}
.celular__tela { border-radius: 34px; overflow: hidden; background: var(--limestone); height: 600px; display: flex; flex-direction: column; }
.chat__topo { display: flex; align-items: center; gap: 12px; padding: 22px 16px 14px; background: var(--navy); color: var(--white); }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; }
.avatar svg { width: 22px; height: 22px; }
.avatar--pequeno { width: 26px; height: 26px; background: var(--navy); }
.avatar--pequeno svg { width: 15px; height: 15px; }
.chat__quem { display: grid; line-height: 1.25; }
.chat__quem strong { font-family: var(--head); font-size: 15px; font-weight: 700; }
.chat__status { font-size: 13px; color: var(--suave-sobre-navy); }
.chat__mensagens {
  list-style: none; margin: 0; padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 8px;
  flex: 1; overflow: hidden; justify-content: flex-end;
}
.msg {
  position: relative; max-width: 86%; padding: 9px 12px 20px; border-radius: 12px; font-size: 15px; line-height: 1.4;
  color: var(--ink); box-shadow: 0 1px 1px rgba(22, 35, 63, .06);
}
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: var(--slate); }
.msg--morador { align-self: flex-end; background: var(--navy-100); border-bottom-right-radius: 4px; }
.msg--ajeon { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.cita { color: var(--amber-700); font-weight: 600; }
.msg--digitando { padding: 12px 14px; display: inline-flex; gap: 5px; }
.msg--digitando span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); animation: ponto 1.1s infinite ease-in-out; }
.msg--digitando span:nth-child(2) { animation-delay: .15s; }
.msg--digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes ponto { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Estado animado (só com JS e sem pedido de menos movimento): a mensagem entra subindo */
.demo--animando .msg[data-pendente] { display: none; }
.msg--entra { animation: entra .42s var(--saida) both; }
@keyframes entra { from { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }

.aviso {
  position: absolute; z-index: 2; left: 300px; right: 0; top: 250px;
  background: var(--white); border-radius: var(--r-lg); padding: 16px 18px 18px; box-shadow: var(--sombra-forte);
  transition: opacity .5s var(--saida), transform .6s var(--saida);
}
.aviso__topo { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.aviso__topo time { margin-left: auto; }
.aviso__titulo { margin-top: 10px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3; }
.aviso__dados { margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.35; }
.aviso__dados div { display: grid; gap: 1px; }
.aviso__dados dt { color: var(--slate); font-weight: 600; font-size: 12.5px; }
.aviso__dados dd { margin: 0; color: var(--ink); }
.aviso__acao {
  margin-top: 14px; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--r);
  background: var(--navy); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 13px;
}
.demo--animando .aviso:not(.aviso--visivel) { opacity: 0; transform: translateY(18px) scale(.97); }

.demo__ligacao { position: absolute; z-index: 3; left: 268px; top: 200px; width: 60px; height: 60px; overflow: visible; }
.demo__ligacao path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 6 7; stroke-linecap: round; }
.demo--animando .demo__ligacao:not(.ligacao--visivel) { opacity: 0; }
.demo__ligacao { transition: opacity .4s var(--saida); }

.demo__repetir {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 0; background: transparent; color: var(--texto-sobre-navy); font: 600 15px var(--body); cursor: pointer; border-radius: var(--r);
}
.demo__repetir svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo__repetir:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .demo { display: flex; flex-direction: column; align-items: center; }
  .demo__ligacao { display: none; }
  .aviso { position: relative; left: auto; right: auto; top: auto; width: min(330px, 100%); margin-top: -12px; }
}
@media (max-width: 400px) {
  .celular { border-radius: 36px; padding: 9px; }
  .celular__tela { border-radius: 28px; height: 560px; }
  .msg { font-size: 14.5px; }
}

/* ── Seções comuns ── */
.secao__dentro { max-width: var(--largura); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--margem); }

/* ── Dor ── */
.dor__dentro {
  max-width: var(--largura); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--margem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center;
}
.dor__texto p { margin-top: 20px; max-width: 34em; color: var(--ink); }
.dor__texto p + p { color: var(--slate); }
.bloqueio {
  background: var(--escuro); border-radius: 28px; padding: 28px 18px 22px; color: var(--white); box-shadow: var(--sombra);
  max-width: 400px; width: 100%; justify-self: center;
}
.bloqueio__hora { text-align: center; font-family: var(--head); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.bloqueio__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bloqueio__lista li {
  background: var(--navy-700); border-radius: 14px; padding: 10px 14px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
}
.bloqueio__de { font-family: var(--head); font-weight: 700; font-size: 14px; }
.bloqueio__quando { font-size: 13px; color: var(--suave-sobre-navy); }
.bloqueio__lista p { grid-column: 1 / -1; font-size: 15px; color: var(--texto-sobre-navy); line-height: 1.35; }
@media (max-width: 860px) { .dor__dentro { grid-template-columns: 1fr; } }

/* ── Como funciona ── */
.passos { background: var(--navy); color: var(--texto-sobre-navy); }
.passos h2 { color: var(--white); max-width: 18ch; }
.passos__lista {
  list-style: none; margin: 56px 0 0; padding: 0; counter-reset: passo;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
}
.passos__lista li { counter-increment: passo; border-top: 1px solid var(--navy-700); padding-top: 24px; }
.passos__lista li::before {
  content: counter(passo); display: block; font-family: var(--head); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--amber); margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.passos__lista h3 { color: var(--white); }
.passos__lista p { margin-top: 10px; color: var(--texto-sobre-navy); font-size: 17px; }
@media (max-width: 860px) { .passos__lista { grid-template-columns: 1fr; gap: 32px; } }

/* ── Cada lado ── */
.lados__grade { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; }
.lado { padding-right: clamp(24px, 4vw, 56px); }
.lado--sindico { padding: 0 0 0 clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.lado h3 { font-size: 1.4rem; }
.lado ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.lado li { position: relative; padding-left: 26px; color: var(--slate); }
.lado li strong { color: var(--ink); font-weight: 600; }
.lado li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--amber); border-top-color: transparent; transform: rotate(-15deg);
}
@media (max-width: 760px) {
  .lados__grade { grid-template-columns: 1fr; gap: 40px; }
  .lado { padding: 0; }
  .lado--sindico { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ── Confiança ── */
.confianca { background: var(--navy); color: var(--texto-sobre-navy); }
.confianca__dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.confianca h2 { color: var(--white); }
.confianca p { margin-top: 20px; max-width: 32em; }
.exemplo { margin: 0; background: var(--limestone); border-radius: var(--r-lg); padding: 24px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.exemplo .msg { max-width: 92%; }
.exemplo figcaption { margin-top: 6px; font-size: 14px; color: var(--slate); }
@media (max-width: 860px) { .confianca__dentro { grid-template-columns: 1fr; } }

/* ── Para quem ── */
.quem__lista { margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.quem__lista div { border-top: 2px solid var(--navy); padding-top: 20px; }
.quem__lista dt { font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.quem__lista dd { margin: 8px 0 0; color: var(--slate); }
@media (max-width: 860px) { .quem__lista { grid-template-columns: 1fr; } }

/* ── Perguntas ── */
.perguntas { border-top: 1px solid var(--line); }
.perguntas__dentro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.perguntas__lista details { border-bottom: 1px solid var(--line); }
.perguntas__lista details:first-child { border-top: 1px solid var(--line); }
.perguntas__lista summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 0; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--navy);
}
.perguntas__lista summary::-webkit-details-marker { display: none; }
.perguntas__lista summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--navy), var(--navy)) center / 14px 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 2px 14px no-repeat;
  transition: transform .25s var(--saida);
}
.perguntas__lista details[open] summary::after { transform: rotate(45deg); }
.perguntas__lista summary:hover { color: var(--navy-700); }
.perguntas__lista details p { padding: 0 32px 20px 0; color: var(--slate); max-width: 40em; }
@media (max-width: 860px) { .perguntas__dentro { grid-template-columns: 1fr; } }

/* ── Chamada final ── */
.final { background: var(--navy); color: var(--texto-sobre-navy); text-align: center; }
.final__dentro { display: grid; justify-items: center; gap: 20px; }
.final h2 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 16ch; }
.final p { font-size: 1.15rem; }
.final .botao { margin-top: 8px; }

/* ── Rodapé ── */
.rodape { background: var(--ink); color: #B9C0CC; }
.rodape__dentro {
  max-width: var(--largura); margin: 0 auto; padding: 40px var(--margem); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  --foco: var(--white);
}
.logo--rodape { font-size: 22px; }
.rodape__lema { font-size: 15px; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.rodape__links a { color: #B9C0CC; text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.rodape__links a:hover { color: var(--white); text-decoration: underline; }
.rodape__direitos { width: 100%; font-size: 14px; color: #8E96A3; }
@media (max-width: 600px) { .rodape__links { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  /* A conversa da demonstração continua entrando em sequência (é o conteúdo), só sem deslocamento nem desfoque */
  .demo .msg--entra { animation: aparece .35s linear both !important; }
  .demo .msg--digitando span { animation: none !important; opacity: .6; }
  .demo .aviso, .demo .demo__ligacao { transition: opacity .35s linear !important; }
  .demo--animando .aviso:not(.aviso--visivel) { transform: none; }
}
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }

/* ── Páginas de documento: Privacidade, Termos, LGPD (25/11/2026) ── */
.topo__menu a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); }
.documento { background: var(--limestone); }
.documento__dentro { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--margem) clamp(56px, 8vw, 96px); color: var(--ink); }
.documento h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
.documento__versao { margin-top: 10px; color: var(--slate); font-size: 15px; }
.documento h2 { margin-top: 48px; font-size: 1.35rem; font-weight: 700; }
.documento p, .documento li { font-size: 17px; line-height: 1.65; max-width: 68ch; }
.documento p { margin: 14px 0 0; }
.documento ul, .documento ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.documento a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.documento a:hover { text-decoration-thickness: 2px; }
.tabela-rolagem { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.documento table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.documento th, .documento td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.documento th { font-family: var(--head); font-size: 14px; color: var(--navy); background: var(--limestone); }
.documento tr:last-child td { border-bottom: 0; }
.modelo { margin: 18px 0 0; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.modelo p:first-child { margin-top: 0; }

/* Aviso de cookies */
.aviso-cookies {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 720px;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 10px;
  background: var(--navy); color: var(--white); box-shadow: 0 8px 24px rgba(22, 35, 63, .25); --foco: var(--white);
}
.aviso-cookies p { margin: 0; font-size: 15px; line-height: 1.45; }
.aviso-cookies a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.aviso-cookies .botao { flex: none; }
@media (max-width: 600px) { .aviso-cookies { flex-direction: column; align-items: stretch; } }
