/* Atalho sem endereço cadastrado aparece como texto, não como link quebrado */
.utility__pending { display: inline-block; padding-block: 0.3rem; color: var(--on-dark-2); }
.c9hero .phead__grid { align-items: center; row-gap: var(--space-5); column-gap: clamp(1.5rem, 4vw, 4.5rem); }
.c9hero .phead__main { grid-column: 1 / span 7; gap: 1.25rem; }
.c9hero .phead__code { min-width: 46px; height: 46px; font-size: 1.35rem; }

/* Depois do texto principal vem a chamada para ação; os destaques e a nota
   ficam abaixo, como apoio à decisão (order: 1 a 4) */
.c9hero .phead__lead {
  order: 1;
  max-width: 58ch;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: #E3EDF9;
}
.c9hero__cta { order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--space-1); }
.c9hero__cta .btn { min-height: 54px; }

/* Lista de destaques: cada item é uma linha com ícone em círculo */
.c9hero__checks {
  order: 3;
  display: grid;
  max-width: 60ch;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--on-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.c9hero__checks li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.c9hero__checks .ico {
  box-sizing: content-box;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-500);
  font-size: 0.85rem;
  stroke-width: 2.6;
}
.c9hero__checks strong { color: var(--white); font-weight: var(--fw-semibold-plus); }

.c9hero__note { order: 4; font-size: var(--fs-xs); color: var(--on-blue); line-height: 1.6; }
.c9hero__note small { font-size: var(--fs-2xs); color: var(--on-blue); }@media (min-width: 1024px) and (max-height: 900px) {
  .c9hero .phead__grid { row-gap: var(--space-4); }
  .c9hero .phead__main { gap: var(--space-4); }
  .c9hero .phead__code { min-width: 40px; height: 40px; font-size: 1.15rem; }
  .c9hero__checks li { padding: 0.6rem 0; }

}@media (max-width: 1023px) {
  .c9hero .phead__top { order: -2; }

}@media (max-width: 699px) {
  .c9hero .phead__main { display: contents; }
  .c9hero .phead__main > * { grid-column: 1 / -1; }
  .c9hero .phead__top { order: -5; }
  .c9hero .phead__lead { order: -3; line-height: 1.55; }
  /* No celular o botão fica embaixo do cartão, como nas outras aberturas
     (o .c9hero__visual continua com o order: -2 do secoes.css). */
  .c9hero__cta { order: -1; margin-top: 0; }
  .c9hero__cta .btn { width: 100%; justify-content: center; padding-inline: 1rem; }
  .c9hero .phead__sign { display: none; }

}

/* ── Números (faixa sobreposta à abertura) ─────────────────── */
.c9stats {
  --lift: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  z-index: 2;
  margin-top: calc(var(--lift) * -1);
  /* metade de cima sobre a abertura, metade de baixo já no fundo dos benefícios */
  background: linear-gradient(180deg, transparent 0 var(--lift), var(--navy) var(--lift));
}
.bene__foot { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--on-dark-2); }

.panels {
  display: flex;
  gap: var(--space-2);
  height: clamp(520px, 70vh, 680px);
}
.panel__media { position: absolute; inset: 0; background: var(--navy-950); }
.panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.4s var(--ease-out), opacity var(--dur-4) var(--ease-out);
}
.panel.is-active .panel__media img { transform: scale(1); }
/* Foto paisagem do Pronto Atendimento (mesma da home): enquadra a recepção */
.panel--featured .panel__media img { object-position: 50% 45%; }
/* Foto que não carregou: o rótulo de reserva fica no canto, sem cobrir o
   título nem o texto do painel; brilho de carregamento mais discreto */
.panel__media.is-error { background: radial-gradient(circle at 70% 25%, rgba(47, 125, 209, 0.45), transparent 60%), var(--navy-950); }
.panel__media.is-error::before { left: auto; right: 1.25rem; top: auto; bottom: 1.25rem; z-index: 1; color: var(--blue-200); }
.panel:not(.is-active) .panel__media.is-error::before { display: none; }

.panel__heading { position: absolute; inset: 0; z-index: 3; margin: 0; font: inherit; }
.panel__num {
  padding: 0.15rem 0.45rem;
  border: 1.5px solid currentColor;
  border-radius: var(--r-sign);
  color: var(--sky);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold-plus);
  font-variant-numeric: tabular-nums;
}
.panel__title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: calc(100% - 7.5rem);
  font-size: 1.3rem;
  font-weight: var(--fw-semibold-plus);
  font-stretch: 106%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}
