/* --------------------------------------------------------------------------
   Componentes comuns (botões, rodapé, menu) e páginas de especialidade
   -------------------------------------------------------------------------- */

main {
  background: var(--white);
}

/* Ícones de seta dentro de botões e links */
.btn svg,
.pinfo__link svg,
.pmore svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease-out);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--petrol-deep);
  color: var(--white);
}
.btn--primary:hover {
  background: #244f5d;
}
.btn--ghost {
  color: var(--petrol-deep);
  box-shadow: inset 0 0 0 1.5px var(--petrol-deep);
}
.btn--ghost:hover {
  background: var(--petrol-deep);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--petrol-deep);
}
.btn--light:hover {
  background: var(--mist);
}

/* Menu: colunas com links */
.menu__cols {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .menu__cols {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.menu__links {
  margin-top: 1rem;
}
.menu__links a {
  display: inline-block;
  padding: 0.25rem 0;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  transition: opacity 180ms;
}
.menu__links a:hover {
  opacity: 0.7;
}
.menu__cols .menu__phones a {
  font-size: clamp(2rem, 5vw, 4.25rem);
}
.menu__body {
  overflow-y: auto;
}

/* Rodapé */
.footer {
  background: var(--petrol-ink);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  max-width: 88rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer .brand__mark {
  margin: 0 0 1rem;
  font-size: 2rem;
}
.footer__muted {
  color: var(--petrol-soft);
  font-size: 0.9375rem;
}
.footer__label {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol-soft);
}
.footer li + li {
  margin-top: 0.5rem;
}
.footer a {
  font-size: 1rem;
  transition: color 180ms;
}
.footer a:hover {
  color: var(--petrol-soft);
}
.footer__phones a {
  font-size: 1.375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.footer__legal {
  max-width: 88rem;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.875rem;
  color: var(--petrol-soft);
}

/* --------------------------------------------------------------------------
   Página de especialidade
   -------------------------------------------------------------------------- */

.pwrap {
  max-width: 80rem;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.psection-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.pnote {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Abertura com foto */
.phero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(44rem, 88svh);
  overflow: hidden;
  color: var(--white);
  background: var(--petrol-ink);
}
.phero__media,
.phero__shade {
  position: absolute;
  inset: 0;
}
.phero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 2s var(--ease-out) both;
}
.phero__shade {
  background:
    linear-gradient(90deg, rgb(14 46 55 / 0.9) 0%, rgb(14 46 55 / 0.55) 45%, rgb(14 46 55 / 0.1) 80%),
    linear-gradient(0deg, rgb(14 46 55 / 0.7) 0%, rgb(14 46 55 / 0) 45%);
}
.phero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem var(--pad) clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 1360px) {
  .phero__content {
    padding-inline: 0;
  }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--petrol-soft);
}
.crumbs a:hover {
  color: var(--white);
}
.crumbs [aria-current] {
  color: var(--white);
}
.phero__kicker {
  margin-top: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol-soft);
}
.phero h1 {
  max-width: 14ch;
  margin: 0.75rem 0 0;
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.phero__lead {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgb(255 255 255 / 0.9);
}
.phero__actions {
  margin-top: 2rem;
}

/* O que é + resumo */
.pintro {
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
  background: var(--white);
}
.pintro__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 960px) {
  .pintro__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: start;
  }
}
.pintro__text p:not(.eyebrow) {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2f3d52;
}
.pinfo {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--mist);
}
@media (min-width: 960px) {
  .pinfo {
    position: sticky;
    top: 2rem;
  }
}
.pinfo__block + .pinfo__block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(92 149 164 / 0.25);
}
.pinfo__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.pinfo__list {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
}
.pinfo__list li + li {
  margin-top: 0.5rem;
}
.pinfo__list--dots li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}
.pinfo__list--dots li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--petrol);
  transform: translateY(-2px);
}
.pinfo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--petrol-deep);
}
.pinfo__link:hover svg {
  transform: translateX(3px);
}
.pinfo__btn {
  width: 100%;
  justify-content: center;
  margin-top: 2rem;
}

