/* ==========================================================================
   Voxa — site institucional
   Cores e fontes do Manual de Identidade Visual VOXA v1.0 (docs/marca.md).
   ========================================================================== */

/* Fontes hospedadas aqui mesmo, não no Google Fonts. Três motivos: o site
   de um produto que se vende por privacidade não deve mandar o IP de cada
   visitante para terceiros só para desenhar letra (é o caso que a justiça
   alemã já condenou sob a GDPR, e a LGPD segue a mesma lógica); uma conexão
   a menos no carregamento; e o site fica inteiro sob o seu controle.
   Inter e Montserrat são SIL OFL 1.1 — licenças em assets/fontes. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fontes/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fontes/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fontes/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fontes/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fontes/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fontes/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  /* manual */
  --azul: #2679E7;
  --ciano: #31B9BC;
  --profundo: #092A50;
  --gelo: #F2F7FA;
  --nevoa: #D8E5EC;
  --tinta: #10263E;
  --branco: #FFFFFF;

  /* derivados — os mesmos do painel, conferidos por contraste */
  --meio: #2C99D2;
  --muted: #5C6F80;          /* 5,2 sobre branco */
  --superficie: #0E3C5D;     /* Azul Profundo elevado */
  --muted-escuro: #A9BCCC;   /* sobre Azul Profundo */

  --gradiente: linear-gradient(135deg, var(--azul), var(--meio) 55%, var(--ciano));

  --fonte-titulo: Montserrat, "Segoe UI", system-ui, Arial, Helvetica, sans-serif;
  --fonte-texto: Inter, "Segoe UI", system-ui, Arial, Helvetica, sans-serif;

  --raio: 14px;
  --sombra: 0 1px 2px rgba(9, 42, 80, .06), 0 8px 28px rgba(9, 42, 80, .08);
  --largura: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 16px/1.6 var(--fonte-texto);
  /* Normaliza a altura-x entre Inter e a fonte de queda: quando a web font
     chega, o texto não pula de tamanho. */
  font-size-adjust: from-font;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0; text-wrap: pretty; }

a { color: inherit; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }

.largura { width: min(var(--largura), 100% - 40px); margin-inline: auto; }
.largura--texto { max-width: 780px; }

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--profundo); color: var(--branco); text-decoration: none;
}
.pular:focus { top: 12px; }

/* --------------------------------------------------------------- botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 999px;
  background: var(--gradiente); color: var(--branco);
  font: 600 1rem/1 var(--fonte-texto); text-decoration: none;
  box-shadow: 0 6px 18px rgba(38, 121, 231, .32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
}
.botao:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(38, 121, 231, .4); filter: saturate(1.1); }
.botao svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.botao--pequeno { min-height: 40px; padding: 10px 18px; font-size: .92rem; box-shadow: none; }
.botao--grande  { min-height: 56px; padding: 16px 28px; font-size: 1.06rem; }

.botao--vazado {
  background: transparent; color: var(--branco);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42);
}
.botao--vazado:hover { box-shadow: inset 0 0 0 1.5px var(--branco); }

.botao--claro { background: var(--branco); color: var(--profundo); box-shadow: 0 6px 18px rgba(9, 42, 80, .25); }
.botao--vazado-claro { background: transparent; color: var(--branco); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.botao--vazado-claro:hover { box-shadow: inset 0 0 0 1.5px var(--branco); }

@media (prefers-reduced-motion: reduce) {
  .botao, .botao:hover { transition: none; transform: none; }
}

.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.acoes--centro { justify-content: center; }

/* ----------------------------------------------------------------- topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 42, 80, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topo__linha { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.topo__marca { flex: none; }

/* Assinatura oficial. 120 px é o mínimo digital do manual. */
.marca { width: 132px; height: auto; }
.topo .marca .texto,
.rodape .marca .texto { fill: var(--branco); }

.topo__nav { display: flex; gap: 24px; margin-left: auto; }
.topo__nav a {
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: .93rem; font-weight: 500;
}
.topo__nav a:hover { color: var(--branco); }

