/* MODELOS "OFICINA" (completo) E "AUTO CENTER" (enxuto) (27/10/2026) -- só estilo, UM arquivo para os dois modelos e para todos os exemplos. O conteúdo (nome, frase, números, serviços, diferenciais, marcas, avaliações, perguntas, contato)
   vem dos módulos e da conta; nada de texto de negócio mora nas páginas. Tema escuro por padrão; `:root[data-fundo="claro"]` troca para claro. As CORES são variáveis: a conta escolhe a cor (ou a logo dela define) e o módulo
   identidadeSite escreve --principal/--destaque. Duas paletas prontas dos exemplos: amarelo e preto, vermelho e prata (cada exemplo as declara no próprio css/perfil.css). */
:root {
  --id-principal: --principal; --id-destaque: --destaque; --id-escuro: --principal-escuro; --id-sobre: --sobre-principal; --id-imagem-fundo: --hero-img; /* módulo identidadeSite: onde a cor e a foto da conta entram */
  --principal: #ffd91a; --principal-escuro: #c9a800; --destaque: #ffb703; --sobre-principal: #111111;
  --bg: #0b0b0d; --papel: #151519; --papel2: #101013; --texto: #f4f4f5; --suave: #a9acb4; --linha: #26262c; --topo: #0b0b0d;
  --hero-img: none;
  --sombra: 0 14px 34px -14px rgba(0, 0, 0, .6);
}
:root[data-fundo="claro"] { --bg: #f4f5f7; --papel: #ffffff; --papel2: #eceff2; --texto: #14161a; --suave: #5a606b; --linha: #dfe3e8; --topo: #14161a; --sombra: 0 14px 34px -14px rgba(20, 22, 26, .25); }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'DM Sans', 'Inter', system-ui, sans-serif; color: var(--texto); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Barlow Condensed', 'Inter', sans-serif; margin: 0; line-height: 1.04; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.faixa-demo { background: #000; color: #d6d8de; font-size: 13px; text-align: center; padding: 8px 16px; }
.faixa-demo a { color: var(--principal); font-weight: 700; text-decoration: underline; }

/* ---------- topo e menu (só no hambúrguer, em qualquer largura) ---------- */
.topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--topo); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.marca { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; margin-right: auto; }
.marca-logo { height: 38px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.marca-logo:not([src]) { display: none; }
.marca-nome { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .6px; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo-zap { min-height: 40px; padding: 0 16px; font-size: 12px; }
.nav-desk { display: none; align-items: center; gap: 20px; }
.nav-desk a { color: #d6d8de; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--principal); }
.burger { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: transparent; color: #fff; flex: none; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 2px 0; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-desk.aberto { display: flex !important; position: absolute; top: calc(100% + 8px); right: 20px; left: auto; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; background: #151519; padding: 8px; border-radius: 12px; min-width: 210px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.nav-desk.aberto a { width: 100%; padding: 12px 14px; border-radius: 8px; text-align: right; }

/* ---------- topo da página (hero) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding: 88px 20px 80px; background: #0b0b0d var(--hero-img) center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 8, 10, .94) 0%, rgba(8, 8, 10, .78) 48%, rgba(8, 8, 10, .38) 100%), linear-gradient(0deg, rgba(8, 8, 10, .85), transparent 40%); }
.hero-in { max-width: 1120px; margin: 0 auto; display: grid; gap: 34px; align-items: end; }
@media (min-width: 900px) { .hero--numeros .hero-in { grid-template-columns: 1fr 380px; } }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--principal); margin-bottom: 18px; }
.hero-kicker::before { content: ''; width: 44px; height: 3px; background: var(--principal); }
.hero h1 { font-size: clamp(44px, 9vw, 92px); max-width: 800px; margin-bottom: 18px; }
.hero-sub { max-width: 560px; font-size: 17px; line-height: 1.6; color: #d3d5db; margin-bottom: 30px; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--cheio { background: var(--principal); color: var(--sobre-principal); border-color: var(--principal); box-shadow: 0 10px 26px -10px var(--principal); }
.btn--linha { background: transparent; color: var(--texto); border-color: rgba(128, 128, 128, .55); }
.hero .btn--linha { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* números (contadores): categoria `numeros` do catálogo, no modo cartões (nome = valor, descrição = rótulo) */
.numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.numeros .dif { background: rgba(10, 10, 12, .72); border: 1px solid rgba(255, 255, 255, .12); border-top: 3px solid var(--principal); padding: 16px 18px; box-shadow: none; backdrop-filter: blur(4px); }
.numeros .dif h3 { font-size: clamp(34px, 5vw, 46px); color: var(--principal); margin: 0 0 2px; }
.numeros .dif p { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cfd2d8; }
.numeros:empty { display: none; }

/* ---------- seções ---------- */
.secao { max-width: 1120px; margin: 0 auto; padding: 64px 20px; }
.secao--fundo { max-width: none; background: var(--papel2); border-block: 1px solid var(--linha); }
.secao--fundo > .secao-in { max-width: 1120px; margin: 0 auto; }
.secao:has([data-catalogo]:empty), .secao-in:has([data-catalogo]:empty) { display: none; }
.secao:has([data-texto-titulo]:empty), .chamada:has([data-texto-titulo]:empty), .secao-in:has(h2[data-catalogo-titulo]:empty), .oferta:has([data-texto-titulo]:empty) { display: none; } /* sem o texto cadastrado a seção nem aparece */
h1[data-catalogo-titulo]:empty, h2[data-catalogo-titulo]:empty { display: none; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--principal); margin-bottom: 10px; }
.kicker::before { content: ''; width: 34px; height: 3px; background: var(--principal); }
.secao h2 { font-size: clamp(32px, 5.6vw, 52px); margin-bottom: 26px; }
.pagina { max-width: 1120px; margin: 0 auto; padding: 56px 20px 72px; }
.pagina > h1 { font-size: clamp(36px, 6.4vw, 60px); margin-bottom: 8px; }
.pagina h2 { font-size: clamp(32px, 5.6vw, 52px); margin: 0 0 24px; }
.pagina h2[data-catalogo-titulo]:empty { display: none; }
@media (max-width: 520px) { .topo { padding: 10px 14px; gap: 8px; } .topo-zap { padding: 0 12px; min-height: 38px; font-size: 11px; letter-spacing: .08em; } .marca-nome { font-size: 18px; } .marca-logo { height: 32px; } }
.pagina > .lead { color: var(--suave); font-size: 16px; line-height: 1.6; margin: 0 0 30px; max-width: 640px; }

/* contato rápido (WhatsApp, telefone e endereço logo abaixo do topo) */
.rapido { display: grid; gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
@media (min-width: 760px) { .rapido { grid-template-columns: 1fr 1fr; } }
.rapido-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: var(--papel); border: 1px solid var(--linha); border-left: 5px solid var(--principal); box-shadow: var(--sombra); text-decoration: none; }
.rapido-card span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--principal); }
.rapido-card b, .rapido-card em { font: 800 24px 'Barlow Condensed', sans-serif; font-style: normal; letter-spacing: .02em; color: var(--texto); }
.rapido-card small { color: var(--suave); font-size: 13px; }
.rapido-card:has([data-config][style*="display: none"]) { display: none; }
.rapido-end { grid-column: 1 / -1; text-align: center; padding: 12px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); border: 1px dashed var(--linha); }
.rapido-end:has([data-config][style*="display: none"]) { display: none; }
.aberto-badge { margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; background: #16a34a; color: #fff; }
.aberto-badge.fechado, .aberto-badge[data-aberto="0"] { background: #b91c1c; }

/* oferta da semana */
.oferta { background: linear-gradient(135deg, var(--papel) 0%, var(--papel2) 100%); border: 1px solid var(--linha); border-left: 6px solid var(--principal); padding: 34px 30px; box-shadow: var(--sombra); display: grid; gap: 14px; }
.oferta-tag { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--principal); }
.oferta h2 { font-size: clamp(30px, 5vw, 46px); margin: 0; }
.oferta [data-texto-corpo] p { color: var(--suave); line-height: 1.65; max-width: 640px; }
.oferta [data-texto-destaque] { font: 800 clamp(26px, 4vw, 38px) 'Barlow Condensed', sans-serif; color: var(--principal); }

/* quem faz o serviço (perfil + texto) */
.sobre { display: grid; gap: 34px; align-items: center; }
@media (min-width: 820px) { .sobre { grid-template-columns: 360px 1fr; gap: 56px; } }
.perfil img, .perfil .avatar-letra--perfil { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--papel); border-bottom: 5px solid var(--principal); }
.perfil .avatar-letra--perfil { display: grid; place-items: center; font: 800 110px 'Barlow Condensed', sans-serif; color: var(--principal); }
.perfil-nome { margin-top: 14px; font: 800 28px 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.perfil-cargo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--principal); margin-top: 2px; }
.perfil-bio { margin-top: 10px; color: var(--suave); font-size: 14.5px; line-height: 1.6; }
.texto-sobre h2 { margin-bottom: 18px; }
.texto-sobre [data-texto-corpo] p { font-size: 16px; line-height: 1.75; color: var(--suave); margin-bottom: 14px; }
.texto-sobre [data-texto-destaque] { margin-top: 18px; padding-left: 16px; border-left: 4px solid var(--principal); font-weight: 700; line-height: 1.5; }

