/* =========================================================
   ORIGINAL DIAGNÓSTICO — sobre.css
   Seções exclusivas da página Sobre nós (medidas do Figma, base 1366px)
   ========================================================= */

/* =================== TOPO =================== */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: max(495px, 36.24vw); /* proporção do Figma (1366 × 495) */
  background: var(--c-gold);
  color: var(--c-white);
}
/* foto em "multiplicar" a 50% sobre o dourado, como no Figma */
.about-hero__media { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .5; }
.about-hero__media img {
  position: absolute; left: 0; top: -22.45%;
  width: 100%; height: 194.19%; max-width: none;
  object-fit: cover;
}
.about-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(89.66deg, var(--c-green) 16.124%, rgba(9, 61, 41, 0) 72.731%);
  pointer-events: none;
}
.about-hero__content { position: relative; z-index: 1; padding-block: max(91px, 6.66vw) 63px; }
.about-hero__title {
  max-width: 684px;
  margin: 32px 0 26px;
  font-family: var(--ff-title);
  font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.125rem);
  font-weight: 600;
  line-height: 1;
}
.about-hero__text { max-width: 390px; font-size: 1rem; font-weight: 600; line-height: 20px; letter-spacing: -0.02em; }
.pet-dots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.pet-dots img {
  width: 51px; height: 51px;
  border: 1.5px solid var(--c-gold);
  border-radius: 50%;
  object-fit: cover;
}

/* faixa OD que some no branco à esquerda */
.od-strip--fade { position: relative; height: 53px; background-size: auto 53px; }
.od-strip--fade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

/* =================== O GRUPO ORIGINAL (três frentes) =================== */
.fronts { padding: 92px 0 0; text-align: center; }
.fronts__title { margin-top: 24px; }
.fronts__lead { max-width: 620px; margin: 30px auto 0; font-size: 0.8125rem; line-height: 20px; letter-spacing: -0.02em; }