.panel__plus {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: background-color var(--dur-2), border-color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.panel__plus::before, .panel__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 1.75px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.panel__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.panel__trigger:hover .panel__plus { background: var(--white); border-color: var(--white); color: var(--navy); transform: rotate(90deg); }

.panel.is-active .panel__heading { bottom: auto; }
.panel.is-active .panel__title {
  writing-mode: horizontal-tb;
  transform: none;
  max-height: none;
  font-size: var(--fs-xl);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(3, 22, 48, 0.45);
  animation: fadeIn var(--dur-3) var(--ease-out) 0.3s both;
}
.panel.is-active .panel__plus { display: none; }
.panel__kicker {
  margin-bottom: var(--space-3);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold-plus);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}
.panel__text { max-width: 42ch; font-size: var(--fs-md); line-height: 1.45; text-wrap: pretty; }

/* Destaque no 1º benefício (Pronto atendimento presencial) */
.panel--featured { outline: 1.5px solid rgba(156, 203, 255, 0.75); outline-offset: 3px; }
.panel--featured .panel__num { background: var(--sky); border-color: var(--sky); color: var(--navy-950); }
.panel__flag { display: inline-block; margin-left: 0.6rem; padding: 0.15rem var(--space-2); border-radius: var(--r-pill); background: var(--sky); color: var(--navy-950); letter-spacing: 0.08em; vertical-align: 1px; }@media (max-width: 1279px) {
  .panels { height: clamp(480px, 64vh, 620px); }

}@media (max-width: 1100px) {
  .panels { flex-direction: column; height: auto; gap: 6px; }
  .panel__heading { bottom: auto; height: 72px; }
  .panel__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: none;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.98rem;
    line-height: 1.15;
    white-space: normal;
  }
  .panel__plus { margin-left: auto; width: 36px; height: 36px; }
  .panel.is-active .panel__title { font-size: clamp(1.15rem, 4.2vw, 1.4rem); -webkit-line-clamp: unset; }
  .panel__text { font-size: var(--fs-base); max-width: none; }
  .panel--featured .panel__media img { object-position: 50% 38%; }

}@media (max-width: 699px) {
  .panel__heading { height: 68px; }
  .panel__num { font-size: 0.7rem; }
  .panel__title { font-size: 0.92rem; }
  .panel.is-active .panel__title { font-size: 1.2rem; }
  .panel__text { font-size: 0.95rem; line-height: 1.4; }
  .panel--featured .panel__media img { object-position: 48% 36%; }

}

/* Nos painéis: lado a lado também no celular */
@media (max-width: 699px) {
  .lojas--painel { gap: 0.4rem; flex-wrap: nowrap; }
  .lojas--painel .loja { min-height: 46px; padding: 0.35rem 0.7rem 0.35rem 0.55rem; gap: 0.45rem; }
  .lojas--painel .loja__ico { width: 20px; height: 20px; }
  .lojas--painel .loja__txt strong { font-size: 0.92rem; }
  .lojas--painel .loja__txt small { font-size: 0.6rem; }

}

/* ── Por que ───────────────────────────────────────────────── */
/* "9" vazado discreto à direita do título de "Por que" e de "Como funciona"
   (decorativo; acompanha a animação de entrada do título) */
.c9why, .c9how { isolation: isolate; }
.c9why .shead, .c9how .shead { position: relative; }
.c9why .shead::after, .c9how .shead::after {
  content: "9" / "";
  position: absolute;
  right: 0;
  bottom: -0.12em;
  z-index: -1;
  font-size: clamp(10rem, 18vw, 17rem);
  font-weight: var(--fw-black);
  font-stretch: 125%;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-100);
  pointer-events: none;
}@media (max-width: 1023px) {
  .c9why .shead::after, .c9how .shead::after { display: none; }

}

/* ── Planos ────────────────────────────────────────────────── */
.plans__terms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 1.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-2);
}
.plans__terms span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--ring-line);
}
.plans__terms span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

