/* ============================================================
   RTZ Tecnologia — rtz.css (site institucional)
   Mesmo desenho do RTZ CRM (style-v3.css, 2026-09-25): tema escuro,
   gradiente azul → ciano → verde, Barlow / Barlow Condensed servidas
   do próprio site, acabamento arredondado, marcas "+" nos cartões.
   Paleta e raios espelham o CRM de propósito — quando o CRM mudar,
   ajuste aqui os mesmos tokens.
   ============================================================ */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }

:root {
  /* ---- paleta (idêntica ao CRM) ---- */
  --pagina:      #061318;
  --area:        #0a1420;
  --lateral:     #08111b;
  --cartao-bg:   #0e1a28;
  --selecionado: #12243a;
  --campo:       #070b12;
  --fundo-site:  #070b12;

  --titulo:      #f4f7fb;
  --texto:       #dfe6ee;
  --secundario:  #9aa6b5;
  --secundario2: #8792a0;
  --rotulo:      #6b7787;

  --linha:       rgba(255,255,255,.08);
  --linha-media: rgba(255,255,255,.12);
  --linha-forte: rgba(255,255,255,.18);
  --hover:       rgba(255,255,255,.06);

  --grad-1: #1e6bff;
  --grad-2: #19b6f0;
  --grad-3: #1fc79a;
  --gradiente: linear-gradient(90deg, var(--grad-1), var(--grad-2));
  --gradiente-3: linear-gradient(90deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));

  --sucesso: #1fc79a;
  --atencao: #e0b04a;
  --alerta:  #ef5b56;
  --zap:     #25D366;

  /* ---- acabamento (mesmos raios do CRM) ---- */
  --r-xs: 6px; --r-sm: 8px; --r: 12px; --r-lg: 14px;

  --f-corpo: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
  --f-titulo: 'Barlow Condensed', 'Barlow', sans-serif;

  /* compatibilidade com o nome antigo usado nas páginas */
  --font-body: var(--f-corpo);
  --font-heading: var(--f-titulo);

  --largura: 1240px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo-site); color: var(--texto);
  font-family: var(--f-corpo); -webkit-font-smoothing: antialiased; text-wrap: pretty;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--grad-2); }
a:hover { color: var(--grad-3); }
::placeholder { color: var(--rotulo); }
::selection { background: rgba(30,107,255,.35); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--f-titulo); font-weight: 600; text-transform: uppercase; color: var(--titulo); }
p { margin: 0; }

/* barra de rolagem fina e escura (igual ao CRM) */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.24); }

