:root {
  --bg: #fafaf8; --surface: #ffffff; --surface-2: #eef1ed; --text: #13201a; --muted: #56645c;
  --border: #dde3dd; --border-strong: #b9c3bc;
  --accent: #0a7d55; --accent-hover: #075c3f; --accent-ink: #ffffff; --accent-soft: #dff3ea; --accent-soft-ink: #075c3f;
  --warn: #8a5a00; --warn-soft: #fff3d6; --warn-soft-ink: #6b4600;
  --danger: #a3332a; --danger-soft: #fde7e4; --danger-soft-ink: #7d241d;
  --inverse: #13201a; --inverse-ink: #ffffff;
  --gutter: clamp(16px, 4vw, 56px);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* As duas listas abaixo são iguais: tema do sistema e tema escolhido no botão */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e0d; --surface: #111614; --surface-2: #18201d; --text: #e6eeea; --muted: #9aaba2;
    --border: #2a3631; --border-strong: #44534c;
    --accent: #3ccf91; --accent-hover: #6fe0b0; --accent-ink: #062016; --accent-soft: #143528; --accent-soft-ink: #8fe6bf;
    --warn: #f1c36a; --warn-soft: #3a2d10; --warn-soft-ink: #f1c36a;
    --danger: #ff8a7f; --danger-soft: #3d1a17; --danger-soft-ink: #ffb3ab;
    --inverse: #e6eeea; --inverse-ink: #0b0e0d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0e0d; --surface: #111614; --surface-2: #18201d; --text: #e6eeea; --muted: #9aaba2;
  --border: #2a3631; --border-strong: #44534c;
  --accent: #3ccf91; --accent-hover: #6fe0b0; --accent-ink: #062016; --accent-soft: #143528; --accent-soft-ink: #8fe6bf;
  --warn: #f1c36a; --warn-soft: #3a2d10; --warn-soft-ink: #f1c36a;
  --danger: #ff8a7f; --danger-soft: #3d1a17; --danger-soft-ink: #ffb3ab;
  --inverse: #e6eeea; --inverse-ink: #0b0e0d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font: inherit; color: inherit; border-radius: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 8px; top: -60px; background: var(--surface); padding: 8px 12px; border: 1px solid var(--border-strong); z-index: 10; }
.pular:focus { top: 8px; }

.faixa { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sobre { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Cabeçalho */
.topo { border-bottom: 1px solid var(--border); background: var(--bg); }
.topo-in { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.logo b { font-weight: inherit; }
.logo-i { flex: none; }
.logo:hover { color: var(--text); }
.logo span { color: var(--accent); }
.logo.pequeno { font-size: 18px; }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.menu { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.menu a { color: var(--text); text-decoration: none; padding: 8px 10px; }
.menu a:hover { color: var(--accent); }
.icone-btn { width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; }
.icone-btn:hover { border-color: var(--border-strong); }
.i-sol { display: none; }
:root[data-theme="dark"] .i-sol { display: block; }
:root[data-theme="dark"] .i-lua { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sol { display: block; }
  :root:not([data-theme="light"]) .i-lua { display: none; }
}
.so-celular { display: none; }

/* Hero + chat */
.secao-chat { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero .sobre { margin-bottom: 20px; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
.lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 62ch; }
.chat { margin-top: clamp(32px, 5vw, 64px); }
.conversa { padding: 0 0 24px; display: flex; flex-direction: column; gap: 24px; }

.fala { align-self: flex-end; max-width: 560px; background: var(--surface-2); padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.fala .link { font-size: 14px; color: var(--accent); word-break: break-all; }
.aviso { align-self: flex-start; max-width: 560px; padding: 14px 18px; border: 1px solid var(--border); display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.aviso.erro { background: var(--danger-soft); border-color: transparent; color: var(--danger-soft-ink); }
.pontos { display: inline-flex; gap: 4px; flex: none; }
.pontos i { width: 6px; height: 6px; background: var(--accent); animation: pulsa 1.2s infinite ease-in-out; }
.pontos i:nth-child(2) { animation-delay: 0.2s; }
.pontos i:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulsa { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pontos i { animation: none; } html { scroll-behavior: auto; } }

.pedido { border-top: 1px solid var(--border); padding: 24px 0 0; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.conversa[hidden] + .pedido { border-top: 0; padding-top: 0; }
.pedido label { font-size: 14px; color: var(--muted); }
.pedido textarea { width: 100%; resize: vertical; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 0; min-height: 48px; }
.pedido textarea::placeholder { color: var(--muted); opacity: 0.8; }
.pedido textarea[aria-invalid="true"] { border-color: var(--danger); }
.campo-erro { font-size: 14px; color: var(--danger); }
.conta { font-size: 13px; color: var(--muted); text-align: right; }
.conta.passou { color: var(--danger); }
.pedido-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }
.dica { font-size: 13px; color: var(--muted); }
.btn { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-strong); background: transparent; color: var(--text); text-decoration: none; font-weight: 500; }
.btn:hover { border-color: var(--text); color: var(--text); }
.btn.primario { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); padding: 0 28px; }
.btn.primario:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.pedido .seta { display: none; }

/* Resultado */
.resultado { border: 1px solid var(--border); background: var(--surface); }
.res-topo { display: flex; flex-wrap: wrap; gap: 20px; padding: 24px; border-bottom: 1px solid var(--border); align-items: center; }
.miniatura { width: 88px; height: 88px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: none; color: var(--muted); overflow: hidden; }
.miniatura, .card .foto { position: relative; }
.miniatura img, .card .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #ffffff; opacity: 0; }
.miniatura img.ok, .card .foto img.ok { opacity: 1; }
.res-titulo { flex: 999 1 320px; min-width: 0; }
.res-titulo h2 { margin-top: 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; overflow-wrap: anywhere; }
.res-titulo .meta { margin-top: 4px; color: var(--muted); }
.res-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bloco { padding: 24px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bloco + .bloco { border-left: 1px solid var(--border); margin-left: -1px; }
.nota { display: flex; align-items: baseline; gap: 8px; }
.nota b { font-size: 64px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.nota span { font-size: 20px; color: var(--muted); }
.tom-bom { color: var(--accent); }
.tom-medio { color: var(--warn); }
.tom-ruim { color: var(--danger); }
.medidor { display: flex; flex-direction: column; gap: 6px; }
.trilho { height: 12px; background: var(--surface-2); position: relative; }
/* O degradê cobre o trilho inteiro e a barra revela só até a nota: nota baixa fica vermelha, alta chega ao verde */
.barra { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--n) * 1%); background: linear-gradient(90deg, var(--danger) 0%, var(--warn) 50%, var(--accent) 100%) left / calc(10000% / max(var(--n), 1)) 100% no-repeat; }
.escala { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 8px; }
.veredito { padding: 8px 12px; font-weight: 500; }
.veredito.tom-bom, .selo.tom-bom { background: var(--accent-soft); color: var(--accent-soft-ink); }
.veredito.tom-medio, .selo.tom-medio { background: var(--warn-soft); color: var(--warn-soft-ink); }
.veredito.tom-ruim, .selo.tom-ruim { background: var(--danger-soft); color: var(--danger-soft-ink); }
.resumo { font-size: 15px; color: var(--muted); }
.lista-t { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.lista-t.forte { color: var(--accent); }
.lista-t.atencao { color: var(--warn); }
.lista { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.lista li { display: flex; gap: 10px; }
.lista svg { flex: none; margin-top: 3px; }
.lista.forte svg { color: var(--accent); }
.lista.atencao svg { color: var(--warn); }
.vend-nome { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.vend-txt { font-size: 14px; color: var(--muted); margin-top: 2px; }
.rep-termo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-items: center; height: 12px; }
.rep-faixa { height: 6px; border-radius: 3px; opacity: .28; }
.rep-faixa.ativa { height: 12px; opacity: 1; }
.rep-n1 { background: #f23d4f; } .rep-n2 { background: #ff7733; } .rep-n3 { background: #f5d800; } .rep-n4 { background: #a8cf2b; } .rep-n5 { background: #00a650; }
.rep-txt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 14px; }
.rep-selo { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-soft-ink); font-size: 12px; font-weight: 600; }
.dados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dados div { background: var(--surface-2); padding: 12px; min-width: 0; }
.dados dt { font-size: 12px; color: var(--muted); }
.dados dd { font-size: 20px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.3; }
.dados .ausente dd, .criterios .ausente { font-size: 14px; font-weight: 400; color: var(--muted); }
.pesos { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pesos .linha { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding: 6px 0; }
.pesos .linha:last-child { border-bottom: 0; }
.pesos .linha b { font-weight: 500; white-space: nowrap; }
.criterios { border-bottom: 1px solid var(--border); font-size: 14px; }
.criterios summary { padding: 14px 24px; cursor: pointer; color: var(--muted); }
.criterios summary:hover { color: var(--text); }
.criterios ul { padding: 0 24px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.criterios li { background: var(--surface-2); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.criterios .c-topo { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.criterios .c-peso { font-size: 12px; color: var(--muted); }
.criterios .c-just { color: var(--muted); }
.res-pe { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.res-pe .afiliado { font-size: 13px; color: var(--muted); max-width: 60ch; }
.res-pe .botoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Comparação: tabela de verdade; no celular cada linha vira o rótulo em cima e uma célula por anúncio embaixo */
.cmp-topo { padding: 24px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.cmp-topo h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; overflow-wrap: anywhere; }
.cmp-topo .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
.cmp-motivo { max-width: 75ch; }
.cmp-aviso { padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--warn-soft); color: var(--warn-soft-ink); font-size: 15px; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.cmp th, .cmp td { padding: 10px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; font-weight: 400; }
.cmp td + td, .cmp th + th, .cmp th + td { border-left: 1px solid var(--border); }
.cmp .cmp-canto, .cmp th[scope="row"] { width: 220px; color: var(--muted); }
.cmp thead th { padding: 16px; background: var(--surface); }
.cmp thead th > span { display: block; }
.cmp thead th.indicado { box-shadow: inset 0 3px 0 var(--accent); }
.cmp-nome { margin: 4px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.35; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-notas { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.cmp-veredito { margin-top: 6px; font-size: 13px; font-weight: 500; }
.cmp-secao th { background: var(--surface-2); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--text); }
.cmp td.melhor { background: var(--accent-soft); color: var(--accent-soft-ink); font-weight: 600; }
.cmp-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid currentColor; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--accent-soft-ink); background: var(--accent-soft); }
.cmp-notas .cmp-tag { margin-left: 0; }
.cmp-obs { display: block; font-size: 12px; color: var(--muted); }
.cmp td.ausente { color: var(--muted); }
.cmp td ul { display: flex; flex-direction: column; gap: 6px; }
.cmp-acoes td { padding: 16px; }
.cmp-acoes td a { display: flex; }
.cmp-acoes td a:not(.btn) { margin-top: 10px; min-height: 44px; align-items: center; justify-content: center; }

/* Vitrine */
.secao { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.secao-fim { padding-bottom: clamp(64px, 9vw, 120px); }
.secao h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.secao .sobre { margin-bottom: 8px; }
.secao-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.filtros button { padding: 8px 14px; border: 1px solid var(--border); background: transparent; color: var(--text); }
.filtros button[aria-pressed="true"] { background: var(--inverse); border-color: var(--inverse); color: var(--inverse-ink); }
.cards { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; color: var(--text); text-decoration: none; min-width: 0; }
.card:hover { border-color: var(--border-strong); color: var(--text); }
.card .foto { aspect-ratio: 4 / 3; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.card .corpo { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card h3 { font-size: 17px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: 15px; color: var(--muted); }
.card .pe { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.selo { padding: 4px 10px; font-weight: 600; font-size: 14px; }
.card .ver { font-size: 14px; font-weight: 500; color: var(--accent); }

.passos { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.passos li { border: 1px solid var(--border); background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.passos span { font-size: 14px; color: var(--accent); font-weight: 600; }
.passos h3 { font-size: 18px; font-weight: 500; }
.passos p { font-size: 15px; color: var(--muted); }

.rodape { border-top: 1px solid var(--border); background: var(--surface-2); }
.rodape-in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.rodape-in p:last-child { max-width: 560px; }

/* Celular (mockup Celular.html) */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.6; }
  .topo-in { min-height: 60px; }
  .logo { font-size: 20px; }
  .so-celular { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 12px; font-size: 16px; }
  .menu.aberto { display: flex; }
  .menu a { padding: 12px 0; }
  .secao-chat { padding-top: 32px; padding-bottom: 0; }
  .secao-chat.conversando { padding-top: 16px; }
  .conversando .hero { display: none; }
  .conversando .chat { margin-top: 0; }
  .hero .sobre { font-size: 11px; margin-bottom: 12px; }
  .lead { font-size: 16px; margin-top: 14px; }
  .chat { margin-top: 24px; background: transparent; border: 0; }
  .conversa { padding: 0 0 16px; gap: 16px; }
  .fala { max-width: 300px; padding: 12px 14px; gap: 6px; }
  .fala .link { font-size: 13px; }
  .aviso { max-width: none; }
  /* Campo fixo no pé da tela enquanto a conversa está à vista */
  .pedido { position: sticky; bottom: 0; z-index: 4; margin: 0 calc(var(--gutter) * -1); padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border) !important; display: grid; grid-template-columns: 1fr 48px; gap: 8px; align-items: end; }
  .pedido label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pedido textarea { height: 48px; min-height: 48px; max-height: 144px; padding: 11px 12px; line-height: 24px; resize: none; field-sizing: content; }
  .campo-erro { grid-column: 1 / -1; grid-row: 1; }
  .conta { grid-column: 1 / -1; }
  .pedido-acoes { display: contents; }
  .dica { display: none; }
  .pedido .btn { width: 48px; padding: 0; }
  .pedido .rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pedido .seta { display: block; }
  .sobre, .lista-t { font-size: 11px; }
  .res-topo { padding: 16px; }
  .miniatura { display: none; }
  .res-titulo h2 { font-size: 17px; line-height: 1.35; margin-top: 2px; }
  .res-grade { grid-template-columns: 1fr; }
  .bloco { padding: 16px; gap: 12px; }
  .bloco + .bloco { border-left: 0; margin-left: 0; }
  .nota b { font-size: 56px; }
  .nota span { font-size: 18px; }
  .trilho { height: 10px; }
  .dados { gap: 8px; }
  .dados div { padding: 10px; }
  .dados dd { font-size: 18px; }
  .vend-nome { font-size: 15px; }
  .criterios summary { padding: 12px 16px; }
  .criterios ul { padding: 0 16px 16px; }
  .res-pe { padding: 16px; flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .res-pe .afiliado { font-size: 12px; text-align: center; max-width: none; }
  .res-pe .botoes { flex-direction: column; }
  .res-pe .outro { display: none; }
  .cmp-topo { padding: 16px; }
  .cmp-topo h2 { font-size: 18px; }
  .cmp-aviso { padding: 12px 16px; }
  .cmp, .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
  .cmp th, .cmp td { padding: 8px 12px; }
  .cmp .cmp-canto { display: none; }
  .cmp th[scope="row"], .cmp-secao th { grid-column: 1 / -1; width: auto; }
  .cmp th[scope="row"] { border-bottom: 0; padding-bottom: 0; font-size: 12px; }
  .cmp th[scope="row"] + td { border-left: 0; }
  /* O cabeçalho acompanha a rolagem: sem ele as células não dizem de qual anúncio são */
  .cmp thead { position: sticky; top: 0; z-index: 3; }
  .cmp thead th { padding: 10px 12px; border-bottom: 1px solid var(--border-strong); }
  .cmp-nome { font-size: 14px; margin: 2px 0 6px; -webkit-line-clamp: 1; }
  .cmp thead .sobre { letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cmp-veredito { font-size: 12px; }
  .cmp-acoes th { display: none; }
  .cmp-acoes td { padding: 12px; }
  .cmp-acoes .btn { padding: 0 8px; }
  .comparacao .res-pe .outro { display: inline-flex; }
  .secao { padding-top: 32px; padding-bottom: 32px; }
  .secao h2 { font-size: 1.4rem; }
  .cards { margin-top: 16px; grid-template-columns: 1fr; gap: 10px; }
  .card { flex-direction: row; gap: 12px; padding: 10px; }
  .card .foto { width: 64px; height: 64px; aspect-ratio: auto; flex: none; }
  .card .foto svg { width: 24px; height: 24px; }
  .card .corpo { padding: 0; gap: 2px; }
  .card .corpo .sobre { display: none; }
  .card h3 { font-size: 15px; }
  .card .meta { font-size: 13px; }
  .card .pe { padding-top: 4px; margin-top: 0; }
  .card .ver { display: none; }
  .selo { padding: 2px 8px; font-size: 13px; }
  .passos li { padding: 16px; }
  .secao-fim { padding-bottom: 48px; }
}

/* Rodapé com links e dados da empresa (home, blog e páginas legais) */
.rodape-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0; }
.rodape-links a { color: var(--text); min-height: 44px; display: inline-flex; align-items: center; }
.rodape-in .rodape-aviso { max-width: 560px; }
.rodape-in .rodape-empresa { max-width: none; margin-top: 8px; font-size: 13px; overflow-wrap: anywhere; }
.rodape-empresa a { color: inherit; }

/* Ilustração do hero: uma imagem por tema, com as bordas esmaecidas para sumir no fundo */
.hero-arte { justify-self: end; width: min(100%, 500px); aspect-ratio: 4 / 3; background: url(/img/hero-claro.jpg) center / contain no-repeat; -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 56%, transparent 72%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-arte { background-image: url(/img/hero-escuro.jpg); } }
:root[data-theme="dark"] .hero-arte { background-image: url(/img/hero-escuro.jpg); }
@media (max-width: 1000px) { .hero { display: block; max-width: 760px; } .hero-arte { display: none; } }

/* Celular: a faixa fixa no rodapé só faz sentido durante a conversa; antes dela o campo fica no fluxo, sem fundo */
@media (max-width: 720px) {
  .secao-chat:not(.conversando) .pedido { position: static; margin: 0; padding: 0; background: transparent; border-top: 0 !important; }
}
