/*
 * Pagina de consultorios (/consultorio).
 *
 * Clara de proposito — o oposto da automotiva. Quem tem consultorio
 * compra confianca e calma: branco, madeira, verde de planta, azul da
 * marca so onde e acao. As fotos sao geradas (ambientacao, nao
 * clientes), em /assets/consultorio/.
 *
 * Carregada so nesta pagina, pelo layout ($estilo).
 */

.co { --co-fundo: #F7F5F1; --co-verde: #3F6B5A; --co-verde-suave: #E7EFEA; }

.co-olho {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--co-verde); margin-bottom: .75rem;
}
.co-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.co-h2 em { font-style: normal; color: var(--marca); }
.co-lead { font-size: 1.12rem; color: var(--tinta-media); max-width: 44rem; }
.co-secao { padding: 4.5rem 0; }
.co-secao-alt { background: var(--co-fundo); }

/* --------------------------------------------------------------- abertura */
.co-heroi {
  position: relative;
  min-height: 600px;
  display: flex; align-items: center;
  padding: 5rem 0;
  /* Altura manda, nao largura: a foto encosta na direita e as pessoas
     ficam fora da coluna do texto em qualquer tela larga. */
  background: #fff right 40% / auto 112% no-repeat;
}
.co-heroi::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 68%);
}
.co-heroi .container { position: relative; }
.co-heroi-texto { max-width: 33rem; }
.co-titulo { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; }
.co-titulo em { font-style: normal; color: var(--marca); }
.co-heroi .co-lead { color: #334155; }
.co-nota { font-size: .88rem; color: var(--tinta-media); }
.co-btn-claro { background: #fff; border: 1px solid #D6DCE4; color: var(--tinta); font-weight: 600; }
.co-btn-claro:hover { border-color: var(--marca); color: var(--marca); }

@media (max-width: 991.98px) {
  /* No celular a foto vem inteira em cima e o texto embaixo, no branco. */
  .co-heroi {
    min-height: 0; display: block;
    padding: calc(56vw + 1.5rem) 0 2.5rem;
    background-size: 100% auto; background-position: center top;
  }
  .co-heroi::before {
    background: linear-gradient(180deg, rgba(255,255,255,0) calc(56vw - 4rem), #fff calc(56vw + .5rem));
  }
}

/* ------------------------------------------------------------ numeros */
.co-faixa { border-top: 1px solid #EEE9E1; border-bottom: 1px solid #EEE9E1; background: var(--co-fundo); padding: 2.2rem 0; }
.co-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--tinta); line-height: 1; }
.co-num small { font-size: 1rem; font-weight: 700; color: var(--tinta-media); }
.co-num-rotulo { font-size: .9rem; color: var(--tinta-media); margin-top: .35rem; }

/* --------------------------------------------------------------- dores */
.co-dor {
  height: 100%; background: #fff; border: 1px solid #EEE9E1; border-radius: 18px; padding: 1.5rem;
}
.co-dor i { font-size: 1.5rem; color: var(--co-verde); }
.co-dor h3 { font-size: 1.08rem; font-weight: 700; margin: .8rem 0 .4rem; }
.co-dor p { color: var(--tinta-media); margin: 0; font-size: .95rem; }

/* ------------------------------------------------------------ recursos */
.co-recurso { align-items: center; margin-bottom: 4.5rem; }
.co-recurso:last-child { margin-bottom: 0; }
.co-recurso h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1rem; }
.co-recurso p { color: var(--tinta-media); font-size: 1.04rem; }
.co-foto { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, .12); aspect-ratio: 4 / 3; }
.co-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-check { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.co-check li { display: flex; gap: .6rem; margin-bottom: .55rem; color: var(--tinta); }
.co-check i { color: var(--co-verde); font-size: 1.1rem; line-height: 1.4; }
.co-selo {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--co-verde-suave); color: var(--co-verde);
  border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 700; margin-bottom: 1rem;
}