/* Por que é importante */
.pwhy {
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
  background: var(--mist);
}
.pwhy--white {
  background: var(--white);
}
.pwhy__grid,
.pexams {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .pwhy__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 700px) {
  .pexams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .pexams {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pwhy__item,
.pexam {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 18px 40px -34px rgb(14 46 55 / 0.4);
}
.pexam {
  background: var(--mist);
  box-shadow: none;
}
.pwhy__num {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--petrol-deep);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pwhy__item h3,
.pexam h3 {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.pwhy__item p,
.pexam p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Fotos demonstrativas */
.pgallery {
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
  background: var(--white);
}
.pgallery__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 760px) {
  .pgallery__grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .pgallery__grid--3 {
    grid-template-columns: 1.4fr 1fr;
  }
  .pgallery__grid--3 .pgallery__item:first-child {
    grid-row: span 2;
  }
}
.pgallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.pgallery__img {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--petrol-ink);
}
@media (min-width: 760px) {
  .pgallery__grid--3 .pgallery__item:first-child .pgallery__img {
    aspect-ratio: auto;
    min-height: 20rem;
  }
}
.pgallery__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgallery__item figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Chamada para agendar */
.pcta {
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad);
  background: var(--petrol-deep);
  color: var(--white);
}
.pcta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}
.pcta h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.pcta p {
  margin-top: 0.5rem;
  color: var(--petrol-soft);
}
.pcta__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pcta__phones a {
  display: inline-flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol-deep);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 200ms;
}
.pcta__phones a:hover {
  background: var(--mist);
}

/* Outras especialidades */
.pmore {
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) var(--pad);
}
.pmore h2 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}
.pmore ul {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .pmore ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .pmore ul {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pmore a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0 1.5rem;
  border-radius: 0.875rem;
  background: var(--mist);
  font-weight: 600;
  color: var(--navy);
  transition:
    background-color 200ms,
    color 200ms;
}
.pmore a:hover {
  background: var(--petrol-deep);
  color: var(--white);
}
.pmore a:hover svg {
  transform: translateX(3px);
}

/* Galeria com uma foto só */
@media (min-width: 760px) {
  .pgallery__grid--1 .pgallery__img {
    aspect-ratio: 21 / 9;
  }
}

/* --------------------------------------------------------------------------
   Janela "Agendar consulta" com os dois números
   -------------------------------------------------------------------------- */
.booking {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: var(--pad);
}
.booking[hidden] {
  display: none;
}
.booking__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(14 46 55 / 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
}
.booking__panel {
  position: relative;
  width: min(30rem, 100%);
  padding: 2.25rem 2rem 2rem;
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 40px 80px -30px rgb(14 46 55 / 0.6);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 350ms var(--ease-out),
    transform 450ms var(--ease-out);
}
.booking.is-open .booking__backdrop,
.booking.is-open .booking__panel {
  opacity: 1;
  transform: none;
}
.booking__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--navy);
}
.booking__close:hover {
  background: var(--mist);
}
.booking h2 {
  margin: 0.75rem 0 1.5rem;
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.booking__list li + li {
  margin-top: 0.75rem;
}
.booking__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0 0.75rem 0 1.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 200ms,
    color 200ms;
}
.booking__phone em {
  display: inline-grid;
  place-items: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--petrol-deep);
  color: var(--white);
  font-size: 0.9375rem;
  font-style: normal;
}
.booking__phone:hover {
  background: var(--petrol-deep);
  color: var(--white);
}
.booking__phone:hover em {
  background: var(--white);
  color: var(--petrol-deep);
}
.booking__note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Links das seções no topo
   -------------------------------------------------------------------------- */
.topnav {
  display: none;
}
@media (min-width: 1100px) {
  .topnav {
    position: absolute;
    left: 50%;
    display: flex;
    gap: 0.25rem;
    padding: 0.3125rem;
    border: 1px solid rgb(255 255 255 / 0.22);
    border-radius: 999px;
    background: rgb(14 46 55 / 0.25);
    backdrop-filter: blur(10px);
    transform: translateX(-50%);
  }
  .topnav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 1.125rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgb(255 255 255 / 0.9);
    transition:
      background-color 200ms var(--ease-out),
      color 200ms var(--ease-out);
  }
  .topnav a:hover,
  .topnav a[aria-current] {
    background: var(--white);
    color: var(--petrol-deep);
  }
}

