/* --------------------------------------------------------------------------
   Seção 2: especialidades e exames (home)
   -------------------------------------------------------------------------- */

.specs {
  position: relative;
  overflow: hidden;
  background: var(--mist);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
/* Contornos de folha e cruz do Manual da Marca, bem suaves no fundo */
.specs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/marca/contornos.svg") right top / min(60rem, 90%) auto no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.specs > * {
  position: relative;
}

.specs__head {
  max-width: 50rem;
  margin: 0 auto clamp(2.75rem, 5vw, 4rem);
  text-align: center;
}
.specs__head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.specs__head p {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Grade de especialidades: 4 cartões com foto */
.specs__grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  max-width: 88rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .specs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .specs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Moldura de foto (especialidades e médicos): cantos arredondados, etiqueta
   inclinada sobre a foto e uma pontinha embaixo apontando para o texto. */
.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.4;
  border-radius: 1.25rem;
  background: var(--petrol-ink);
  isolation: isolate;
}
.tile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: var(--petrol-ink);
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition:
    transform 900ms var(--ease-out),
    filter 600ms var(--ease-out);
}
.tile__tag {
  position: absolute;
  left: 1rem;
  bottom: 1.5rem;
  z-index: 2;
  padding: 0.4375rem 0.875rem;
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.92);
  color: var(--petrol-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 10px 24px -14px rgb(14 46 55 / 0.6);
  transform: rotate(-4deg);
  transition: transform 400ms var(--ease-out);
  backdrop-filter: blur(6px);
}
.tile__tag--muted {
  background: rgb(255 255 255 / 0.16);
  color: var(--white);
  box-shadow: none;
}

.spec {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.spec .tile {
  overflow: visible;
}
.spec .tile img {
  clip-path: inset(0 round 1.25rem);
}
.spec:hover .tile img {
  transform: scale(1.03);
}
.spec:hover .tile__tag,
.doc:hover .tile__tag {
  transform: rotate(0deg) translateY(-3px);
}
.spec__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem 0.25rem 0;
}
.spec__title,
.doc__name {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin: 0;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.spec__title::before,
.doc__name::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petrol);
  transform: translateY(-3px);
}
.spec__text,
.doc__area {
  display: block;
  margin: 0.625rem 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.spec__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.spec__more svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease-out);
}
.spec:hover .spec__more svg,
.spec__more:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Seção 3: corpo clínico
   -------------------------------------------------------------------------- */
.docs {
  position: relative;
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.docs__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 1.5rem;
  max-width: 88rem;
  margin: 0 auto;
}
.doc {
  display: flex;
  flex-direction: column;
  width: calc((100% - 1.5rem) / 2);
}
@media (max-width: 559px) {
  .docs__grid {
    gap: 2.25rem 1rem;
  }
  .doc {
    width: calc((100% - 1rem) / 2);
  }
  .doc .doc__name {
    font-size: 1rem;
  }
  .doc .doc__area {
    font-size: 0.875rem;
  }
  .doc .spec__more {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .doc .tile__tag {
    left: 0.5rem;
    bottom: 1rem;
    font-size: 0.75rem;
  }
}
@media (min-width: 1100px) {
  .doc {
    width: calc((100% - 4.5rem) / 4);
  }
}
.tile--portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(92 149 164 / 0.55), transparent 60%),
    var(--petrol-deep);
}
.tile--portrait::after {
  background: var(--petrol-deep);
}
/* Fotos dos médicos em preto e branco com tom petróleo; a cor volta no hover */
.tile--portrait img {
  filter: grayscale(1) contrast(1.05) brightness(1.02);
}
.tile--portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(92 149 164 / 0.25), rgb(14 46 55 / 0.45));
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 600ms var(--ease-out);
}
.doc:hover .tile--portrait img {
  filter: none;
}
.doc:hover .tile--portrait::before {
  opacity: 0;
}
/* Sem foto ainda: contornos da marca no lugar */
.tile__empty {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../images/marca/contornos-claro.svg") center 70% / 140% auto no-repeat;
  opacity: 0.35;
}
.tile--empty::before {
  display: none;
}
.doc__name {
  margin-top: 1.75rem;
  font-size: 1.1875rem;
}
.doc__area {
  margin: 0.5rem 0 1.25rem;
}