@keyframes rtz-pulso { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes rtz-entra { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }

.miolo { max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.secao { border-bottom: 1px solid var(--linha); }
.secao > .miolo { padding-top: 96px; padding-bottom: 96px; }
.pontos { background-color: var(--pagina); background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; }

/* ============================================================
   TIPOGRAFIA DE SEÇÃO
   ============================================================ */
.sobretitulo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sobretitulo b { font: 600 13px var(--f-titulo); letter-spacing: .1em; color: var(--cor, var(--grad-1)); }
.sobretitulo i { width: 40px; height: 1px; background: var(--cor, var(--grad-1)); }
.sobretitulo span { font: 600 13px var(--f-corpo); letter-spacing: .14em; text-transform: uppercase; color: var(--secundario); }
.titulo-secao { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; }
.titulo-grande { font-size: clamp(34px, 4.4vw, 58px); line-height: 1; }
.lead { font-size: 17px; line-height: 1.6; color: #b3becb; }
.rotulo { font: 600 11px var(--f-corpo); letter-spacing: .12em; text-transform: uppercase; color: var(--rotulo); }
.texto-grad { background: linear-gradient(90deg, #3d8bff, var(--grad-2) 50%, var(--grad-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link-seta { font: 600 14px var(--f-corpo); color: #7cc4ff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-seta:hover { color: #fff; }
.nota { font-size: 12px; color: var(--rotulo); }

/* ============================================================
   BOTÕES (mesmo desenho do .botao do CRM)
   ============================================================ */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px var(--f-corpo); color: #fff; text-decoration: none; cursor: pointer;
  padding: 11px 18px; border: none; border-radius: var(--r-sm);
  background: var(--gradiente); box-shadow: 0 2px 10px rgba(30,107,255,.22);
  transition: box-shadow .15s ease, filter .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.botao:hover { color: #fff; filter: brightness(1.1); box-shadow: 0 4px 16px rgba(30,107,255,.32); }
.botao.grande { font-size: 15px; padding: 15px 24px; }
.botao.mini { font-size: 12.5px; padding: 8px 12px; }
.botao.cheio { width: 100%; }
.botao.tri { background: var(--gradiente-3); }
.botao.claro {
  background: rgba(7,11,18,.35); color: var(--titulo); border: 1px solid var(--linha-forte); box-shadow: none;
}
.botao.claro:hover { border-color: rgba(255,255,255,.45); background: var(--hover); filter: none; box-shadow: none; }
.botao svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* abas / segmentado (igual .fin-abas do CRM) */
.abas { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--linha-forte); border-radius: calc(var(--r-sm) + 3px); background: rgba(7,11,18,.5); }
.abas button {
  font: 600 13px var(--f-corpo); padding: 9px 16px; cursor: pointer; border: none; border-radius: var(--r-sm);
  color: var(--secundario); background: transparent; transition: background-color .15s ease, color .15s ease;
}
.abas button:hover { color: #fff; background: var(--hover); }
.abas button[aria-selected="true"] { color: #fff; background: var(--gradiente); box-shadow: 0 2px 10px rgba(30,107,255,.22); }

/* chips de escolha */
.chip {
  font: 500 13px var(--f-corpo); padding: 8px 13px; cursor: pointer; border-radius: 999px;
  color: #c2ccd8; background: transparent; border: 1px solid rgba(255,255,255,.16);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--grad-2); color: #fff; }
.chip[aria-pressed="true"] { color: #fff; background: rgba(30,107,255,.25); border-color: #3d8bff; }

/* selo / pílula */
.selo { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--f-corpo); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* ============================================================
   CARTÕES — raio 12, brilho de 1px, marcas "+" nos cantos
   ============================================================ */
.cartao {
  position: relative; border: 1px solid var(--linha-forte); border-radius: var(--r);
  background-color: rgba(255,255,255,.015);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 1px 3px rgba(0,0,0,.22);
}
.cartao.mais {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,.28)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,.28)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,.28)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,.28)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 8px 8px, calc(100% - 17px) 8px, 8px calc(100% - 17px), calc(100% - 17px) calc(100% - 17px);
}
a.cartao { text-decoration: none; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.cartao:hover { border-color: rgba(255,255,255,.4); background-color: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 20px rgba(0,0,0,.3); }

.destaque { padding: 20px 22px; border: 1px solid rgba(61,139,255,.35); border-radius: var(--r); background: rgba(30,107,255,.06); }

/* grade de células coladas (linha fina entre elas), cantos arredondados por fora */
.celulas { display: grid; gap: 1px; background: var(--linha-media); border: 1px solid var(--linha-media); border-radius: var(--r); overflow: hidden; }
.celulas > * { background: var(--celula, #08101c); }

.foto { position: relative; border: 1px solid var(--linha-forte); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   CAMPOS
   ============================================================ */
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--secundario); }
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select {
  font: 15px var(--f-corpo); color: var(--titulo); background: var(--campo);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-sm); padding: 12px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--grad-2); box-shadow: 0 0 0 3px rgba(25,182,240,.15); }

/* ============================================================
   TOPO
   ============================================================ */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(7,11,18,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.topo .miolo { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.topo-logo { display: flex; align-items: center; height: 32px; }
.topo-logo img { height: 100%; width: auto; display: block; }
.topo nav { display: flex; align-items: center; gap: 4px; }
.topo nav > a:not(.botao) {
  font: 500 14px var(--f-corpo); color: #c9d3df; text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm);
  transition: background-color .15s ease, color .15s ease;
}
.topo nav > a:not(.botao):hover { color: #fff; background: var(--hover); }
.topo nav > a[aria-current="page"] { color: #fff; }
.topo-acoes { display: flex; gap: 10px; align-items: center; margin-left: 12px; }
.topo-acoes .botao { padding: 9px 14px; font-size: 13px; }
.topo-menu { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--linha-forte); border-radius: var(--r-sm); background: transparent; color: #fff; cursor: pointer; }
.topo-menu svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.progresso { height: 2px; background: rgba(255,255,255,.06); }
.progresso i { display: block; height: 100%; width: 0; background: var(--gradiente-3); }

@media (max-width: 900px) {
  .topo-menu { display: inline-flex; }
  .topo nav {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: #111e2e; border: 1px solid var(--linha-forte); border-radius: var(--r);
    box-shadow: 0 12px 32px rgba(0,0,0,.35); animation: rtz-entra .12s ease-out;
  }
  .topo.aberto nav { display: flex; }
  .topo nav > a:not(.botao) { padding: 11px 12px; }
  .topo-acoes { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--linha); flex-direction: column; align-items: stretch; }
}

/* trilha lateral de seções (telas largas) */
.trilha { display: none; position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 40; flex-direction: column; gap: 12px; }
@media (min-width: 1420px) { .trilha { display: flex; } }
.trilha-linha { position: absolute; left: 12px; top: 13px; bottom: 13px; width: 2px; background: rgba(255,255,255,.1); border-radius: 2px; }
.trilha-linha i { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--grad-1), var(--grad-2), var(--grad-3)); border-radius: 2px; transition: height .35s; }
.trilha a { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.trilha a b {
  position: relative; z-index: 1; width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center;
  font: 600 10px var(--f-titulo); color: var(--c); background: var(--fundo-site); border: 1.5px solid var(--c); border-radius: 50%;
  transition: all .25s;
}
.trilha a span { font-size: 12px; color: var(--titulo); white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: all .25s; }
.trilha a.passou b, .trilha a.ativo b { color: #fff; background: var(--c); }
.trilha a.ativo b { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.trilha a.ativo span, .trilha a:hover span { opacity: 1; transform: none; }
.trilha a.ativo span { font-weight: 600; }

/* ============================================================
   RODAPÉ E WHATSAPP
   ============================================================ */
.rodape { background: #05080d; border-top: 1px solid var(--linha); }
.rodape-faixa { height: 2px; background: var(--gradiente-3); }
.rodape .miolo { padding-top: 26px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.rodape img { height: 22px; width: auto; }
.rodape nav { display: flex; gap: 4px 6px; flex-wrap: wrap; }
.rodape nav a { font-size: 13px; color: var(--secundario); text-decoration: none; padding: 4px 8px; border-radius: var(--r-xs); }
.rodape nav a:hover { color: #fff; background: var(--hover); }
.rodape small { font-size: 12px; color: #5f6b7a; }

.zap-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; background: var(--zap); color: #05230f; text-decoration: none;
  font: 600 14px var(--f-corpo); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: filter .15s ease;
}
.zap-flutuante:hover { color: #05230f; filter: brightness(1.08); }
.zap-flutuante svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   CHAT (demonstração do agente) — balões iguais aos do CRM
   ============================================================ */
.chat { display: flex; flex-direction: column; height: 540px; background: #0a1522; overflow: hidden; border-radius: var(--r-lg); }
.chat-topo { padding: 14px 18px; border-bottom: 1px solid var(--linha-media); display: flex; align-items: center; gap: 12px; }
.chat-topo img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.chat-topo strong { display: block; font-size: 14.5px; color: var(--titulo); }
.online { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sucesso); }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sucesso); animation: rtz-pulso 2s infinite; }
.chat-msgs { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.balao { max-width: 82%; padding: 10px 14px; font-size: 14px; line-height: 1.45; border-radius: 14px; animation: rtz-entra .15s ease-out; }
.balao.bot { align-self: flex-start; color: #e4eaf1; background: #132236; border-bottom-left-radius: 4px; }
.balao.eu { align-self: flex-end; color: #fff; background: linear-gradient(90deg, var(--grad-1), #1592e0); border-bottom-right-radius: 4px; }
.balao.digitando { color: #8fa0b4; font-size: 13px; }
.chat-rapidas { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 12px; }
.chat-envio { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--linha-media); }
.chat-envio input { flex: 1; min-width: 0; font-size: 14px; padding: 11px 12px; border-radius: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--linha-media); }
.faq-item { border-bottom: 1px solid var(--linha-media); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 12px; margin: 0 -12px; width: calc(100% + 24px); background: none; border: none; border-radius: var(--r-sm);
  cursor: pointer; text-align: left; font: 500 16.5px var(--f-corpo); color: var(--titulo); transition: background-color .15s ease;
}
.faq-item button:hover { background: rgba(255,255,255,.03); }
.faq-item button i { flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(31,199,154,.4); color: var(--sucesso); font-style: normal; font-size: 18px; transition: transform .2s, background-color .2s; }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); background: rgba(31,199,154,.12); }
.faq-item p { padding: 0 40px 20px 0; font-size: 15px; line-height: 1.6; color: #a9b5c3; }

/* ============================================================
   MOLDURA DE JANELA (demo do CRM embutida)
   ============================================================ */
.janela { border: 1px solid var(--linha-forte); border-radius: var(--r-lg); overflow: hidden; background: var(--area); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.janela-barra { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #08111b; border-bottom: 1px solid var(--linha); }
.janela-barra i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.janela-barra span { margin-left: 10px; font-size: 12px; color: var(--rotulo); padding: 3px 12px; background: var(--campo); border-radius: 999px; }
.janela iframe { display: block; width: 100%; height: 684px; border: 0; background: var(--area); }

@media (max-width: 700px) {
  .secao > .miolo { padding-top: 72px; padding-bottom: 72px; }
  .zap-flutuante span { display: none; }
  .zap-flutuante { padding: 14px; }
}