@media (max-width: 900px) {
  .topo__nav { display: none; }
  .topo .botao--pequeno { margin-left: auto; }
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(49, 185, 188, .22), transparent 60%),
    radial-gradient(700px 520px at 0% 100%, rgba(38, 121, 231, .28), transparent 60%),
    var(--profundo);
  color: var(--branco);
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 120px);
}

/* As cinco barras da marca, gigantes, atrás de tudo. São o elemento que o
   símbolo empresta ao site inteiro — a onda da voz. */
.hero__fundo {
  position: absolute; right: -4%; top: 50%; translate: 0 -50%;
  display: flex; align-items: center; gap: clamp(22px, 3vw, 40px);
  opacity: .07; pointer-events: none;
}
.hero__fundo span {
  width: clamp(38px, 5vw, 64px); border-radius: 999px; background: var(--branco);
}
.hero__fundo span:nth-child(1), .hero__fundo span:nth-child(5) { height: 180px; }
.hero__fundo span:nth-child(2), .hero__fundo span:nth-child(4) { height: 360px; }
.hero__fundo span:nth-child(3) { height: 560px; }

.hero__grade {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .hero__grade { grid-template-columns: 1fr; } }

.selo {
  display: inline-block; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(49, 185, 188, .14); color: #7FE0E2;
  box-shadow: inset 0 0 0 1px rgba(49, 185, 188, .35);
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
}
.hero h1 { margin-bottom: 20px; }
.hero__sub { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .84); max-width: 34em; margin-bottom: 32px; }
.hero__nota { margin-top: 20px; font-size: .9rem; color: var(--muted-escuro); }

/* ---- ilustração do painel ---- */
.painel {
  margin: 0; justify-self: end; width: min(100%, 390px);
  background: var(--gelo); color: var(--tinta);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .06);
  rotate: 1.2deg;
}
@media (max-width: 900px) { .painel { justify-self: center; rotate: 0deg; } }

.painel__topo {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: var(--branco);
  border-bottom: 1px solid var(--nevoa);
}
.painel__ponto { width: 22px; height: 22px; border-radius: 7px; background: var(--gradiente); }
.painel__titulo { font: 700 .98rem var(--fonte-titulo); letter-spacing: .04em; }

.painel__conversa { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.bolha {
  max-width: 86%; padding: 9px 13px; border-radius: 14px;
  font-size: .9rem; line-height: 1.42;
}
.bolha--voxa { align-self: flex-start; background: var(--branco); border: 1px solid var(--nevoa); border-bottom-left-radius: 4px; }
.bolha--eu   { align-self: flex-end; background: var(--gradiente); color: var(--branco); border-bottom-right-radius: 4px; }
.bolha--ok   { border-color: rgba(49, 185, 188, .6); background: #E9F8F8; font-weight: 600; }

.painel__mic {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border-top: 1px solid var(--nevoa); background: var(--branco);
  color: var(--azul); font-weight: 600; font-size: .9rem;
}

.onda { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.onda i { width: 3px; height: 40%; border-radius: 3px; background: var(--gradiente); animation: onda 1.1s ease-in-out infinite; }
.onda i:nth-child(2) { animation-delay: .12s; }
.onda i:nth-child(3) { animation-delay: .24s; }
.onda i:nth-child(4) { animation-delay: .36s; }
.onda i:nth-child(5) { animation-delay: .48s; }
@keyframes onda { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .onda i { animation: none; height: 60%; } }

/* --------------------------------------------------------------- seções */
.secao { padding: clamp(64px, 9vw, 112px) 0; }
.secao--gelo { background: var(--gelo); }
.secao--escura { background: var(--profundo); color: var(--branco); }

.rotulo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--azul);
}
/* Três barras antes do rótulo: a onda da marca, em miniatura. */
.rotulo::before {
  content: ""; width: 14px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 3px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 3px 12px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 50% / 3px 6px no-repeat;
}
.secao--escura .rotulo { color: var(--ciano); }

.secao h2 { margin-bottom: clamp(32px, 5vw, 52px); }

/* ---- passos ---- */
.passos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: passo;
}
@media (max-width: 820px) { .passos { grid-template-columns: 1fr; } }
.passos li {
  position: relative; padding: 28px; border-radius: var(--raio);
  background: var(--branco); border: 1px solid var(--nevoa);
}
.passo__n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px; background: var(--gradiente); color: var(--branco);
  font: 800 1.05rem var(--fonte-titulo);
}
.passos h3 { margin-bottom: 8px; }
.passos p { color: var(--muted); }