/* Faixa de exames */
.exams-band {
  display: grid;
  max-width: 88rem;
  margin: 1.25rem auto 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(14 46 55 / 0.04), 0 18px 40px -32px rgb(14 46 55 / 0.4);
}
@media (min-width: 900px) {
  .exams-band {
    grid-template-columns: 1.05fr 1fr;
  }
}
.exams-band__media {
  position: relative;
  display: block;
  min-height: 16rem;
  background: var(--petrol-ink);
}
.exams-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exams-band__body {
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.exams-band__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.exams-band__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.exams-band__list {
  display: grid;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 1rem;
  color: var(--navy);
}
@media (min-width: 480px) {
  .exams-band__list {
    grid-template-columns: 1fr 1fr;
  }
}
.exams-band__list li {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgb(92 149 164 / 0.2);
}
.exams-band__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--petrol);
  transform: translateY(-2px);
}
.exams-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.specs__note {
  max-width: 88rem;
  margin: 1.25rem auto 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Seção: cirurgia de catarata (fundo escuro) + perguntas frequentes
   -------------------------------------------------------------------------- */
.cat {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad);
  background:
    radial-gradient(60% 50% at 0% 0%, rgb(92 149 164 / 0.35), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgb(92 149 164 / 0.2), transparent 70%),
    var(--petrol-ink);
  color: var(--white);
}
.eyebrow--light {
  color: var(--petrol-soft);
}
.cat__wrap {
  display: grid;
  gap: 3.5rem;
  max-width: 88rem;
  margin: 0 auto;
}
@media (min-width: 1000px) {
  .cat__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: start;
  }
  .cat__intro {
    position: sticky;
    top: 2.5rem;
  }
}
.cat__intro h2 {
  margin: 0.875rem 0 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.cat__intro > p:not(.eyebrow) {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.82);
}
.cat__media {
  position: relative;
  margin-top: 2rem;
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
}
.cat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.cat__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--petrol-soft);
}
.cat__more svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease-out);
}
.cat__more:hover svg {
  transform: translateX(4px);
}

/* Passo a passo com linha do tempo */
.cat__sub {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--petrol-soft);
}
.csteps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.csteps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--petrol), rgb(92 149 164 / 0.15));
}
.cstep {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2.25rem;
}
.cstep:last-child {
  padding-bottom: 0;
}
.cstep__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--petrol-ink);
  box-shadow: inset 0 0 0 1.5px var(--petrol);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 300ms,
    color 300ms;
}
.cstep:hover .cstep__num {
  background: var(--petrol);
}
.cstep h4 {
  margin: 0.625rem 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cstep p {
  margin-top: 0.625rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.78);
}