/* Rodapé: linha legal com link de privacidade */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer__legal a {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Página de privacidade e segurança
   -------------------------------------------------------------------------- */
.phero--plain {
  min-height: 0;
  background:
    radial-gradient(80% 120% at 85% 0%, rgb(92 149 164 / 0.45), transparent 60%),
    var(--petrol-ink);
}
.phero--plain .phero__content {
  padding-top: 9rem;
}
.legal {
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
  background: var(--white);
}
.legal__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 960px) {
  .legal__grid {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 5rem;
    align-items: start;
  }
  .legal__toc {
    position: sticky;
    top: 2rem;
  }
}
.legal__toc ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgb(92 149 164 / 0.3);
}
.legal__toc a {
  display: block;
  padding: 0.4375rem 0 0.4375rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition:
    color 180ms,
    border-color 180ms;
}
.legal__toc a:hover {
  color: var(--petrol-deep);
  border-color: var(--petrol);
}
.legal__body {
  max-width: 46rem;
}
.legal__summary {
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  background: var(--mist);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--navy);
}
.legal__block {
  margin-top: 3rem;
  scroll-margin-top: 2rem;
}
.legal__block h2 {
  margin: 0;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.legal__block p {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2f3d52;
}

/* --------------------------------------------------------------------------
   Página de especialidade: "O que é" e "Por que cuidar disso" (versão 2)
   -------------------------------------------------------------------------- */
.pintro__text .pintro__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.pintro__text p:not(.eyebrow):not(.pintro__lead) {
  padding-left: 1.25rem;
  border-left: 2px solid var(--petrol);
}

/* Cartão escuro com médicos e exames */
.pinfo {
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(120% 70% at 100% 0%, rgb(92 149 164 / 0.45), transparent 60%),
    var(--petrol-ink);
  color: var(--white);
  box-shadow: 0 40px 70px -40px rgb(14 46 55 / 0.7);
}
.pinfo .pinfo__label {
  color: var(--petrol-soft);
}
.pinfo .pinfo__label + * {
  margin-top: 1rem;
}
.pdocs + .pinfo__label {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.pdocs li + li {
  margin-top: 0.5rem;
}
.pdoc {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 0.875rem;
  transition: background-color 200ms;
}
.pdoc:hover {
  background: rgb(255 255 255 / 0.08);
}
.pdoc strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
}
.pdoc small {
  display: block;
  font-size: 0.875rem;
  color: var(--petrol-soft);
}
.pdoc__avatar {
  position: relative;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--petrol-deep);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.18);
}
.pdoc__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.pdoc__avatar--empty {
  background: url("../images/marca/contornos-claro.svg") center / 220% auto no-repeat, var(--petrol-deep);
}
.pchips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pchips li {
  padding: 0.5rem 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  font-size: 0.9375rem;
}
.pinfo .pinfo__link {
  margin-top: 1.25rem;
  color: var(--white);
}
.pinfo .pinfo__btn {
  margin-top: 1.75rem;
}

/* Por que cuidar disso: título fixo ao lado e lista numerada */
.pwhy__layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .pwhy__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 5rem;
    align-items: start;
  }
  .pwhy__head {
    position: sticky;
    top: 3rem;
  }
}
.pwhy__head > p:last-child {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}
.pwhy__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(92 149 164 / 0.3);
}
.pwhy__list .pwhy__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgb(92 149 164 / 0.3);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
@media (min-width: 640px) {
  .pwhy__list .pwhy__item {
    gap: 2.5rem;
    padding: 2.5rem 0;
  }
}
.pwhy__list .pwhy__num {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--petrol);
  transition: color 400ms var(--ease-out);
}
.pwhy__list .pwhy__item:hover .pwhy__num {
  color: var(--petrol);
}
.pwhy__list h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
.pwhy__list p {
  margin-top: 0.625rem;
  max-width: 36rem;
  font-size: 1.0625rem;
}