.plans__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
/* Aviso antes da contratação (Decreto 7.962/2013): termos, cancelamento e privacidade */
.plans__legal { max-width: 78ch; margin-top: var(--space-5); font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-2); }
.plans__legal a { color: var(--blue-600); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
.plan-card--premium {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(34rem 22rem at 100% 0%, rgba(47, 125, 209, 0.45), transparent 60%),
    var(--navy);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(156, 203, 255, 0.35), var(--sh-3);
}
.plan-card--premium:hover { box-shadow: inset 0 0 0 1px rgba(156, 203, 255, 0.7), var(--sh-3); }
/* "9" vazado ao fundo do Premium */
.plan-card--premium::after {
  content: "9";
  position: absolute;
  right: -0.08em;
  bottom: -0.32em;
  z-index: -1;
  font-size: clamp(14rem, 22vw, 22rem);
  font-weight: var(--fw-black);
  font-stretch: 125%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(156, 203, 255, 0.14);
  pointer-events: none;
}
.plan-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem var(--space-3);
  border-radius: var(--r-pill);
  background: var(--sky);
  color: var(--navy-950);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan-card__head { padding-right: 9rem; }
.plan-card__name { font-size: var(--fs-xl); font-weight: var(--fw-semibold-plus); font-stretch: 106%; letter-spacing: -0.025em; }
/* Destaque é a parcela mensal (com respiro entre letras e palavras); o valor
   anual vem logo abaixo, em tamanho menor */
.plan-card__bill { order: 1; display: grid; gap: var(--space-2); font-size: var(--fs-sm); color: var(--ink-2); }
.plan-card__bill p:first-child { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink-3); }
.plan-card__bill p:first-child strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(3rem, 1.8rem + 3.4vw, 5rem);
  font-weight: var(--fw-light);
  font-stretch: 84%;
  letter-spacing: -0.02em;
  word-spacing: 0.08em;
  line-height: 0.95;
  color: var(--blue-500);
  font-variant-numeric: tabular-nums;
}
.plan-card__bill strong { color: var(--ink); font-weight: var(--fw-semibold-plus); }
.plan-card--premium .plan-card__bill { color: var(--on-dark); }
.plan-card--premium .plan-card__bill p:first-child { color: var(--on-dark); }
.plan-card--premium .plan-card__bill strong { color: var(--white); }
.plan-card--premium .plan-card__bill p:first-child strong { color: var(--white); }

.plan-card__list { order: 3; margin-bottom: var(--space-2); }
.plan-card__list li { display: flex; gap: var(--space-3); padding: 0.7rem 0; border-top: 1px solid var(--line-soft); }
.plan-card__list li:first-child { border-top: 0; }
.plan-card__list .ico {
  box-sizing: content-box;
  flex: none;
  margin-top: 0.05rem;
  padding: 0.22rem;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-500);
  font-size: 0.85rem;
  stroke-width: 2.4;
}
.plan-card__list li.is-off { color: var(--ink-3); }
.plan-card__list li.is-off > span:first-of-type { text-decoration: line-through; text-decoration-color: rgba(91, 106, 126, 0.45); }
.plan-card__list li.is-off .ico { background: var(--ice-2); color: var(--ink-3); }
.plan-card--premium .plan-card__list li { border-top-color: rgba(255, 255, 255, 0.14); }
.plan-card--premium .plan-card__list li:first-child { border-top: 0; }
.plan-card--premium .plan-card__list .ico { background: rgba(156, 203, 255, 0.18); color: var(--sky); }
@media (max-width: 699px) {
  .plan-card__head { padding-right: 0; }
  .plan-card__badge { position: static; justify-self: start; align-self: flex-start; order: -1; }

}

/* ── Dúvidas ───────────────────────────────────────────────── */
.c9faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); align-items: start; }
.c9faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.25rem; }
.c9faq__help { padding: var(--space-4) 1.15rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--ring-line); color: var(--ink-2); font-size: var(--fs-sm); }
.c9faq__help a { color: var(--blue-500); font-weight: var(--fw-semibold-plus); text-underline-offset: 3px; }
.c9faq__list { grid-column: 6 / -1; display: grid; gap: 0.6rem; }
.c9faq__list .acc {
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow var(--dur-2);
}
.c9faq__list .acc:hover { box-shadow: var(--ring-line); }
.c9faq__list .acc[open] { box-shadow: inset 0 0 0 1.5px var(--blue-300), var(--sh-1); }
.c9faq__list .acc summary { font-size: var(--fs-base); }
.c9faq__list .acc summary:focus-visible { outline-offset: 2px; }
.c9faq__list .acc__plus { width: 38px; height: 38px; }
.c9faq__list .acc[open] .acc__plus { background: var(--blue-500); border-color: var(--blue-500); }
.c9faq__list .acc__body { padding: 0 0 1.4rem; }
.c9faq__list .acc__body p { max-width: 62ch; color: var(--ink-2); line-height: 1.65; }