/* Perguntas frequentes em sanfona */
.faq {
  display: grid;
  gap: 2.5rem;
  max-width: 88rem;
  margin: clamp(4.5rem, 8vw, 7rem) auto 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
@media (min-width: 1000px) {
  .faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 6rem;
  }
}
.faq__head h3 {
  margin: 0.875rem 0 0;
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.faq__head > p:last-child {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgb(255 255 255 / 0.75);
}
.faq__item {
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.faq__item:first-child {
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: var(--petrol-soft);
}
.faq__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
  transition: background-color 250ms;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.875rem;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 350ms var(--ease-out);
}
.faq__item[open] .faq__icon {
  background: var(--petrol);
  box-shadow: none;
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__item p {
  margin: 0;
  padding: 0 3.5rem 1.5rem 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.8);
  animation: faq-in 400ms var(--ease-out);
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.cat__note {
  max-width: 88rem;
  margin: 2.5rem auto 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.6);
}

/* --------------------------------------------------------------------------
   Seção: agende sua consulta
   -------------------------------------------------------------------------- */
.agende {
  padding: 0 var(--pad) clamp(4.5rem, 8vw, 7rem);
  background: var(--white);
}
.agende__card {
  position: relative;
  display: grid;
  max-width: 88rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--petrol-deep);
  color: var(--white);
}
@media (min-width: 900px) {
  .agende__card {
    grid-template-columns: 1fr 1.1fr;
    min-height: 30rem;
  }
}
.agende__media {
  position: relative;
  min-height: 16rem;
}
.agende__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agende__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(80% 90% at 100% 0%, rgb(92 149 164 / 0.5), transparent 60%);
}
.agende__body h2 {
  margin: 0.875rem 0 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.agende__body > p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.85);
}
.agende__phones {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 28rem;
}
.agende__phones .booking__phone {
  background: var(--white);
}
.agende__phones .booking__phone:hover {
  background: var(--mist);
  color: var(--navy);
}
.agende__phones .booking__phone:hover em {
  background: var(--petrol-deep);
  color: var(--white);
}
.agende__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.agende__cities li {
  padding: 0.4375rem 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Catarata, passo a passo (versão 2): cartões + linha que enche com a rolagem
   -------------------------------------------------------------------------- */
@media (min-width: 1000px) {
  .cat__intro {
    top: 6rem;
  }
}
.cat__media {
  aspect-ratio: 16 / 9;
}
.csteps {
  --fill: 0;
  display: grid;
  gap: 1rem;
}
.csteps::before {
  top: 2rem;
  bottom: 2rem;
  left: 2.25rem;
  background: rgb(255 255 255 / 0.12);
}
.csteps::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 2.25rem;
  width: 2px;
  margin-left: -0.5px;
  height: calc((100% - 4rem) * var(--fill));
  border-radius: 2px;
  background: linear-gradient(180deg, var(--petrol-soft), var(--petrol));
  box-shadow: 0 0 18px rgb(163 205 215 / 0.6);
}
.cstep {
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.75rem 1.5rem 0;
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.07);
  transition:
    background-color 500ms var(--ease-out),
    border-color 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.cstep:last-child {
  padding-bottom: 1.5rem;
}
.cstep__num {
  z-index: 1;
  justify-self: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.125rem;
  background: var(--petrol-ink);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.25);
  color: rgb(255 255 255 / 0.7);
  transition:
    background-color 500ms,
    box-shadow 500ms,
    color 500ms;
}
.cstep h4 {
  margin-top: 0.5rem;
  color: rgb(255 255 255 / 0.75);
  transition: color 500ms;
}
.cstep p {
  color: rgb(255 255 255 / 0.6);
  transition: color 500ms;
}
.cstep.is-active,
.cstep:hover {
  background: rgb(92 149 164 / 0.16);
  border-color: rgb(163 205 215 / 0.35);
  transform: translateX(6px);
}
.cstep.is-active .cstep__num,
.cstep:hover .cstep__num {
  background: var(--petrol-soft);
  box-shadow: 0 0 0 6px rgb(163 205 215 / 0.15);
  color: var(--petrol-ink);
}
.cstep.is-active h4,
.cstep:hover h4 {
  color: var(--white);
}
.cstep.is-active p,
.cstep:hover p {
  color: rgb(255 255 255 / 0.85);
}
@media (max-width: 559px) {
  .cstep {
    grid-template-columns: 3.5rem 1fr;
    padding-right: 1.125rem;
  }
  .csteps::before,
  .csteps::after {
    left: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Catarata (versão 3): topo em duas colunas + linha do tempo horizontal
   -------------------------------------------------------------------------- */
.cat__top {
  display: grid;
  gap: 2.5rem;
  max-width: 88rem;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 1000px) {
  .cat__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
  }
}
.cat__top .cat__intro {
  position: static;
}
.cat__top .cat__media {
  position: relative;
  margin-top: 0;
  aspect-ratio: 16 / 11;
  overflow: visible;
}
.cat__top .cat__media > div {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}

.ctl {
  max-width: 88rem;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}
.ctl__list {
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ctl__step {
  position: relative;
  padding-left: 2rem;
}
/* linha: vertical no celular, horizontal no computador */
.ctl__step::before {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: 0.75rem;
  bottom: -2.25rem;
  width: 1px;
  background: rgb(255 255 255 / 0.18);
}
.ctl__step:last-child::before {
  display: none;
}
.ctl__dot {
  position: absolute;
  left: 0;
  top: 0.4375rem;
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 50%;
  background: var(--petrol-soft);
  box-shadow: 0 0 0 5px rgb(163 205 215 / 0.15);
  transition: box-shadow 300ms var(--ease-out);
}
.ctl__step:hover .ctl__dot {
  box-shadow: 0 0 0 9px rgb(163 205 215 / 0.2);
}
.ctl__num {
  display: block;
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(163 205 215 / 0.7);
  transition: color 400ms var(--ease-out);
}
.ctl__step:hover .ctl__num {
  color: var(--petrol-soft);
}
.ctl__step h4 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ctl__step p {
  margin-top: 0.625rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.72);
}
@media (min-width: 1000px) {
  .ctl__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
  }
  .ctl__step {
    padding: 2.25rem 0 0;
  }
  .ctl__step::before {
    left: 0.75rem;
    right: -2rem;
    top: 0.3125rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .ctl__dot {
    top: 0;
  }
}

/* --------------------------------------------------------------------------
   Perguntas frequentes (versão 2): numeradas, cartão de contato à esquerda
   -------------------------------------------------------------------------- */
@media (min-width: 1000px) {
  .faq__head {
    position: sticky;
    top: 2.5rem;
    align-self: start;
  }
}
.faq__ask {
  max-width: 28rem;
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(92 149 164 / 0.45), transparent 65%),
    rgb(255 255 255 / 0.05);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
.faq__head .faq__ask-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.faq__ask > p:not(.faq__ask-title) {
  margin-top: 0.5rem;
  color: rgb(255 255 255 / 0.75);
}
.faq__phones {
  display: grid;
  gap: 0.625rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.faq__phones a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color 200ms;
}
.faq__phones a::after {
  content: "Ligar";
  font-size: 0.875rem;
  color: var(--petrol-deep);
}
.faq__phones a:hover {
  background: var(--petrol-soft);
}
.faq__list .faq__item,
.faq__list .faq__item:first-child {
  margin-bottom: 0.625rem;
  border: 0;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition:
    background-color 300ms,
    box-shadow 300ms;
}
.faq__list .faq__item:hover {
  background: rgb(255 255 255 / 0.07);
}
.faq__list .faq__item[open] {
  background: rgb(92 149 164 / 0.22);
  box-shadow: inset 0 0 0 1px rgb(163 205 215 / 0.3);
}
.faq__list .faq__item summary {
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
}
.faq__list .faq__item summary:hover {
  color: inherit;
}
.faq__n {
  flex: none;
  width: 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--petrol-soft);
}
.faq__q {
  flex: 1;
}
.faq__list .faq__item[open] .faq__icon {
  background: var(--white);
  color: var(--petrol-ink);
}
.faq__list .faq__item p {
  padding: 0 4.5rem 1.5rem 4.5rem;
}
@media (max-width: 599px) {
  .faq__list .faq__item summary {
    gap: 0.875rem;
    padding: 1rem 1rem 1rem 1.125rem;
  }
  .faq__n {
    width: 1.25rem;
  }
  .faq__list .faq__item p {
    padding: 0 1.125rem 1.25rem 3.25rem;
  }
}