/* palco com o diagrama, as linhas e os textos (coordenadas do Figma) */
.fronts__stage { position: relative; height: 864px; margin-top: 51px; text-align: left; }
.fronts__diagram { position: absolute; left: 192px; top: 0; width: 725px; height: auto; }
.fronts__line { position: absolute; border-color: #c9b3b3; border-style: solid; border-width: 0; pointer-events: none; }
.fronts__line--1 { left: 603px; top: 39px; width: 178px; height: 28px; border-top-width: 1px; border-right-width: 1px; }
.fronts__line--2 { left: 603px; top: 624px; width: 266px; height: 73px; border-right-width: 1px; border-bottom-width: 1px; }
.fronts__line--3 { left: 43px; top: 325px; width: 150px; height: 260px; border-left-width: 1px; border-bottom-width: 1px; }
.fronts__list { list-style: none; padding: 0; }
.front { position: absolute; width: 280px; }
.front--1 { left: 773px; top: 67px; }
.front--2 { left: 599px; top: 708px; width: 270px; }
.front--3 { left: 40px; top: 173px; }
.front__title {
  font-family: var(--ff-title);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
}
.front__num { display: none; }
.front p { margin-top: 16px; font-size: 0.8125rem; line-height: 20px; letter-spacing: -0.02em; }

/* =================== DRA. SARA POSSELT =================== */
.doctor { padding-top: 127px; overflow-x: clip; }
.doctor__grid { display: grid; grid-template-columns: 642px minmax(0, 1fr); align-items: start; }
.doctor__media { position: relative; height: 431px; }
.doctor__outline { position: absolute; left: -91px; top: 0; width: 707px; max-width: none; height: auto; }
.doctor__photo { position: absolute; left: 65px; top: 41px; width: 385px; height: 385px; border-radius: 50%; object-fit: cover; }
.doctor__content { max-width: 401px; padding-top: 90px; }
.doctor__crmv { margin-top: 12px; }
.doctor__content p:not(.eyebrow) { margin-top: 20px; font-size: 0.8125rem; font-weight: 500; line-height: 20px; }
.doctor__crmv + p { margin-top: 29px !important; }

/* =================== ESTRUTURA TECNOLÓGICA =================== */
.tech { padding: 98px 0 86px; }
.tech__card {
  display: grid;
  grid-template-columns: 554px minmax(0, 1fr);
  column-gap: 56px;
  min-height: 428px;
  padding: 23px 16px 15px;
  background: var(--c-gold);
  border-radius: var(--radius);
}
.tech__photo { width: 100%; height: 390px; border-radius: var(--radius); object-fit: cover; }
.tech__content { max-width: 400px; padding-top: 56px; }
.tech__content p:not(.eyebrow) { max-width: 330px; }
.tech__content .section-title { margin: 14px 0 0 -5px; }
.tech__content p:not(.eyebrow) { margin-top: 20px; font-size: 0.8125rem; font-weight: 500; line-height: 20px; color: var(--c-green); }

/* =================== MISSÃO, VISÃO E VALORES =================== */
.values { position: relative; padding: 93px 0 92px; background: var(--c-green); color: var(--c-white); text-align: center; }
.values__title { margin-top: 21px; color: var(--c-gold); }
.values__lead { max-width: 422px; margin: 32px auto 0; font-size: 1rem; font-weight: 600; line-height: 20px; letter-spacing: -0.02em; color: #fbf9f3; }
.values__main, .values__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 30px; }
.values__main { margin-top: 52px; }
.values__list { margin-top: 25px; }
.value-card {
  position: relative;
  min-height: 268px;
  padding: 71px 16px 30px;
  background: #fbf9f3;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  color: var(--c-green);
}
.value-card__icon { position: absolute; left: 50%; top: -12px; width: 71px; height: 71px; transform: translateX(-50%); }
.value-card h3, .value-item h3 {
  font-family: var(--ff-title);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
}
.value-card p, .value-item p { font-size: 0.8125rem; line-height: 20px; letter-spacing: -0.02em; }
.value-card p { max-width: 280px; margin: 23px auto 0; }
.value-item {
  position: relative;
  min-height: 151px;
  padding: 26px 16px 18px;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  color: #fbf9f3;
}
.value-item::before {
  content: "";
  position: absolute; left: 50%; top: -1px;
  width: 119px; height: 10px;
  transform: translateX(-50%);
  background: var(--c-gold);
  border-radius: 2px;
}
.value-item h3 { color: var(--c-gold); }
.value-item p { max-width: 280px; margin: 5px auto 0; }
.value-item:nth-child(5) p { max-width: 315px; }

/* =================== DEPOIMENTOS =================== */
.testimonials { position: relative; padding: 62px 0 123px; background: #fbf9f3; }
.tst {
  position: relative;
  height: 628px;
  background: var(--c-white);
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(207, 209, 229, .45);
}
.tst__eyebrow {
  position: absolute; left: 0; right: 0; top: 77px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  text-align: center; color: var(--c-green);
}
.tst__title {
  position: absolute; left: 0; right: 0; top: 112px;
  font-family: var(--ff-title); font-size: 2.5rem; font-weight: 700; line-height: 47px;
  text-align: center; color: var(--c-gold);
}
.tst__quote { position: absolute; left: 65px; top: 197px; width: 190px; height: 165px; }
.tst__nav { position: absolute; left: 317px; top: 307px; display: flex; gap: 14px; }
.tst__arrow {
  display: grid; place-items: center;
  width: 48px; height: 50px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(79, 122, 134, .15);
  color: var(--c-gold);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tst__arrow:hover { background: var(--c-gold); color: var(--c-white); }
.tst__arrow .icon { width: 22px; height: 22px; }
.tst__chev--left { transform: scaleX(-1); }

.tst__slides { position: absolute; inset: 0; pointer-events: none; }
.tst__slide { position: absolute; inset: 0; margin: 0; }
.tst__slide > * { pointer-events: auto; }
.tst__slide:not([hidden]) { animation: tst-in .45s var(--ease) both; }
@keyframes tst-in { from { opacity: 0; } }
/* linha vertical entre os blocos */
.tst__slides::before {
  content: "";
  position: absolute; left: 410px; top: 269px;
  width: 1px; height: 304px;
  background: #d9d9d9;
}
/* linha horizontal abaixo do texto */
.tst__slides::after {
  content: "";
  position: absolute; left: 475px; top: 460px;
  width: 570px; height: 1px;
  background: #d9d9d9;
}
.tst__text {
  position: absolute; left: 475px; top: 307px;
  width: 540px; margin: 0;
  font-family: var(--ff-ui); font-size: 0.875rem; font-weight: 500; line-height: 1.5; letter-spacing: -0.011em;
  color: #959595;
}
.tst__author { position: absolute; left: 61px; top: 362px; display: flex; align-items: center; gap: 18px; }
.tst__author img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.tst__author img.tst__marca { padding: 12px; background: #f7f4ea; object-fit: contain; } /* marca OD no lugar da foto de cliente */
.tst__author span { display: flex; flex-direction: column; gap: 8px; }
.tst__author strong { font-family: "DM Sans", var(--ff-body); font-size: 1.125rem; font-weight: 800; line-height: 1.5; text-transform: uppercase; color: var(--c-green); }
.tst__author small { font-family: "DM Sans", var(--ff-body); font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: var(--c-green); }
.tst__logo {
  position: absolute; left: 475px; top: 509px;
  font-family: var(--ff-ui); font-size: 2.625rem; font-weight: 600; line-height: 50px;
  color: var(--c-green);
}
.tst__progress { position: absolute; left: 61px; top: 509px; display: flex; align-items: center; gap: 26px; }
.tst__count { width: 62px; font-family: var(--ff-title); font-size: 2.625rem; font-weight: 600; line-height: 50px; color: var(--c-gold); }
.tst__bars { display: flex; gap: 3px; }
.tst__bars i { display: block; width: 48px; height: 6px; border-radius: 3px; background: #e9efe3; transition: background-color .3s var(--ease); }
.tst__bars i.is-active { background: var(--c-gold); }

/* =================== RESPONSIVO =================== */
@media (max-width: 1100px) {
  /* três frentes: diagrama em cima, textos numerados embaixo */
  .fronts__stage { height: auto; margin-top: 2.5rem; }
  .fronts__diagram { position: static; display: block; width: min(560px, 100%); margin-inline: auto; }
  .fronts__line { display: none; }
  .fronts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
  .front, .front--2 { position: static; width: auto; }
  .front__num {
    display: inline-grid; place-items: center;
    width: 30px; height: 30px; margin-right: 10px;
    border-radius: 50%; background: var(--c-gold); color: var(--c-white);
    font-family: var(--ff-body); font-size: 0.9375rem; font-weight: 600; line-height: 1;
    vertical-align: 3px;
  }
  .front__title { line-height: 1.3; }
  .front p { margin-top: 10px; }

  .doctor { padding-top: 5rem; }
  .doctor__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .doctor__media { width: min(100%, 520px); height: auto; aspect-ratio: 520 / 431; margin-inline: auto; }
  .doctor__outline { left: -6%; width: 112%; }
  .doctor__photo { left: 50%; top: 9.5%; width: 74%; height: auto; aspect-ratio: 1; transform: translateX(-50%); }
  .doctor__content { max-width: 620px; padding-top: 0; margin-inline: auto; }

  .tech__card { grid-template-columns: 1fr; row-gap: 2rem; padding: 16px 16px 2.5rem; }
  .tech__photo { height: auto; aspect-ratio: 554 / 390; }
  .tech__content { max-width: none; padding: 0 1rem; }

  .values__main, .values__list { grid-template-columns: 1fr 1fr; }
  .values__main { row-gap: 3rem; }

  /* depoimentos em fluxo normal */
  .tst { height: auto; display: grid; justify-items: center; padding: 3rem 1.5rem 2.5rem; text-align: center; }
  .tst__eyebrow, .tst__title, .tst__quote, .tst__nav, .tst__slides, .tst__text, .tst__author, .tst__logo, .tst__progress { position: static; }
  .tst__title { margin-top: .5rem; font-size: 2rem; line-height: 1.2; }
  .tst__quote { width: 90px; height: auto; margin-top: 1.5rem; }
  .tst__slides { width: 100%; max-width: 640px; margin-top: 1rem; pointer-events: auto; }
  .tst__slides::before, .tst__slides::after { display: none; }
  .tst__slide { position: static; display: grid; justify-items: center; gap: 1.25rem; }
  .tst__slide[hidden] { display: none; }
  .tst__text { width: auto; padding-bottom: 1.5rem; border-bottom: 1px solid #d9d9d9; }
  .tst__author { text-align: left; }
  .tst__logo { font-size: 2rem; line-height: 1.2; }
  .tst__nav { order: 9; margin-top: 1.5rem; }
  .tst__progress { order: 8; margin-top: 1.5rem; gap: 16px; }
  .tst__count { width: auto; font-size: 2rem; }
}

@media (max-width: 900px) {
  .about-hero { min-height: 0; }
  .about-hero::after { background: linear-gradient(180deg, rgba(9, 61, 41, .25) 0%, rgba(9, 61, 41, .8) 55%, var(--c-green) 100%); }
  .about-hero__content { padding-block: 3.5rem 3rem; }
  .fronts { padding-top: 4rem; }
  .fronts__list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .tech { padding: 4.5rem 0; }
  .values { padding: 5rem 0; }
  .values__main, .values__list { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .testimonials { padding: 3.5rem 0 4.5rem; }
}

@media (max-width: 640px) {
  .pet-dots img { width: 44px; height: 44px; }
  .value-card { padding-inline: 1.5rem; }
  .value-item { padding-inline: 1.25rem; }
  .tst { padding-inline: 1.25rem; }
  .tst__author { flex-direction: column; text-align: center; }
  .tst__bars i { width: 36px; }
}