/* ---- cartões ---- */
.cartoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cartoes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cartoes { grid-template-columns: 1fr; } }

.cartao {
  padding: 26px; border-radius: var(--raio);
  background: var(--branco); box-shadow: var(--sombra);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cartao:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(9,42,80,.06), 0 16px 40px rgba(9,42,80,.12); }
@media (prefers-reduced-motion: reduce) { .cartao, .cartao:hover { transition: none; transform: none; } }

.cartao svg {
  width: 42px; height: 42px; padding: 10px; margin-bottom: 18px;
  border-radius: 12px; background: #E7F1FD;
  fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cartao h3 { margin-bottom: 8px; }
.cartao p { color: var(--muted); font-size: .96rem; }

/* ---- destaque (configuração) ---- */
.destaque {
  margin-top: 28px; padding: clamp(26px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  border-radius: 20px; background: var(--gradiente); color: var(--branco);
}
@media (max-width: 820px) { .destaque { grid-template-columns: 1fr; } }
.destaque h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 12px; }
.destaque p { color: rgba(255, 255, 255, .9); }
.destaque__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.destaque__lista li {
  padding: 12px 16px; border-radius: 12px;
  background: rgba(9, 42, 80, .22); font-size: .95rem;
}

/* ---- segurança ---- */
.pilares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .pilares { grid-template-columns: 1fr; } }
.pilar {
  padding: 28px; border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid rgba(255, 255, 255, .07);
}
.pilar h3 { margin-bottom: 10px; color: var(--branco); }
.pilar h3::before {
  content: ""; display: block; width: 28px; height: 3px; margin-bottom: 16px;
  border-radius: 3px; background: var(--ciano);
}
.pilar p { color: var(--muted-escuro); }

/* ---- desktop ---- */
.desktop { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .desktop { grid-template-columns: 1fr; } }
.desktop h2 { margin-bottom: 18px; }
.desktop__texto > p:not(.rotulo) { color: var(--muted); font-size: 1.06rem; margin-bottom: 22px; }

.lista-check { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--gradiente);
}

.baixar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.baixar__info { font-size: .9rem; color: var(--muted); }