/* --------------------------------------------------------------------------
   Corpo clínico (versão 2): fundo petróleo e médicos passando em faixa
   -------------------------------------------------------------------------- */
.docs2 {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: var(--white);
  background:
    radial-gradient(70% 60% at 15% 0%, rgb(163 205 215 / 0.35), transparent 70%),
    radial-gradient(60% 70% at 100% 100%, rgb(14 46 55 / 0.7), transparent 70%),
    linear-gradient(160deg, var(--petrol) 0%, var(--petrol-deep) 55%, var(--petrol-ink) 100%);
}
.docs2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/marca/contornos-claro.svg") -8% 115% / 46rem auto no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.docs2__ghost {
  position: absolute;
  right: -0.04em;
  top: 0.08em;
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.16);
  pointer-events: none;
  user-select: none;
}
.docs2__head {
  position: relative;
  display: grid;
  gap: 1.25rem;
  max-width: 88rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 var(--pad);
}
@media (min-width: 900px) {
  .docs2__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .docs2__head > p {
    justify-self: end;
    max-width: 26rem;
  }
}
.docs2__head h2 {
  margin: 0.875rem 0 0;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.docs2__head > p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.85);
}
.docs2__track {
  --gap: 1.25rem;
  position: relative;
  display: flex;
  gap: var(--gap);
  width: max-content;
  padding: 0.5rem 0 1rem;
}
.docs2__row {
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  animation: docs-slide 42s linear infinite;
}
.docs2__track:hover .docs2__row,
.docs2__track:focus-within .docs2__row {
  animation-play-state: paused;
}
@keyframes docs-slide {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
.dcard {
  flex: none;
  width: clamp(14rem, 21vw, 18.5rem);
}
.dcard a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(163 205 215 / 0.5), transparent 60%),
    var(--petrol-ink);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
  transition: transform 500ms var(--ease-out);
}
.dcard a:hover {
  transform: translateY(-6px);
}
.dcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.dcard a:hover img {
  transform: scale(1.05);
}
.dcard__info {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 0.94);
  color: var(--petrol-ink);
}
.dcard__area {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}
.dcard__name {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
@media (prefers-reduced-motion: reduce) {
  .docs2__track {
    width: auto;
    overflow-x: auto;
    padding: 0.5rem var(--pad) 1rem;
  }
  .docs2__row {
    animation: none;
  }
  .docs2__row[aria-hidden] {
    display: none;
  }
}
.docs2 .eyebrow--light {
  color: rgb(255 255 255 / 0.85);
}
.faq__head > p:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgb(255 255 255 / 0.75);
}
.docs2 + .agende {
  padding-top: clamp(3rem, 6vw, 5rem);
}