@media (max-width: 1023px) {
  .c9faq__head, .c9faq__list { grid-column: 1 / -1; position: static; }

}
@media (max-width: 699px) {
  .c9faq__list .acc { padding: 0 var(--space-4); }

}
/* Texto e botões à esquerda, foto da fachada à direita */
.c9cta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--space-5); align-items: center; }
.c9cta__copy { grid-column: 1 / span 6; display: grid; gap: 1.25rem; }
/* Portal do cliente (Lifetech) */
.c9cta__portal { display: grid; gap: var(--space-3); justify-items: start; max-width: 52ch; padding: var(--space-4) 1.15rem; border-radius: var(--r-md); background: rgba(3, 22, 48, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.c9cta__portal p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: #E3EDF9; }
.c9cta__portal strong { color: var(--white); }
.c9cta__portal .btn { min-height: 48px; gap: var(--space-2); }
/* Foto real da fachada: mostra onde o titular vai ser atendido */
.c9cta__place {
  border-radius: var(--r-md);
  background: rgba(3, 22, 48, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 30px 60px -36px rgba(3, 22, 48, 0.8);
}
/* --altura: ajuste de altura feito no editor (1 = original) */
.c9cta__grid > .c9cta__place { grid-column: 8 / -1; width: 100%; aspect-ratio: 4 / calc(3 * var(--altura, 1)); }
.c9cta__place img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: inherit; }

@media (max-width: 1023px) {
  .c9cta__copy { grid-column: 1 / -1; }
  .c9cta__grid > .c9cta__place { grid-column: 1 / -1; aspect-ratio: 16 / calc(9 * var(--altura, 1)); }

}
/* 28/10/2026: eram 3 colunas, então "Atendimento" caía para uma segunda
   linha, sozinho ao lado do logo. Com as 4 do layout.css os três blocos de
   links ficam lado a lado, igual ao rodapé do hospital (menos 211 px). */
.footer__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--space-6) clamp(1.5rem, 3vw, var(--space-7)); align-items: start; padding-block: 0; }
.footer__about { gap: var(--space-4); max-width: none; }
.footer__cta { display: grid; gap: 0.35rem; margin: 0; padding: 0; border: 0; }
.footer__cta-title { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem); line-height: 1.2; }
.footer__phone { gap: 0.15rem; }
.footer__phone-label { font-size: var(--fs-2xs); }
.footer__phone-num { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }

/* Cartões do app de telemedicina e do mapa */
.footer__destaques { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.25rem; margin-top: clamp(2rem, 4vw, var(--space-7)); }
.footer__card .footer__h { margin: 0; }
.footer__destaques .footer__app { justify-items: start; background: linear-gradient(150deg, rgba(4, 92, 188, 0.45), rgba(4, 92, 188, 0.12)); }
.footer__destaques .footer__app .lojas { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.6rem; width: min(100%, 260px); margin-top: 0; }
.footer__destaques .loja { min-height: 56px; padding: var(--space-2) 1.1rem var(--space-2) 0.9rem; }
.footer__destaques .loja__ico { width: 26px; height: 26px; }
.footer__destaques .loja__txt strong { font-size: 1.1rem; }
.footer__mapa { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: stretch; }
.footer__mapa-info { display: grid; gap: var(--space-3); align-content: start; justify-items: start; font-size: var(--fs-sm); }
.footer__mapa-info .footer__map-addr { margin: 0; }
.footer__parceiros-wrap .footer__h { margin: 0; }
.footer__parceiros-wrap .parceiros li { height: 104px; min-width: 170px; padding: 0.7rem 1.25rem; }
.footer__parceiros-wrap .parceiros img { height: 76px; max-width: 240px; }

/* Aviso legal: corpo um pouco maior e linha mais curta para leitura */
.footer__disclaimer { max-width: 92ch; margin-top: clamp(1.75rem, 3vw, 2.25rem); padding-top: 0; border-top: 0; font-size: var(--fs-xs); line-height: 1.65; margin-bottom: clamp(1.5rem, 3vw, var(--space-6)); }

@media (max-width: 1100px) {
  .footer__destaques { grid-template-columns: 1fr; }

}@media (max-width: 699px) {
  /* Marca e contato em cima; as duas listas de links lado a lado */
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .footer__about { grid-column: 1 / -1; }
  .footer__mapa { grid-template-columns: 1fr; }
  .footer__destaques .footer__app .lojas { width: 100%; }
  .footer__parceiros-wrap .parceiros li { height: 84px; min-width: 0; padding: var(--space-2) var(--space-3); }
  .footer__parceiros-wrap .parceiros img { height: 58px; max-width: 100%; }

}
.qc__msg--eu { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--blue-500); color: var(--white); }
.qc__msg--eu.is-novo { animation-name: qcEntraEu; }
@keyframes qcEntraEu { from { opacity: 0; transform: translateY(6px) translateX(6px); } to { opacity: 1; transform: none; } }