/* Logo da Clínica Dias junto do COD (topo e rodapé) */
.brand__parent {
  display: block;
  width: auto;
  height: 2.25rem;
}
.brand__rule--logo {
  display: block;
}
@media (max-width: 639px) {
  .brand__parent {
    height: 1.5rem;
  }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  /* com os links no meio, o nome por extenso sai para caber o logo */
  .brand__name,
  .brand__name + .brand__rule {
    display: none;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.footer__brand .brand__mark {
  margin: 0;
}
.footer__brand img {
  height: 2.25rem;
  width: auto;
}

/* Texto de abertura do "O que é" maior */
.pintro__text p.pintro__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Menu em tela cheia (versão 2): navegação, especialidades com foto, agendar
   -------------------------------------------------------------------------- */
.menu {
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(92 149 164 / 0.35), transparent 60%),
    var(--petrol-ink);
}
.menu__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu__brand img {
  height: 2.125rem;
  width: auto;
}
.menu__close {
  border: 1px solid rgb(255 255 255 / 0.3);
  padding: 0 1.125rem;
  transition: background-color 200ms, color 200ms;
}
.menu__close:hover {
  background: var(--white);
  color: var(--petrol-deep);
}
.menu__body {
  justify-content: space-between;
  padding-top: clamp(2rem, 5vh, 4rem);
}
.menu__grid {
  display: grid;
  gap: 2.5rem;
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .menu__grid {
    grid-template-columns: 1fr 1.15fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}
.menu__col .menu__label {
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
  color: var(--petrol-soft);
}

/* Navegação principal */
.menu__main {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__main a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.375rem 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  transition:
    color 200ms,
    transform 300ms var(--ease-out);
}
.menu__main a span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
}
.menu__main a:hover {
  color: var(--petrol-soft);
  transform: translateX(6px);
}

/* Especialidades com foto pequena */
.menu__specs a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  transition: background-color 200ms;
}
.menu__specs a:hover {
  background: rgb(255 255 255 / 0.07);
}
.menu__thumb {
  position: relative;
  display: block;
  width: 4rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 0.625rem;
}
.menu__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu__specs svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: var(--petrol-soft);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease-out);
}
.menu__specs a:hover svg {
  transform: translateX(4px);
}

/* Cartão de agendar */
.menu__book {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.menu__book .menu__label {
  border: 0;
  padding: 0;
}
.menu__book-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.menu__phones2 {
  margin: 1.5rem 0 1.25rem;
}
.menu__phones2 li + li {
  margin-top: 0.75rem;
}
.menu__phones2 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0 0.5rem 0 1.25rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 200ms;
}
.menu__phones2 em {
  display: inline-grid;
  place-items: center;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 999px;
  background: var(--petrol-deep);
  color: var(--white);
  font-size: 0.875rem;
  font-style: normal;
}
.menu__phones2 a:hover {
  background: var(--mist);
}
.menu__book .menu__muted {
  font-size: 0.9375rem;
}

.menu__foot {
  max-width: 88rem;
  width: 100%;
  margin: 2.5rem auto 0;
  align-items: center;
}
.menu__foot a {
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--petrol-soft);
}

/* Entrada em sequência quando o menu abre */
.menu [style*="--m"] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.menu.is-open [style*="--m"] {
  opacity: 1;
  transform: none;
  transition-delay: calc(120ms + var(--m) * 60ms);
}
@media (prefers-reduced-motion: reduce) {
  .menu [style*="--m"] {
    opacity: 1;
    transform: none;
  }
}
/* Conteúdo do menu centralizado na altura da tela, rodapé embaixo */
.menu__grid {
  margin-block: auto;
}
.menu__foot {
  margin-top: 2.5rem;
}

/* Etiquetas claras nas seções escuras (vence a cor padrão de .eyebrow) */
.cat .eyebrow,
.agende .eyebrow {
  color: var(--petrol-soft);
}

/* Telefones nunca quebram em duas linhas */
.booking__phone span,
.menu__phones2 a span {
  white-space: nowrap;
}
.booking__phone {
  font-size: clamp(1.0625rem, 4.6vw, 1.375rem);
}