/* --------------------------------------------------------------------------
   Corpo clínico (versão 3): nome flutuando embaixo da foto + janela do médico
   -------------------------------------------------------------------------- */
.dcard a {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  overflow: visible;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.dcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(163 205 215 / 0.5), transparent 60%),
    var(--petrol-ink);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
}
.dcard__info {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  margin: -1.25rem 0.875rem 0;
  min-height: 4.75rem;
  align-content: center;
  box-shadow: 0 18px 36px -18px rgb(0 0 0 / 0.5);
  transition: transform 500ms var(--ease-out);
}
.dcard a:hover {
  transform: none;
}
.dcard a:hover .dcard__info {
  transform: translateY(-4px);
}
.dcard a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 6px;
  border-radius: 1.25rem;
}
.docs2__hint {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  justify-self: end;
  max-width: 26rem;
}
.docs2__hint p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.9);
}
.docs2__hint-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
  animation: hint-tap 2.4s var(--ease-out) infinite;
}
.docs2__hint-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes hint-tap {
  0%, 60%, 100% {
    transform: scale(1);
  }
  70% {
    transform: scale(0.9);
  }
  80% {
    transform: scale(1.04);
  }
}
@media (max-width: 899px) {
  .docs2__hint {
    justify-self: start;
  }
}

/* Janela com os dados do médico */
.dmodal .dmodal__panel {
  display: grid;
  width: min(52rem, 100%);
  padding: 0;
  overflow: hidden;
}
@media (min-width: 700px) {
  .dmodal .dmodal__panel {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.dmodal__media {
  position: relative;
  min-height: 18rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(163 205 215 / 0.5), transparent 60%),
    var(--petrol-deep);
}
@media (max-width: 699px) {
  .dmodal__media {
    min-height: 0;
    aspect-ratio: 4 / 3.4;
  }
}
.dmodal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.dmodal__media img:not([src]),
.dmodal__media img[src=""] {
  display: none;
}
.dmodal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.dmodal .dmodal__name {
  margin: 0.75rem 0 0;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.dmodal__text {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.dmodal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.dmodal__book {
  background: var(--petrol-deep);
  color: var(--white);
}
.dmodal__book:hover {
  background: var(--petrol-ink);
}
.dmodal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--petrol-deep);
}
.dmodal__link[hidden] {
  display: none;
}
.dmodal__link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dmodal .dmodal__close {
  z-index: 2;
  background: rgb(255 255 255 / 0.9);
}