/* ---- ilustração da bandeja do Windows ---- */
.bandeja { margin: 0; justify-self: center; width: min(100%, 360px); }
.bandeja__menu {
  display: grid; padding: 6px; border-radius: 10px;
  background: #F9F9FB; box-shadow: 0 18px 50px rgba(9, 42, 80, .18), 0 0 0 1px rgba(9, 42, 80, .08);
  font: 14px/1 "Segoe UI", system-ui, sans-serif; color: #1B1B1F;
}
.bandeja__item { padding: 10px 14px 10px 34px; border-radius: 6px; position: relative; }
.bandeja__item--forte { font-weight: 600; background: #E8F0FD; }
.bandeja__item--marcado::before {
  content: "✓"; position: absolute; left: 13px; color: var(--azul); font-weight: 700;
}
.bandeja__sep { height: 1px; margin: 4px 8px; background: #E3E6EA; }
.bandeja__barra {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  margin-top: 14px; padding: 10px 16px; border-radius: 10px;
  background: #1F2430; color: #E8EAED; font: 13px "Segoe UI", system-ui, sans-serif;
}
.bandeja__icone {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px;
  background: rgba(255, 255, 255, .1);
}
.bandeja__icone svg { width: 20px; height: 20px; }

/* ---- perguntas ---- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 12px; background: var(--branco);
  border: 1px solid var(--nevoa);
}
.faq details[open] { border-color: #B9D3F6; box-shadow: var(--sombra); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--azul); border-bottom: 2px solid var(--azul);
  rotate: 45deg; translate: 0 -3px; transition: rotate .2s ease;
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---- chamada final ---- */
.chamada { padding: clamp(56px, 8vw, 96px) 0; background: var(--gelo); }
.chamada__caixa {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px; text-align: center;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(49, 185, 188, .35), transparent 70%),
    var(--profundo);
  color: var(--branco);
}
.chamada h2 { margin: 0 auto 14px; max-width: 20ch; }
.chamada p { color: rgba(255, 255, 255, .8); margin-bottom: 30px; font-size: 1.08rem; }

/* ---------------------------------------------------------------- rodapé */
.rodape { background: var(--profundo); color: var(--muted-escuro); padding: 44px 0 30px; font-size: .92rem; }
.rodape__linha { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.rodape__marca .marca { width: 120px; }
.rodape__direita { margin-left: auto; display: flex; gap: 20px; }
.rodape__direita a { color: var(--branco); text-decoration: none; }
.rodape__direita a:hover { text-decoration: underline; }
.rodape__legal { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }

@media (max-width: 620px) {
  .rodape__direita { margin-left: 0; }
}

/* No celular o botão do topo vira só "Agendar" — cabe numa linha ao lado da marca. */
@media (max-width: 520px) { .so-largo { display: none; } }
/* Sem ícone dentro, o gap de 10px do botão vira espaço duplo no texto. */
.botao--pequeno { white-space: nowrap; gap: .3em; }

/* ================================================================= blog
   Lista de posts e a página de um post. O texto do post é a única parte do
   site com medida de leitura longa: largura menor e entrelinha maior, senão
   o olho perde a linha no meio do parágrafo. */
.secao h1 { margin-bottom: 14px; }
.blog__chamada { color: var(--muted); font-size: 1.12rem; margin-bottom: 42px; }

.posts { list-style: none; padding-left: 0; display: grid; gap: 18px; }
.post-item {
  background: var(--branco); border: 1px solid var(--nevoa); border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
}
.post-item__data { color: var(--muted); font-size: .86rem; margin-bottom: 8px; }
.post-item h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 10px; }
.post-item h2 a { color: inherit; text-decoration: none; }
.post-item h2 a:hover { color: var(--azul); }
.post-item p { color: var(--muted); }
.post-item__ler { margin-top: 14px; }
.post-item__ler a { color: var(--azul); font-weight: 600; text-decoration: none; }
.post-item__ler a:hover { text-decoration: underline; }

.post { padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 6vw, 64px); }
.post .rotulo a { color: inherit; text-decoration: none; }
.post h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.12; margin-bottom: 14px; }
.post__meta { color: var(--muted); font-size: .92rem; margin-bottom: 34px; }

.post__corpo { font-size: 1.08rem; line-height: 1.75; color: var(--tinta); }
.post__corpo > * + * { margin-top: 20px; }
.post__corpo h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); margin-top: 42px; }
.post__corpo h3 { font-size: 1.18rem; margin-top: 32px; }
.post__corpo ul, .post__corpo ol { padding-left: 22px; display: grid; gap: 8px; }
.post__corpo li::marker { color: var(--azul); }
.post__corpo a { color: var(--azul); }
.post__corpo blockquote {
  border-left: 3px solid var(--ciano); padding: 4px 0 4px 20px;
  color: var(--profundo); font-size: 1.12rem;
}
.post__corpo img { max-width: 100%; height: auto; border-radius: 14px; }
.post__corpo pre {
  background: var(--profundo); color: var(--branco); padding: 18px 20px;
  border-radius: 14px; overflow-x: auto; font-size: .94rem;
}
.post__corpo code { font-size: .95em; }
.post__voltar { margin-top: 44px; }
.post__voltar a { color: var(--azul); font-weight: 600; text-decoration: none; }
.post__voltar a:hover { text-decoration: underline; }

.chamada--post { padding-top: 0; }
