/* danielthome.com - blocos adicionais (out/2026)
 * Botoes de contato no topo, bloco de confianca, tipos de hernia,
 * comparacao de vias e passo a passo da avaliacao.
 * Usa as variaveis de cor do CSS principal (_astro/*.css).
 */

/* ---------- Topo: botoes de WhatsApp por consultorio ---------- */
.hero--cta { padding-bottom: 4rem; }
.hero--cta .hero__title { max-width: 18ch; }
.hero__cta-label {
  margin: 2rem 0 .7rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero--cta .hero__actions { margin-top: 0; }
.btn--wa { padding: .8rem 1.35rem; font-size: .95rem; }
.btn--wa svg { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }

/* ---------- Bloco de confianca ---------- */
.trust {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
  padding: 2.2rem 0;
}
.trust__inner { display: flex; align-items: center; gap: 1.6rem; }
.trust__photo {
  flex: none;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trust__body { min-width: 0; }
.trust__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.trust__role { margin: .25rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--text-2); }
.trust__reg {
  margin: .35rem 0 0;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
  line-height: 1.7;
  color: var(--muted);
}
.trust__list {
  list-style: none;
  margin: .9rem 0 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: .55rem;
}
.trust__list li { font-size: .95rem; line-height: 1.55; color: var(--text-2); }
.trust__list span {
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.trust--inline { background: none; border: 0; padding: 0; margin-top: 2rem; max-width: 48rem; }
.trust--inline .trust__inner { padding: 0; }

/* ---------- Tipos de hernia ---------- */
.types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.type {
  background: linear-gradient(180deg, var(--bg2), var(--bg2b));
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.type h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.type p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--text-3); }
.type p + p { margin-top: .6rem; }
.type__tag {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

/* ---------- Passo a passo da avaliacao ---------- */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 46rem;
  counter-reset: passo;
}
.steps li {
  position: relative;
  counter-increment: passo;
  padding: 1.05rem 0 1.05rem 3.1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  line-height: 1.7;
}
.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--cyan-soft);
  border: 1px solid var(--line);
  background: var(--bg2);
}
.steps strong { display: block; }
.cta-inline { margin-top: 2rem; }
.cta-inline .hero__cta-label { margin-top: 0; }
.cta-inline .hero__actions { margin-top: 0; }

@media (max-width: 640px) {
  .hero--cta { padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .hero--cta .hero__title { font-size: 2.15rem; }
  .hero--cta .hero__lead { margin-top: 1.1rem; font-size: 1.12rem; }
  .hero__cta-label { margin-top: 1.5rem; }
  .hero--cta .hero__actions .btn,
  .cta-inline .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .trust { padding: 1.6rem 0; }
  .trust__inner { display: grid; grid-template-columns: 5.25rem 1fr; gap: 0 1rem; grid-template-rows: auto auto 1fr; align-items: start; }
  .trust__inner > picture { grid-row: 1 / 4; }
  .trust__body { display: contents; }
  .trust__name, .trust__role, .trust__reg { grid-column: 2; }
  .trust__list { grid-column: 1 / -1; }
  .trust--inline .trust__inner { display: block; }
  .trust__photo { width: 5.25rem; height: 5.25rem; border-radius: 14px; }
  .trust__name { font-size: 1.12rem; }
  .trust__role { font-size: .9rem; }
}

/* ---------- Home: botoes de contato no topo ---------- */
.hero .hero__cta-label + .hero__actions { margin-top: 0; }
@media (max-width: 640px) {
  .hero__actions--home .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .hero--home { padding-top: 2.6rem; }
  .hero--home .hero__title { font-size: 2.15rem; }
  .hero--home .hero__lead { margin-top: 1.1rem; font-size: 1.12rem; }
}