/* cartões (serviços, diferenciais, marcas) e acordeão (perguntas) do módulo catalogoPublico */
.servicos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.dif { background: var(--papel); padding: 24px 22px; border: 1px solid var(--linha); border-top: 4px solid var(--principal); box-shadow: var(--sombra); }
.dif h3 { font-size: 24px; margin-bottom: 8px; }
.dif p { font-size: 14.5px; line-height: 1.6; color: var(--suave); }
.diferenciais-grade { display: grid; gap: 14px; counter-reset: dif; }
@media (min-width: 820px) { .diferenciais-grade { grid-template-columns: 1fr 1fr; } }
.diferenciais-grade .dif { counter-increment: dif; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; border-top: 1px solid var(--linha); }
.diferenciais-grade .dif::before { content: counter(dif, decimal-leading-zero); grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; background: color-mix(in srgb, var(--principal) 18%, transparent); color: var(--principal); font: 800 20px 'Barlow Condensed', sans-serif; }
.marcas { display: flex; flex-wrap: wrap; gap: 10px; }
.marcas .dif { padding: 10px 20px; border: 1px solid var(--linha); border-top: 1px solid var(--linha); box-shadow: none; background: var(--papel); }
.marcas .dif h3 { margin: 0; font-size: 17px; letter-spacing: .08em; }
.marcas .dif p { display: none; }
.acordeao details { background: var(--papel); border: 1px solid var(--linha); margin-bottom: 8px; padding: 0 20px; }
.acordeao summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 0; font: 800 21px 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary .n { font-size: 14px; letter-spacing: .1em; color: var(--principal); }
.acordeao details[open] summary { color: var(--principal); }
.acordeao details p { padding: 0 0 20px 38px; color: var(--suave); line-height: 1.65; font-size: 15px; }

