/* Lembriz — site institucional. Uma coluna de leitura; seções separadas por respiro, não por caixas. */
:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --fg: #172224;
  --muted: #56666a;
  --line: #dde3e1;
  --accent: #0e6b62;
  --accent-ink: #ffffff;
  --accent-soft: #e3f0ed;
  --chat: #e7f5e9;
  --chat-bg: #efeae2;
  --placeholder: #9a5b00;
  --f-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111717; --surface: #182121; --fg: #e5ecea; --muted: #9aaba7; --line: #2b3736;
    --accent: #5cc5b4; --accent-ink: #0d1716; --accent-soft: #173733; --chat: #1d3a2c; --chat-bg: #1b2422;
    --placeholder: #e3a64a; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.envolve { max-width: var(--largura); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.preencher { color: var(--placeholder); font-weight: 600; }

/* Topo */
.topo { border-bottom: 1px solid var(--line); background: var(--surface); }
.topo .envolve { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.marca { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; }
.marca span { color: var(--accent); }
.topo nav { display: flex; gap: 20px; align-items: center; font-size: 15px; }
.topo nav a { color: var(--muted); text-decoration: none; }
.topo nav a.entrar { color: var(--accent); font-weight: 600; }

/* Abertura */
.abertura .envolve { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 72px 56px; }
@media (max-width: 860px) { .abertura .envolve { grid-template-columns: minmax(0, 1fr); padding-block: 48px 32px; } }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
.abertura p.sub { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.botao { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 8px; }
.botao.secundario { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 8px; }

/* Mensagem de exemplo, no formato do WhatsApp */
.conversa { background: var(--chat-bg); border-radius: 14px; padding: 20px; border: 1px solid var(--line); }
.conversa .rotulo { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.balao { background: var(--chat); border-radius: 4px 12px 12px 12px; padding: 12px 14px 8px; font-size: 15px; line-height: 1.5; max-width: 42ch; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.balao .rodape-msg { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.balao .hora { display: block; text-align: right; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.botoes-msg { max-width: 42ch; display: grid; gap: 2px; margin-top: 2px; }
.botoes-msg span { background: var(--chat); text-align: center; color: var(--accent); font-weight: 600; font-size: 14.5px; padding: 9px; border-radius: 4px; }
.botoes-msg span:last-child { border-radius: 4px 4px 12px 12px; }

/* Seções */
section { padding-block: 56px; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: passo; }
@media (max-width: 760px) { .passos { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.passos li { counter-increment: passo; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--f-display); font-weight: 800; margin-bottom: 12px; }
.passos h3 { font-size: 18px; margin: 0 0 6px; }
.passos p { margin: 0; color: var(--muted); }
.lista-cuidados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 760px) { .lista-cuidados { grid-template-columns: minmax(0, 1fr); } }
.lista-cuidados strong { display: block; font-family: var(--f-display); font-size: 17px; margin-bottom: 2px; }
.lista-cuidados span { color: var(--muted); }
.publico { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.publico li { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding-block: 16px; max-width: 72ch; }
details summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Páginas de texto (privacidade, termos) */
.documento { padding-block: 48px 64px; }
.documento .envolve { max-width: 760px; }
.documento h1 { font-size: clamp(28px, 4vw, 38px); }
.documento h2 { font-size: 21px; margin: 36px 0 8px; }
.documento p, .documento li { color: var(--fg); }
.documento ul { padding-left: 22px; }
.documento .atualizado { color: var(--muted); font-size: 15px; }
.documento table { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 8px; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.documento th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.tabela-rolagem { overflow-x: auto; }

/* Rodapé */
.rodape { background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.rodape .envolve { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding-block: 32px; }
@media (max-width: 760px) { .rodape .envolve { grid-template-columns: minmax(0, 1fr); } }
.rodape p { margin: 0 0 4px; }
.rodape .empresa strong { color: var(--fg); }
.rodape nav { display: flex; flex-direction: column; gap: 6px; }
.rodape nav a { color: var(--muted); }