/* Página O COD: marcas lado a lado no cartão escuro */
.about__brands {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.about__brands .brand__mark {
  font-size: 2rem;
  color: var(--white);
}
.about__brands img {
  height: 2.25rem;
  width: auto;
}
.about__plus {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--petrol-soft);
}
.about__brands ~ .pchips {
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   Agendamento on-line
   -------------------------------------------------------------------------- */
.booking__online {
  width: 100%;
  justify-content: center;
  min-height: 3.75rem;
  background: var(--petrol-deep);
  color: var(--white);
}
.booking__online:hover {
  background: var(--petrol-ink);
}
.booking__or {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.agende__online {
  width: fit-content;
  margin-top: 1.5rem;
}

.agenda .agenda__panel {
  display: flex;
  flex-direction: column;
  width: min(48rem, 100%);
  max-height: min(52rem, calc(100dvh - 2rem));
  padding: 0;
  overflow: hidden;
}
@media (max-width: 599px) {
  .agenda {
    padding: 0;
    place-items: stretch;
  }
  .agenda .agenda__panel {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
}
.agenda__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem) 0;
}
.agenda .agenda__head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.agenda .agenda__close {
  position: static;
  flex: none;
  background: var(--mist);
}
.agenda__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.375rem;
  margin: 1.25rem 0 0;
  padding: 0 clamp(1.25rem, 4vw, 2.25rem) 1.125rem;
  border-bottom: 1px solid var(--mist);
  list-style: none;
}
.agenda__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.agenda__steps li::before {
  content: "";
  height: 4px;
  border-radius: 99px;
  background: var(--mist);
  transition: background-color 300ms;
}
.agenda__steps li span {
  display: none;
}
.agenda__steps li.is-done::before,
.agenda__steps li.is-current::before {
  background: var(--petrol);
}
.agenda__steps li.is-current {
  color: var(--petrol-deep);
}
.agenda__demo {
  margin: 1rem clamp(1.25rem, 4vw, 2.25rem) 0;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  background: #fff4e5;
  color: #7a4a0f;
  font-size: 0.875rem;
  font-weight: 600;
}
.agenda__demo[hidden] {
  display: none;
}
.agenda__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem);
}
.agenda__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.25rem) 1.25rem;
  border-top: 1px solid var(--mist);
}
.agenda__foot .agenda__next {
  margin-left: auto;
  background: var(--petrol-deep);
  color: var(--white);
}
.agenda__foot .agenda__next:hover:not(:disabled) {
  background: var(--petrol-ink);
}
.agenda__foot .agenda__next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.agenda__foot .agenda__next[hidden],
.agenda__back[hidden] {
  display: none;
}
.agenda__back {
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--petrol-deep);
}
.agenda__back:hover {
  background: var(--mist);
}
.agenda__lead {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.agenda__hint {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.agenda__hint a,
.agenda__empty a {
  font-weight: 600;
  color: var(--petrol-deep);
  white-space: nowrap;
}

/* passos 1 e 2: médico e unidade */
.agenda__docs,
.agenda__units {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .agenda__docs {
    grid-template-columns: 1fr 1fr;
  }
}
.adoc,
.aunit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 4.75rem;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgb(14 46 55 / 0.12);
  text-align: left;
  transition:
    box-shadow 200ms,
    background-color 200ms;
}
.adoc:hover:not(:disabled),
.aunit:hover {
  background: var(--mist);
}
.adoc.is-selected,
.aunit.is-selected {
  background: rgb(92 149 164 / 0.1);
  box-shadow: inset 0 0 0 2px var(--petrol);
}
.adoc:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.adoc__photo {
  position: relative;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--petrol-soft);
}
.adoc__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.adoc__text,
.aunit > span:nth-child(2) {
  display: grid;
  gap: 0.125rem;
}
.adoc strong,
.aunit strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.adoc small,
.aunit small {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.adoc__off {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--petrol-deep);
}
.adoc__check {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(14 46 55 / 0.25);
  transform: translateY(-50%);
}
.is-selected .adoc__check {
  background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 12.5l4 4L18 8%22/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: none;
}
.aunit__pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--mist);
}
.aunit__pin svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: var(--petrol-deep);
  stroke-width: 1.8;
}