/* Cartao do financeiro: um "extrato" desenhado, sem foto. */
.co-extrato {
  background: #fff; border: 1px solid #EEE9E1; border-radius: 22px; padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .1); max-width: 30rem; margin: 0 auto;
}
.co-extrato-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.co-extrato-topo strong { font-size: 1.05rem; }
.co-extrato-topo span { color: var(--tinta-media); font-size: .85rem; }
.co-extrato-linha { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-top: 1px solid #F1EEE8; font-size: .95rem; }
.co-extrato-linha small { display: block; color: var(--tinta-media); font-size: .8rem; }
.co-pill { border-radius: 999px; padding: .2rem .65rem; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.co-pill-ok { background: #E8F6EE; color: #187D43; }
.co-pill-abre { background: #FDF3E2; color: #A06000; }
.co-extrato-total { display: flex; justify-content: space-between; padding-top: .9rem; border-top: 2px solid #EEE9E1; font-weight: 800; font-size: 1.1rem; }
.co-zapzinho {
  margin-top: 1rem; background: #E7F8EE; border-radius: 14px; padding: .7rem .9rem; font-size: .9rem; color: #14532D;
}
.co-zapzinho i { color: #25D366; }

/* ------------------------------------------------- celular (tema claro) */
.co-celular {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 19; margin: 0 auto;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #2A2E35, #121418);
  box-shadow: 0 0 0 1.5px #3A3F48, 0 40px 80px rgba(15, 23, 42, .25);
}
.co-celular-ilha {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 25px; border-radius: 20px; background: #000; z-index: 2;
}
.co-celular-tela {
  height: 100%; border-radius: 38px; overflow: hidden;
  display: flex; flex-direction: column; background: #EFEAE2; font-size: .8rem;
}
.co-celular-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px 6px 28px; background: #F6F6F6; color: #111; font-weight: 600; font-size: .78rem;
}
.co-celular-status i { font-size: .8rem; margin-left: 2px; }
.co-zap-topo { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem .7rem; background: #F6F6F6; border-bottom: 1px solid #E4E4E4; }
.co-zap-topo .bi-chevron-left { color: #007AFF; font-size: 1rem; }
.co-zap-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #5B8F7A, var(--co-verde)); color: #fff; font-size: 1rem;
}
.co-zap-nome { min-width: 0; line-height: 1.2; }
.co-zap-nome strong { display: block; font-size: .82rem; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-zap-nome .bi-patch-check-fill { color: #25D366; font-size: .7rem; }
.co-zap-nome small { color: #667781; font-size: .7rem; }
.co-zap-conversa { flex: 1; padding: .8rem .65rem; overflow: hidden; }
.co-zap-dia {
  width: max-content; margin: 0 auto .8rem; padding: .2rem .6rem; border-radius: 7px;
  background: #fff; color: #54656F; font-size: .66rem; letter-spacing: .04em; box-shadow: 0 1px .5px rgba(0,0,0,.08);
}
.co-bolha { max-width: 86%; padding: .45rem .6rem .4rem; border-radius: 9px; margin-bottom: .45rem; line-height: 1.35; color: #111B21; box-shadow: 0 1px .5px rgba(0,0,0,.1); }
.co-bolha-paciente { background: #D9FDD3; margin-left: auto; border-top-right-radius: 3px; }
.co-bolha-casa { background: #fff; border-top-left-radius: 3px; }
.co-hora { float: right; margin: .35rem 0 0 .5rem; font-size: .62rem; color: #667781; }
.co-hora .bi-check2-all { color: #53BDEB; }
.co-zap-digitar { display: flex; align-items: center; gap: .5rem; margin: .4rem .55rem 1.1rem; }
.co-zap-digitar span { flex: 1; background: #fff; color: #8696A0; border-radius: 20px; padding: .5rem .8rem; }
.co-zap-digitar i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #00A884; color: #fff; }
.co-zap-nota { color: var(--tinta-media); font-size: .82rem; margin: 1rem 0 0; text-align: center; }

.co-destaque {
  border-left: 3px solid var(--co-verde); background: var(--co-verde-suave);
  padding: 1rem 1.2rem; border-radius: 0 14px 14px 0; color: #24453A; margin-top: 1.5rem;
}

/* Convite para a clinica de demonstracao (home: #vitrine). */
.co-demo {
  margin-top: 1.5rem; background: var(--co-fundo); border: 1px solid #EEE9E1;
  border-radius: 18px; padding: 1.2rem 1.3rem; color: var(--tinta-media);
}
.co-demo strong { display: block; color: var(--tinta); font-size: 1.05rem; margin-bottom: .25rem; }

/* ------------------------------------------------------------ app */
.co-app { background: #0F172A; color: #fff; border-radius: 28px; padding: 3rem; }
.co-app .co-lead { color: #CBD5E1; }
.co-app .co-olho { color: #93C5FD; }
.co-app .site-lojas { justify-content: flex-start; }

/* ------------------------------------------------------------ perguntas */
.co-faq { border-bottom: 1px solid #EEE9E1; padding: 1.1rem 0; }
.co-faq summary { font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary::after { content: "+"; color: var(--marca); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.co-faq[open] summary::after { content: "–"; }
.co-faq p { color: var(--tinta-media); margin: .7rem 0 0; }

/* ------------------------------------------------------------ fecho */
.co-fecho { text-align: center; padding: 5rem 0; background: var(--co-fundo); }
