@font-face { font-family: "RT Dromo"; src: url("/assets/fonts/RTDromo-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "RT Dromo"; src: url("/assets/fonts/RTDromo-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "RT Dromo"; src: url("/assets/fonts/RTDromo-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #e6e6e6;
  --surface: #f2f2f2;
  --fg: #1a1a1a;
  --muted: #5a5a5a;
  --line: rgba(26, 26, 26, .12);
  --med: #699bb2;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 500 17px/1.5 "RT Dromo", system-ui, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
b { font-weight: 700; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Pílulas */
.pilula {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.pilula.preta { background: var(--fg); color: var(--bg); }
.pilula.preta:hover { background: #333; }
.pilula.contorno { border: 1.5px solid var(--fg); color: var(--fg); }
.pilula.contorno:hover { background: rgba(26, 26, 26, .08); }
.pilula:focus-visible, summary:focus-visible, .rodape a:focus-visible, .marca:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

/* Cabeçalho */
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.marca img { height: 30px; width: auto; display: block; }
.marca span { font-size: 15px; font-weight: 500; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1.2; }

.lead { font-size: 19px; margin-top: 18px; max-width: 38ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nota { margin-top: 14px; font-size: 15px; color: var(--muted); }
h1 { font-weight: 700; letter-spacing: -0.035em; }

/* Hero 1 — manchete gigante, conversa por cima */
.hero-manchete { display: grid; padding-top: 16px; padding-bottom: 32px; }
.hero-manchete h1 { font-size: clamp(54px, 12.4vw, 180px); line-height: .9; letter-spacing: -0.05em; max-width: 9ch; }
.manchete-pe { margin-top: 20px; }
.manchete-chat { margin-top: 28px; justify-self: center; position: relative; }
@media (min-width: 960px) {
  .hero-manchete { grid-template-columns: 1fr 380px; grid-template-rows: auto auto; column-gap: 48px; padding-top: 24px; padding-bottom: 72px; }
  .hero-manchete h1 { grid-column: 1 / -1; grid-row: 1; max-width: 8.2ch; }
  .manchete-pe { grid-column: 1; grid-row: 2; margin-top: 36px; }
  .manchete-chat { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 250px; z-index: 1; }
}

/* Hero 2 — o dia passando */
.hero-dia { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 40px; grid-template-areas: "texto" "chat" "agenda"; }
.dia-texto { grid-area: texto; }
.hero-dia h1 { font-size: 40px; line-height: 1.02; max-width: 14ch; }
.dia-chat { grid-area: chat; justify-self: center; }
.dia-chat .wa-corpo { height: 400px; overflow: hidden; justify-content: flex-end; }
.agenda { grid-area: agenda; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.agenda li { display: grid; grid-template-columns: 26px 64px 1fr; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); transition: color .3s; }
.agenda li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--fg); transition: border-color .3s, background .3s; }
.agenda li.feito::before { border-color: var(--med); background: var(--med); }
.agenda time { font-weight: 700; font-variant-numeric: tabular-nums; }
.anima .agenda li:not(.feito) { color: var(--muted); }
.anima .agenda li:not(.feito)::before { border-color: rgba(26, 26, 26, .3); }
@media (min-width: 960px) {
  .hero-dia { grid-template-columns: 1fr 400px; grid-template-areas: "texto chat" "agenda chat"; column-gap: 72px; row-gap: 40px; padding-top: 32px; padding-bottom: 72px; }
  .hero-dia h1 { font-size: 60px; }
  .agenda { align-self: end; max-width: 560px; }
  .dia-chat .wa-corpo { height: 470px; }
}

/* Hero 3 — a página é a conversa */
.hero-conversa { margin-top: 4px; }
.conversa-topo .wa-topo { background: #008069; color: #f2f2f2; padding: 12px max(16px, calc((100% - 760px) / 2)); }
.conversa-corpo {
  --wa-in: #ffffff; --wa-out: #d9fdd3; --wa-hora: #667781;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(17,27,33,.05) 1.2px, transparent 1.4px), radial-gradient(rgba(17,27,33,.035) 1.2px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px;
  border-radius: 0 0 28px 28px; padding: 12px 16px 28px;
  font: 400 15px/1.38 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #111b21;
}
.conversa-coluna { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 3px; }
.conversa-coluna > .wa-de { align-self: center; font-family: "RT Dromo", system-ui, sans-serif; margin-bottom: 4px; }
.conversa-coluna .wa-dia { margin-top: 0; }
.conversa-cartao {
  margin-top: 24px; background: var(--surface); color: var(--fg); border-radius: 28px; padding: 28px 22px;
  font: 500 17px/1.5 "RT Dromo", system-ui, sans-serif;
}
.conversa-cartao h1 { font-size: 34px; line-height: 1.04; max-width: 16ch; }
.conversa-cartao h1 i { font-style: normal; background: #d9fdd3; border-radius: 10px; padding: 0 .18em; }
@media (min-width: 960px) {
  .hero-conversa { margin: 4px 16px 0; }
  .conversa-topo .wa-topo { border-radius: 28px 28px 0 0; }
  .conversa-corpo { padding: 20px 32px 48px; font-size: 16px; }
  .conversa-coluna .msg { max-width: 62%; }
  .conversa-cartao { padding: 44px 48px; margin-top: 36px; }
  .conversa-cartao h1 { font-size: 56px; }
}

/* Hero 4 — dois celulares no mesmo horário */
.hero-dupla { padding-top: 16px; padding-bottom: 40px; }
.dupla-texto h1 { font-size: 38px; line-height: 1.02; max-width: 14ch; }
.dupla-fones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; align-items: start; }
.dupla-fones .chat { max-width: none; }
.dupla-fones .wa-de { font-size: 12px; }
@media (max-width: 599px) {
  .dupla-fones .wa { font-size: 12.5px; border-width: 4px; border-radius: 22px; }
  .dupla-fones .wa-topo { gap: 6px; padding: 9px 8px; }
  .dupla-fones .wa-ic { display: none; }
  .dupla-fones .wa-avatar { width: 28px; height: 28px; }
  .dupla-fones .wa-quem b { font-size: 14px; }
  .dupla-fones .wa-corpo { padding: 8px 8px 10px; min-height: 0; }
  .dupla-fones .msg { max-width: 94%; }
  .dupla-fones .wa-mic { width: 36px; height: 36px; }
  .dupla-fones .wa-campo { padding: 8px 10px; font-size: 13px; }
}
@media (min-width: 960px) {
  .hero-dupla { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding-top: 32px; padding-bottom: 72px; }
  .dupla-texto h1 { font-size: 60px; }
  .dupla-fones { margin-top: 0; gap: 24px; }
  .dupla-fones .chat:last-child { margin-top: 120px; }
  .dupla-fones .wa-de { font-size: 13px; }
}

/* Hero 5 — o relógio no centro */
.hero-relogio { display: grid; gap: 32px; padding-top: 8px; padding-bottom: 40px; }
.relogio-bloco { position: relative; }
.relogio-aro { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--med); flex: none; }
.relogio-rotulo { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 959px) { .hero-relogio .lead { display: none; } }
.relogio { font-weight: 700; font-size: clamp(96px, 17vw, 236px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; margin-left: -.04em; }
.hero-relogio h1 { font-size: 30px; line-height: 1.08; max-width: 18ch; margin-top: 20px; }
.relogio-chat { justify-self: center; }
@media (min-width: 960px) {
  .hero-relogio { grid-template-columns: 1fr 400px; gap: 64px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
  .hero-relogio h1 { font-size: 40px; }
}

/* Conversa no visual do WhatsApp (tema claro do app) */
.chat { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 8px; }
.wa-de { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.escala .wa-de { color: #c4c4c4; }
.wa {
  --wa-verde: #008069; --wa-fundo: #efeae2; --wa-in: #ffffff; --wa-out: #d9fdd3;
  --wa-tx: #111b21; --wa-hora: #667781; --wa-tique: #53bdeb;
  border-radius: 28px; overflow: hidden; background: var(--wa-fundo);
  font: 400 14.5px/1.38 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--wa-tx); border: 6px solid #1a1a1a;
}
.wa-topo { display: flex; align-items: center; gap: 10px; background: var(--wa-verde); color: #f2f2f2; padding: 12px 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wa-voltar { width: 22px; height: 22px; flex: none; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e6e6e6; flex: none; object-fit: contain; padding: 5px; }
.wa-quem { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; min-width: 0; }
.wa-quem b { font-weight: 600; font-size: 16px; }
.wa-status { font-size: 12.5px; opacity: .85; }
.wa-ic { width: 22px; height: 22px; flex: none; opacity: .95; }
.wa-corpo {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; min-height: 120px;
  background-color: var(--wa-fundo);
  background-image: radial-gradient(rgba(17,27,33,.05) 1.2px, transparent 1.4px), radial-gradient(rgba(17,27,33,.035) 1.2px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px;
}
.wa-dia { align-self: center; background: #ffffff; color: #54656f; font-size: 12px; padding: 5px 12px; border-radius: 8px; margin: 2px 0 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); text-transform: uppercase; letter-spacing: .02em; flex: none; }
.msg {
  position: relative; max-width: 82%; padding: 6px 9px 8px; border-radius: 8px; margin-top: 6px; flex: none;
  box-shadow: 0 1px .5px rgba(11,20,26,.13); overflow-wrap: anywhere; transform-origin: bottom left;
}
.msg b { font-weight: 700; }
.msg time { float: right; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--wa-hora); margin: 8px 0 -4px 10px; line-height: 1; }
.msg.bot { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.msg.eu { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 0; transform-origin: bottom right; }
/* rabinho do balão */
.msg::before { content: ""; position: absolute; top: 0; width: 9px; height: 13px; }
.msg.bot::before { left: -8px; background: var(--wa-in); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.msg.eu::before { right: -8px; background: var(--wa-out); clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-tique { width: 16px; height: 11px; color: #53bdeb; }
.resumo { display: flex; flex-direction: column; }
.resumo .sub { margin-top: 8px; }
.resumo em { font-style: normal; color: var(--wa-hora); font-size: 12.5px; margin-top: 8px; }
.resumo time { align-self: flex-end; }
.wa-barra { display: flex; align-items: center; gap: 8px; padding: 6px 8px 10px; background: var(--wa-fundo); }
.wa-campo { flex: 1; min-width: 0; background: #ffffff; border-radius: 999px; padding: 10px 16px; color: #8696a0; font-size: 15px; }
.wa-mic { width: 44px; height: 44px; border-radius: 50%; background: #00a884; color: #ffffff; display: grid; place-items: center; flex: none; }
.wa-mic svg { width: 22px; height: 22px; }
/* digitando… */
.wa-digitando { align-self: flex-start; background: #ffffff; border-radius: 8px; border-top-left-radius: 0; padding: 10px 12px; margin-top: 6px; display: inline-flex; gap: 4px; flex: none; box-shadow: 0 1px .5px rgba(11,20,26,.13); animation: pop .32s cubic-bezier(.34,1.56,.64,1) both; }
.wa-digitando i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: pulo 1s infinite ease-in-out; }
.wa-digitando i:nth-child(2) { animation-delay: .15s; } .wa-digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pulo { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { 0% { transform: scale(.55); opacity: 0; } 70% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
/* só esconde para animar quando o JS está rodando; sem JS, tudo aparece */
.anima .msg { opacity: 0; transform: scale(.55); }
.anima .msg.on { animation: pop .42s cubic-bezier(.34,1.56,.64,1) both; }
.anima .rola .msg:not(.on) { display: none; } /* conversa longa: o balão novo empurra os antigos para cima */
@media (prefers-reduced-motion: reduce) { .anima .msg { opacity: 1; transform: none; } .anima .msg.on, .wa-digitando { animation: none; } .agenda li, .agenda li::before { transition: none; } }

/* Seções */
.secao { padding-top: 80px; }
.sobre { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
h2 { font-weight: 700; font-size: 34px; line-height: 1.06; letter-spacing: -0.03em; max-width: 18ch; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.secao > h2 { margin-bottom: 28px; }
p + p { margin-top: 12px; }
.par-texto h2 { margin-bottom: 18px; }
.par-texto p { max-width: 46ch; }
.apoio { color: var(--muted); font-size: 15px; }
.par { display: grid; gap: 32px; }
.par .chat { justify-self: center; }
@media (min-width: 900px) {
  .secao { padding-top: 128px; }
  h2 { font-size: 48px; }
  .secao > h2 { margin-bottom: 48px; }
  .par { grid-template-columns: 1fr 400px; gap: 80px; align-items: center; }
  .par.invertido { grid-template-columns: 400px 1fr; }
  .par.invertido .chat { grid-column: 1; grid-row: 1; }
}

/* Quando algo sai do normal: bloco preto (estado, não área) */
.escala { margin-top: 80px; background: var(--fg); color: var(--bg); border-radius: 28px; padding: 56px 0; }
.escala .sobre { color: #c4c4c4; }
.escala h2 { margin-bottom: 36px; }
.escala-grade { display: grid; gap: 48px; }
.escala-caso h3 { margin-bottom: 8px; }
.escala-caso > p { max-width: 44ch; margin-bottom: 24px; }
.escala .chat { color: var(--fg); }
.escala-par { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .escala { margin: 128px 16px 0; padding: 88px 0; }
  .escala-grade { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .escala-par { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .escala-par .chat:last-child { margin-top: 96px; }
}

.divisao { display: grid; gap: 40px; }
.divisao h3 { margin-bottom: 12px; }
@media (min-width: 900px) { .divisao { grid-template-columns: 1fr 1fr; gap: 64px; } }
.lista { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.lista li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; max-width: 52ch; }
.lista li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--fg); }

.palavras { border-top: 1px solid var(--line); }
.palavras div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.palavras dt { justify-self: start; font-weight: 700; font-size: 17px; border: 1.5px solid var(--fg); border-radius: 999px; padding: 6px 16px; }
.palavras dd { color: var(--muted); }
@media (min-width: 900px) {
  .palavras div { grid-template-columns: 280px 1fr; align-items: center; gap: 32px; padding: 22px 0; }
  .palavras dt { font-size: 20px; }
  .palavras dd { font-size: 19px; }
}

.faq { border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 64px; padding: 18px 40px 18px 0;
  font-weight: 700; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: 60ch; color: var(--muted); }

.fim { padding-top: 104px; padding-bottom: 80px; }
.fim h2 { font-size: 40px; max-width: 16ch; }
.fim p { margin: 16px 0 28px; }
@media (min-width: 900px) { .fim { padding-top: 160px; padding-bottom: 112px; } .fim h2 { font-size: 64px; } }

.rodape {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line);
  font-size: 15px;
}
.assina { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.assina img { height: 24px; width: auto; }
.rodape .apoio { margin: 0; margin-right: auto; }
.rodape-links { display: flex; gap: 8px; }
.rodape-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