/* passo 3: dia e horário */
.agenda__loading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 2.5rem 0;
  color: var(--text-muted);
}
.agenda__spin {
  width: 1.5rem;
  height: 1.5rem;
  border: 2.5px solid var(--mist);
  border-top-color: var(--petrol);
  border-radius: 50%;
  animation: agenda-spin 800ms linear infinite;
}
@keyframes agenda-spin {
  to {
    transform: rotate(360deg);
  }
}
.agenda__empty {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--mist);
}
.agenda__empty p {
  margin-top: 0.5rem;
  color: var(--text-muted);
}
.agenda__days {
  display: flex;
  gap: 0.5rem;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2.25rem));
  padding: 0.25rem clamp(1.25rem, 4vw, 2.25rem) 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.aday {
  display: grid;
  justify-items: center;
  flex: none;
  width: 4.75rem;
  padding: 0.75rem 0.25rem;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgb(14 46 55 / 0.12);
  scroll-snap-align: start;
  color: var(--navy);
}
.aday small {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.aday strong {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.aday em {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-style: normal;
  color: var(--petrol-deep);
}
.aday:hover {
  background: var(--mist);
}
.aday.is-selected {
  background: var(--petrol-deep);
  box-shadow: none;
  color: var(--white);
}
.aday.is-selected small,
.aday.is-selected em {
  color: rgb(255 255 255 / 0.8);
}
.agenda__daylabel {
  margin: 0.75rem 0;
  font-weight: 600;
  color: var(--navy);
}
.agenda__daylabel::first-letter {
  text-transform: uppercase;
}
.agenda__times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));
  gap: 0.5rem;
}
.atime {
  min-height: 3rem;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgb(14 46 55 / 0.15);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.atime:hover {
  background: var(--mist);
}
.atime.is-selected {
  background: var(--petrol);
  box-shadow: none;
  color: var(--white);
}

/* passo 4: dados */
.agenda__form {
  display: grid;
  gap: 1rem;
}
.agenda__row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .agenda__row {
    grid-template-columns: 1fr 1fr;
  }
}
.afield {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.afield > span,
.afield legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.afield input:not([type="radio"]) {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--mist);
  font: inherit;
  font-size: 1.0625rem;
  color: var(--navy);
  transition:
    box-shadow 200ms,
    background-color 200ms;
}
.afield input:not([type="radio"]):focus {
  outline: none;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--petrol);
}
.afield.has-error input:not([type="radio"]) {
  box-shadow: inset 0 0 0 2px #c0392b;
}
.afield--radio > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.375rem;
}
.afield--radio label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.125rem;
  border-radius: 999px;
  background: var(--mist);
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}
.afield--radio label:has(input:checked) {
  background: var(--petrol-deep);
  color: var(--white);
}
.afield--radio input {
  accent-color: var(--petrol);
}
.afield small {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.afield__err {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: #c0392b;
}
.afield__err:empty {
  display: none;
}
.acheck {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.acheck input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--petrol);
}
.acheck a {
  font-weight: 600;
  color: var(--petrol-deep);
  text-decoration: underline;
}

/* passo 5: revisão e confirmação */
.areview__doc {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--mist);
}
.areview__doc .adoc__photo {
  width: 4rem;
  height: 4rem;
}
.areview__doc strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}
.areview__doc small {
  color: var(--text-muted);
}
.areview dl {
  display: grid;
  margin: 0;
}
.areview dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mist);
}
.areview dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.areview dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}
.areview dd::first-letter {
  text-transform: uppercase;
}
.areview dd small {
  display: block;
  margin-top: 0.125rem;
  font-weight: 400;
  color: var(--text-muted);
}
.agenda__error {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #fdecea;
  color: #8e2a1f;
  font-weight: 600;
}
.agenda__error[hidden] {
  display: none;
}
.adone {
  display: grid;
  justify-items: center;
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}
.adone__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--petrol);
}
.adone__icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adone h3 {
  max-width: 26rem;
  margin: 1.25rem 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.adone > p:not(.agenda__hint) {
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.adone > p strong {
  color: var(--navy);
}
.adone__btn {
  margin-top: 1.75rem;
  background: var(--petrol-deep);
  color: var(--white);
}
.dmodal__book[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .agenda__spin {
    animation-duration: 2.4s;
  }
}
.agenda__foot[hidden] {
  display: none;
}

/* Agendamento: CPF primeiro, depois o resto */
.acpf {
  display: grid;
  gap: 0.75rem;
  align-items: start;
}
@media (min-width: 640px) {
  .acpf {
    grid-template-columns: 1fr auto;
  }
  .acpf__btn {
    margin-top: 1.625rem;
  }
}
.acpf__btn {
  min-height: 3.25rem;
  background: var(--petrol-deep);
  color: var(--white);
}
.acpf__btn:hover:not(:disabled) {
  background: var(--petrol-ink);
}
.acpf__btn:disabled {
  opacity: 0.6;
}
.acad {
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  background: var(--mist);
}
.acad strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}
.acad p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.acad--ok {
  background: rgb(92 149 164 / 0.12);
  box-shadow: inset 3px 0 0 var(--petrol);
}

/* Agendamento: convênio do médico */
.aconv[hidden] {
  display: none;
}
.afield select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 2.75rem 0 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1.125rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--navy);
  appearance: none;
  cursor: pointer;
}
.afield select:focus {
  outline: none;
  background-color: var(--white);
  box-shadow: inset 0 0 0 2px var(--petrol);
}
.afield.has-error select {
  box-shadow: inset 0 0 0 2px #c0392b;
}