/* galeria e avaliações (módulo "Nossa loja" do painel, mostrado por ambienteLojaPublico) */
.ambiente-loja { max-width: none !important; padding: 0 !important; text-align: left !important; }
.ambiente-tit { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 5.6vw, 52px) !important; }
.ambiente-texto { margin: 0 0 24px !important; max-width: 720px !important; color: var(--suave); font-size: 16px; opacity: 1 !important; }
.ambiente-comodidades { justify-content: flex-start !important; }
.ambiente-comodidades li { background: var(--papel) !important; border: 1px solid var(--linha); }
.ambiente-foto img { border-radius: 0 !important; }
.ambiente-foto figcaption { font-weight: 600; color: var(--texto); opacity: 1 !important; }
.ambiente-relato { border-radius: 0 !important; background: var(--papel) !important; border: 1px solid var(--linha); border-left: 5px solid var(--principal); box-shadow: var(--sombra); }
.ambiente-relato footer { color: var(--principal); }

/* chamada final e contato */
.chamada { background: var(--papel2); border-block: 1px solid var(--linha); text-align: center; padding: 64px 20px; }
.chamada h2 { font-size: clamp(32px, 5.6vw, 52px); margin-bottom: 12px; }
.chamada-texto p { color: var(--suave); max-width: 540px; margin: 0 auto 26px; line-height: 1.6; }
.contato-grade { display: grid; gap: 28px; }
@media (min-width: 820px) { .contato-grade { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contatos li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.contatos li span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--principal); }
.contatos li a, .contatos li em { font-size: 17px; font-weight: 600; font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
.links-imp { margin-top: 8px; }
.contatos li:has([data-config][style*="display: none"]) { display: none; }
.agenda-titulo { font-size: 28px; margin-bottom: 14px; }
.agenda-card { max-width: 640px; background: var(--papel); padding: 24px; box-shadow: var(--sombra); border: 1px solid var(--linha); border-top: 4px solid var(--principal); color: var(--texto); }
.rota { margin-top: 14px; }

.rodape { text-align: center; padding: 28px 20px 44px; font-size: 12.5px; color: var(--suave); background: var(--papel2); }
.rodape a { color: var(--principal); font-weight: 700; text-decoration: none; }

/* ---------- AUTO CENTER (enxuto, referência Caiuá): topo com foto, faixa de destaques, seções claras e escuras alternadas, faixa de marcas e chamada final com endereço, horário e telefone ---------- */
.topo-tel { display: none; align-items: center; gap: 8px; color: #d6d8de; font-weight: 600; font-size: 14px; text-decoration: none; }
.topo-tel:hover { color: var(--principal); }
.topo-tel[hidden] { display: none !important; }
@media (min-width: 900px) { .topo-tel { display: inline-flex; } }
.hero--foto { min-height: min(86vh, 760px); display: flex; align-items: center; padding: 70px 20px; }
.hero--foto .hero-in { grid-template-columns: 1fr; width: 100%; }
.destaques { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.destaques .dif { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .28); border-top: 1px solid rgba(255, 255, 255, .28); background: rgba(8, 8, 10, .55); box-shadow: none; backdrop-filter: blur(3px); }
.destaques .dif h3 { margin: 0; font-size: 14px; letter-spacing: .12em; color: #fff; }
.destaques .dif p { display: none; }
.secao--clara { --bg: #ffffff; --papel: #f5f5f7; --papel2: #eeeef1; --texto: #111114; --suave: #55575f; --linha: #e3e3e8; --sombra: 0 10px 26px -14px rgba(20, 22, 26, .25); max-width: none; background: #fff; color: #111114; border-block: 0; }
.secao--clara > .secao-in { max-width: 1120px; margin: 0 auto; padding: 64px 20px; }
.secao--clara h2 { font-size: clamp(32px, 5.6vw, 52px); margin: 0 0 26px; }
.secao--clara h2[data-catalogo-titulo]:empty { display: none; }
.secao--clara .dif { background: #fff; }
.secao--clara .dif p { color: #55575f; }
.faixa-marcas { background: var(--papel2); border-block: 1px solid var(--linha); padding: 34px 20px 38px; text-align: center; }
.faixa-marcas > p { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--suave); margin-bottom: 18px; }
.faixa-marcas .marcas { justify-content: center; max-width: 1120px; margin: 0 auto; }
.agende { max-width: 980px; margin: 0 auto; text-align: center; background: var(--papel); border: 1px solid var(--linha); border-top: 5px solid var(--principal); padding: 54px 24px 46px; box-shadow: var(--sombra); }
.agende h2 { font-size: clamp(34px, 6vw, 58px); margin-bottom: 12px; }
.agende-texto p { color: var(--suave); max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }
.agende-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 38px; text-align: center; }
.agende-info > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.agende-info span { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--principal); }
.agende-info em, .agende-info a.dado { font-style: normal; color: var(--texto); font-size: 15px; line-height: 1.5; text-decoration: none; }
.agende-info > div:has([data-config][style*="display: none"]) { display: none; }
.btn--mini { min-height: 40px; padding: 0 16px; font-size: 11px; margin-top: 6px; }

/* ---------- FUNILARIA (referência Mestre da Funilaria): barra de informações, topo com foto, faixa express, cartões de serviço com FOTO e destaque ---------- */
.topo-ligue { display: none; flex-direction: column; line-height: 1.15; text-decoration: none; padding: 4px 6px; }
.topo-ligue small { font-size: 11px; color: #c9ccd3; }
.topo-ligue b { font-size: 16px; color: #fff; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .04em; }
@media (min-width: 900px) { .topo-ligue { display: flex; } }
.topo-ligue[hidden] { display: none !important; }
.dif-com-foto { padding: 0; overflow: hidden; border-top-width: 0; display: flex; flex-direction: column; }
.dif-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dif-com-foto h3 { padding: 18px 20px 0; font-size: 22px; }
.dif-com-foto h3::before { content: ''; display: block; width: 38px; height: 4px; background: var(--principal); margin-bottom: 12px; transform: skewX(-24deg); }
.dif-com-foto p { padding: 0 20px 22px; }
.fotos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.express { background: var(--papel2); border-block: 1px solid var(--linha); }
.express-in { max-width: 1120px; margin: 0 auto; padding: 60px 20px; }
.express-topo { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.express-topo h2 { margin: 0 0 12px; }
.express-topo [data-texto-corpo] p { color: var(--suave); max-width: 640px; line-height: 1.65; }

/* ---------- chat ---------- */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; background: var(--principal); color: var(--sobre-principal); padding: 0; border-radius: 50%; box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .6); }
.chat-fab::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; animation: pulsar 2.2s ease-out infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .chat-fab::after { animation: none; } }
.chat-fab-emoji { font-size: 26px; }
.chat-dica { position: fixed; right: 18px; bottom: 82px; z-index: 41; max-width: 190px; background: #fff; color: #14161a; padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 13.5px; font-weight: 700; line-height: 1.3; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .5); }
.chat-dica[hidden], .chat[hidden] { display: none; }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--principal) 60%, transparent); } 70% { box-shadow: 0 0 0 16px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }
.chat { position: fixed; z-index: 50; right: 16px; bottom: 16px; left: 16px; max-width: 380px; margin-left: auto; background: #fff; color: #14161a; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); display: flex; flex-direction: column; max-height: min(620px, calc(100dvh - 32px)); }
.chat-topo { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #111; color: #fff; }
.chat-topo-emoji { font-size: 22px; }
.chat-topo div { flex: 1; line-height: 1.25; }
.chat-topo b { font-size: 14px; }
.chat-topo small { display: block; font-size: 11.5px; color: #c9ccd3; }
.chat-topo button { color: #fff; opacity: .8; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f1f2f5; }
.m { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; }
.m.eu { align-self: flex-end; background: var(--principal); color: var(--sobre-principal); border-bottom-right-radius: 3px; }
.m.bot { color: #1f2937; align-self: flex-start; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-bottom-left-radius: 3px; }
.m.pensando { display: flex; gap: 4px; padding: 13px; }
.m.pensando i { width: 6px; height: 6px; border-radius: 50%; background: #b3b6bd; display: inline-block; animation: pisca 1.2s infinite; }
.m.pensando i:nth-child(2) { animation-delay: .2s; }
.m.pensando i:nth-child(3) { animation-delay: .4s; }
@keyframes pisca { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-atalhos { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #f1f2f5; }
.atalho { background: #fff; color: #14161a; border: 1px solid rgba(0, 0, 0, .15); font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(0, 0, 0, .1); }
.chat-form input { flex: 1; border: 1.5px solid rgba(0, 0, 0, .2); border-radius: 999px; padding: 10px 16px; font-size: 14px; }
.chat-form input:focus { outline: none; border-color: var(--principal-escuro); }
.chat-form button { background: var(--principal); color: var(--sobre-principal); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#chat-mic { background: rgba(0, 0, 0, .08); color: #14161a; }
#chat-mic[aria-pressed="true"] { background: var(--principal); color: var(--sobre-principal); }

/* cor principal escura demais para fundo escuro (27/10/2026): identidadeSite marca :root[data-principal-escura] e dá --principal-vivo; no modo escuro a página inteira usa a versão viva */
:root[data-principal-escura]:not([data-fundo="claro"]) body { --principal: var(--principal-vivo); }
