/* =========================================================
   ORIGINAL DIAGNÓSTICO — home.css
   Seções exclusivas da Home
   ========================================================= */

/* =================== HERO (slider) =================== */
.hero {
  position: relative;
  background: var(--c-green);
  color: var(--c-white);
  overflow: hidden;
}
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  min-height: max(551px, 40.34vw); /* mantém a proporção do Figma (1366 × 551) em telas maiores */
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* Fotos laterais (slides 2 e 3) somem suavemente no verde */
.hero__img--side {
  left: auto;
  width: 56%;
  /* degradê medido no Figma: some no verde ao longo de 73% da foto */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 73%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 73%);
}
.hero__slide--3 .hero__img--side {
  width: 75%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 15%, #000 66%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 15%, #000 66%);
}
/* slide 1: véu verde do Figma sobre a esquerda da foto */
@media (min-width: 901px) {
  .hero__slide--1::before {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--c-green) 0%, var(--c-green) 37%, rgba(9, 61, 41, 0) 75%);
    pointer-events: none;
  }
}
/* enquadramento vertical igual ao Figma */
.hero__slide--2 .hero__img--side { object-position: right bottom; }
.hero__slide--3 .hero__img--side { object-position: right top; }

.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-block: max(91px, 6.66vw) 64px;
}
.hero__title {
  margin: 23px 0 20px;
  font-family: var(--ff-title);
  font-size: clamp(2.4rem, 1.35rem + 3.1vw, 3.75rem);
  font-weight: 600;
  line-height: 1.167;
}
.hero__title--md { max-width: 700px; font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.125rem); line-height: 1; }
.hero__title--lg { max-width: 9ch; font-size: clamp(2.6rem, 1.2rem + 4.1vw, 4.375rem); line-height: .86; }
.hero__text { max-width: 526px; font-size: 0.8125rem; font-weight: 600; line-height: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 31px; }
.hero__btn { min-height: 50px; border-radius: var(--radius-sm); padding-inline: 1.55rem; font-family: var(--ff-ui); font-size: 1rem; font-weight: 700; }

/* Setas (cápsula) e contador */
.hero__nav {
  position: absolute; z-index: 3;
  top: 54px; right: clamp(1rem, 3.7vw, 51px);
  display: flex; flex-direction: column; gap: 20px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--c-white);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.hero__arrow .icon { width: 22px; height: 18px; }
.hero__arrow--next { background: var(--c-green); }
.hero__arrow--prev { background: var(--c-gold); }
.hero__arrow:hover { transform: scale(1.06); filter: brightness(1.1); }

.hero__counter {
  position: absolute; z-index: 3;
  right: clamp(1rem, 3.1vw, 43px); bottom: 77px;
  display: flex; justify-content: center; align-items: baseline;
  width: 77px; height: 77px;
  padding-top: 19px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--ff-ui);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}
.hero__counter strong { font-size: 3rem; font-weight: 600; margin-right: 2px; }

/* =================== INTRO =================== */
.intro { padding-top: clamp(2.5rem, 4vw, 3.3rem); }
.intro__inner { text-align: center; }
.intro p { max-width: 500px; margin: .9rem auto 0; font-size: 0.8125rem; line-height: 20px; letter-spacing: -0.02em; }
.intro .od-strip { margin-top: clamp(3rem, 4.8vw, 65px); }

/* =================== QUEM SOMOS =================== */
.about {
  overflow-x: clip;
  padding: clamp(6rem, 12.2vw, 166px) 0 clamp(3rem, 4.5vw, 62px);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 611px) minmax(0, 1fr);
  column-gap: 19px;
  align-items: start;
}
/* Caixa de mídia com proporção fixa (611 × 487 no layout) */
.about__media { position: relative; width: 100%; aspect-ratio: 611 / 487; }
.about__media > * { position: absolute; }
.about__mark { left: -64.65%; top: -20.12%; width: 159.08%; max-width: none; z-index: 0; }
.about__frame { left: 7.04%; top: 0; width: 86.09%; height: 89.94%; background: var(--c-gold); border-radius: var(--radius-sm); z-index: 1; }
.about__photo { left: 0; top: 5.95%; width: 88.54%; height: 78.03%; border-radius: var(--radius); overflow: hidden; z-index: 2; background: #d9d9d9; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  left: 16.53%; top: 2.46%; width: 72.01%; z-index: 3;
  padding: .7rem 10px;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--c-white);
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.about__avatar {
  left: 79.38%; top: 74.54%; width: 20.62%; height: auto; aspect-ratio: 1; z-index: 3;
  padding: clamp(6px, 1.4%, 10px);
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(140deg, #efe3bf 0%, #ffffff 55%, #e7d9ad 100%);
  box-shadow: 0 8px 24px rgba(5, 45, 30, .18);
}

.about__content { padding-top: 0; margin-top: -4px; }
.about__text { max-width: 540px; padding-left: 35px; }
.about__text .section-title { margin: 8px 0 31px; }
.about__text p:not(.eyebrow) { max-width: 430px; }
.about__text p:not(.eyebrow) { font-size: 0.8125rem; font-weight: 500; line-height: 20px; }
.about__text .btn { margin-top: 25px; border-radius: var(--radius-sm); min-height: 50px; font-weight: 700; }
.about__signature { position: relative; margin-top: 56px; padding-top: 28px; max-width: 450px; }
.about__signature::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: calc(100% + 50vw);
  height: 1px;
  background: #b9ab7e;
}
.about__signature p:not(.eyebrow) { margin-top: .8rem; font-size: 0.6875rem; font-weight: 500; line-height: 20px; }

/* =================== ANIMAIS =================== */
.pets { background: #fbf9f3; padding: 56px 0 clamp(4.5rem, 7.6vw, 104px); }
.pets__eyebrow, .pets__title { text-align: center; }
.pets__title { margin-top: 15px; }
.pets__carousel { position: relative; margin-top: 30px; }
.pets__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  gap: 30px;
  justify-content: safe center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}
.pets__track::-webkit-scrollbar { display: none; }
.pets__track li { scroll-snap-align: center; }
.pets__arrow { position: absolute; top: 112px; z-index: 2; }
.pets__arrow--prev { left: -76px; }
.pets__arrow--next { right: -76px; }

.pet-card {
  display: flex; flex-direction: column; align-items: center;
  width: 160px; height: 275px;
  padding: 13px 10px 0;
  border: 1px solid var(--c-gold);
  border-radius: 80px 80px 4px 4px;
  text-align: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), border-radius .3s var(--ease);
}
.pet-card img { width: 131px; height: 131px; border-radius: 50%; object-fit: cover; }
.pet-card__name {
  margin-top: 16px;
  font-family: var(--ff-title);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-green);
  transition: color .3s var(--ease);
}
.pet-card__desc {
  max-width: 130px;
  margin-top: 14px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
  transition: color .3s var(--ease);
}
.pet-card.is-active {
  background: var(--c-green);
  border-color: var(--c-green);
  border-radius: 80px;
}
.pet-card.is-active .pet-card__name { color: var(--c-gold); }
.pet-card.is-active .pet-card__desc { color: var(--c-white); }

/* =================== PLANOS =================== */
.plans {
  position: relative;
  padding: 93px 0 84px;
  background: var(--c-green) url("../img/planos-linhas.svg") right top / auto 100% no-repeat;
  color: var(--c-white);
  text-align: center;
}
.plans__title { margin-top: 21px; color: var(--c-gold); }
.plans__subtitle { margin-top: 14px; font-size: 1rem; line-height: 20px; letter-spacing: -0.02em; color: #fbf9f3; }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 255px));
  justify-content: center;
  align-items: end;
  gap: 31px;
  margin-top: 52px;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 382px;
  padding: 33px 16px 17px;
  border-radius: var(--radius);
}
.plan__tag {
  position: absolute; top: -11px; left: 50%;
  transform: translateX(-50%);
  height: 26px; padding: 0 1.3rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 26px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-white);
}
.plan__ribbon {
  align-self: center;
  width: 197px; height: 24px;
  margin-bottom: 15px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--c-green) 55%, rgba(9, 61, 41, 0));
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-white);
}
.plan__price {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  font-size: 3.125rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}
.plan__price small { font-size: 0.75rem; font-weight: 400; letter-spacing: -0.02em; color: var(--c-gold); }
.plan__list { margin: 8px 0 14px; list-style: none; padding: 0; font-size: 0.75rem; line-height: 20px; letter-spacing: -0.02em; }
.plan__list li { padding: 11px 0; border-bottom: 1px solid var(--plan-line); }
.plan__list li:last-child { border-bottom: 0; }
.plan__list strong { font-weight: 700; }
.plan__cta { margin-top: auto; width: 100%; min-height: 50px; border-radius: var(--radius-sm); font-family: var(--ff-ui); font-size: 1rem; font-weight: 700; border-width: 1px; }

.plan--essencial { --plan-line: #dcc893; background: #fbf9f3; color: var(--c-green); }
.plan--essencial .plan__tag { background: var(--c-gold); }
.plan--essencial .plan__cta { border-color: var(--c-green); color: var(--c-green); }
.plan--essencial .plan__cta:hover { background: var(--c-green); color: var(--c-white); }

.plan--completo { --plan-line: rgba(255, 255, 255, .85); min-height: 415px; padding-top: 27px; background: var(--c-gold); color: var(--c-white); }
.plan--completo .plan__tag { top: -13px; background: linear-gradient(90deg, var(--c-gold) 0%, #84680f 100%); }
.plan--completo .plan__price small { color: var(--c-white); }
.plan--completo .plan__cta { background: var(--c-green); color: var(--c-white); }
.plan--completo .plan__cta:hover { background: var(--c-green-deep); }

.plan--premium { --plan-line: #174e39; background: linear-gradient(180deg, #0b4430 0%, #052d1e 100%); border: 1px solid var(--c-gold); color: var(--c-gold); }
.plan--premium .plan__tag { background: linear-gradient(90deg, #174e39 0%, var(--c-gold) 100%); }
.plan--premium .plan__cta { border-color: var(--c-gold); color: var(--c-gold); }
.plan--premium .plan__cta:hover { background: var(--c-gold); color: var(--c-green-deep); }

/* =================== PORTFÓLIO DE SERVIÇOS =================== */
.services { --svc-cols: max(var(--gutter), (100% - var(--container)) / 2) minmax(0, 481fr) minmax(0, 380fr) minmax(0, 380fr); background: var(--c-white); padding-bottom: 69px; }
.services__top { background: #fbf9f3; padding-top: 52px; }
.services__head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .75rem 2.4rem; padding-bottom: 27px; }
.services__head .section-title { margin-top: .2rem; }
.services__lead { max-width: 480px; margin-bottom: .4rem; font-size: 0.8125rem; font-weight: 600; line-height: 24px; color: var(--c-green-text); }

.services__grid {
  display: grid;
  grid-template-columns: var(--svc-cols);
  grid-template-rows: auto auto;
  row-gap: 2px;
}
.services__panel {
  grid-column: 1 / 3; grid-row: 1 / 3;
  display: grid; grid-template-columns: subgrid;
  background: var(--c-gold-dark);
  color: var(--c-white);
}
.services__panel-inner { grid-column: 2; align-self: start; padding: max(98px, 7.17vw) 3.5rem 2.5rem 0; }
.service-info .service-info__title {
  margin: 14px 0 1.5rem;
  font-family: var(--ff-title);
  font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: #f8f8f8;
}
.service-info p:not(.eyebrow) { max-width: 400px; font-size: 0.75rem; font-weight: 600; line-height: 16px; color: var(--c-text-soft); }
.service-info .pill { margin-top: 2.2rem; min-height: 50px; padding-inline: 1.5rem; font-weight: 700; }
.service-info:not([hidden]) { animation: fade-up .45s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

.service-tile { position: relative; display: block; overflow: hidden; background: #d9d9d9; }
.service-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s var(--ease); }
.service-tile:hover img { transform: scale(1.05); }
.service-tile--a { grid-column: 3; grid-row: 1; aspect-ratio: 380 / 231; }
.service-tile--b { grid-column: 3; grid-row: 2; aspect-ratio: 380 / 231; }
.service-tile--c { grid-column: 4; grid-row: 1 / 3; margin-left: 2px; }
/* recortes copiados do Figma (posição/tamanho da imagem dentro de cada quadro) */
.service-tile--a img { inset: auto; left: 0; top: 0; width: 107.9%; height: 100%; }
.service-tile--b img { inset: auto; left: -21.05%; top: -17.32%; width: 121.58%; height: 133.33%; }
.service-tile--c img { inset: auto; left: 0; top: 0; width: 100.53%; height: 103.02%; }
.service-tile__label {
  position: absolute; left: 21px; bottom: 13px;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-green);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.service-tile__label--glass {
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--c-white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.service-tile__go {
  position: absolute; right: 19px; bottom: 23px;
  display: grid; place-items: center;
  width: 63px; height: 19px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .5);
  color: var(--c-white);
}

.services__bar { display: grid; grid-template-columns: var(--svc-cols); align-items: center; min-height: 91px; }
.services__bar::before {
  content: "";
  grid-column: 1 / 4; grid-row: 1;
  align-self: stretch;
  background: var(--c-green);
  border-bottom-right-radius: var(--radius);
}
.services__tabs {
  grid-column: 2 / 4; grid-row: 1;
  display: flex; gap: 3px;
  padding: 1.6rem .75rem 1.6rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.services__tabs::-webkit-scrollbar { display: none; }
.services__tabs .chip { padding-inline: .8rem; font-size: .75rem; font-weight: 500; letter-spacing: -0.02em; color: var(--c-gold-dark); border-color: var(--c-gold-dark); }
.services__tabs .chip:hover, .services__tabs .chip.is-active { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-green-deep); }
.services__more { grid-column: 4; grid-row: 1; display: flex; justify-content: center; padding: 1rem; }
.services__more .pill { min-height: 50px; padding-inline: 1.5rem; font-weight: 700; }

/* =================== DIAGNÓSTICOS =================== */
.diagnostics { position: relative; background: #fbf9f3; padding: 93px 0 71px; }
.diagnostics__pattern {
  position: absolute; top: -5px; left: 0; right: 0;
  height: 201px;
  background: url("../img/padrao-od-bege.svg") -79px 0 / auto 201px repeat-x;
}
.diagnostics__card {
  position: relative;
  margin-inline: -30px;
  padding: 36px 30px 50px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .05);
}
.diagnostics__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2.1rem;
  padding-left: 29px;
}
.diagnostics__head .section-title { margin-top: .2rem; }
.diagnostics__lead { align-self: end; max-width: 300px; font-size: 0.875rem; line-height: 20px; color: var(--c-green-text); }
.diagnostics__all { align-self: end; margin-bottom: -6px; border-radius: var(--radius-sm); min-height: 50px; font-family: var(--ff-alt); font-size: 0.875rem; font-weight: 500; }

.exam-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 30px;
  margin-top: 63px;
}
.exam-card {
  display: flex; align-items: center; gap: 17px;
  height: 92px;
  padding: 0 16px;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-sm);
  background: #fbf9f3;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.exam-card__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-white);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.exam-card__icon .icon { width: 20px; height: 20px; }
.exam-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.exam-card strong { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; color: var(--c-green-text); transition: color .25s var(--ease); overflow-wrap: anywhere; }
.exam-card small { display: inline-flex; align-items: center; gap: 2px; font-size: 0.625rem; font-weight: 500; color: #9b9b9b; transition: color .25s var(--ease); }
.exam-card small .icon { width: 12px; height: 12px; }
.exam-card:hover, .exam-card:focus-visible { background: var(--c-green); border-color: var(--c-green); }
.exam-card:hover strong, .exam-card:focus-visible strong { color: var(--c-white); }
.exam-card:hover small, .exam-card:focus-visible small { color: var(--c-gold); }
.exam-card:hover .exam-card__icon, .exam-card:focus-visible .exam-card__icon { background: var(--c-white); color: var(--c-gold); }

/* =================== CONHECIMENTO =================== */
.knowledge {
  position: relative;
  padding: 81px 0 60px;
  background: var(--c-green);
  color: var(--c-white);
  text-align: center;
}
.knowledge__title {
  margin-top: 2px;
  font-size: clamp(3rem, 1.9rem + 3.4vw, 4.375rem);
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1;
  color: var(--c-gold-dark);
}
.knowledge__lead { max-width: 445px; margin: 8px auto 0; font-size: 0.875rem; font-weight: 600; line-height: 20px; color: #f8f8f8; }
.knowledge__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 350px));
  justify-content: center;
  gap: 30px;
  margin-top: 67px;
  text-align: left;
}
.knowledge__col { display: flex; flex-direction: column; gap: 16px; }
.article-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-gold-dark); /* placeholder do Figma enquanto não há foto */
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card--s { height: 301px; }
.article-card--l { height: 438px; }
.article-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 61, 41, 0) 0%, var(--c-green) 100%); /* véu do Figma */
}
.article-card__ph { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); color: rgba(0, 0, 0, .16); }
.article-card__ph .icon { width: 50px; height: 50px; }
.article-card__body { position: absolute; z-index: 1; left: 26px; right: 86px; bottom: 18px; }
.article-card__tag { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.article-card__title {
  display: -webkit-box; margin-top: .65rem;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; /* títulos longos terminam em "..." como no Figma */
  font-size: 0.75rem; font-weight: 600; line-height: 18px; color: var(--c-text-soft);
}
.article-card__go {
  position: absolute; z-index: 1; right: 18px; bottom: 18px;
  display: grid; place-items: center;
  width: 47px; height: 47px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-white);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.article-card__go .icon { width: 22px; height: 16px; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .25); }
.article-card:hover .article-card__go { background: var(--c-white); color: var(--c-gold); }
/* Card com a ilustração do artigo (o círculo do PDF) sobre verde-claro: Home, Conhecimento e "Você também pode gostar" */
.article-card--ilustra { background: #e9f2ec; }
.article-card--ilustra::after { content: none; }
.article-card .article-card__ilustra {
  inset: auto; left: 50%; top: 22px;
  width: auto; height: calc(100% - 136px); max-width: calc(100% - 44px);
  aspect-ratio: 1; object-fit: contain;
  transform: translateX(-50%);
  transition: transform .4s var(--ease);
}
.article-card--ilustra:hover .article-card__ilustra { transform: translateX(-50%) scale(1.04); }
.article-card--ilustra .article-card__body { right: 80px; }
.article-card--ilustra .article-card__tag { color: #7d6110; }
.article-card--ilustra .article-card__title { margin-top: .45rem; font-size: 0.9375rem; font-weight: 700; line-height: 20px; color: var(--c-green); }
.article-card--ilustra:hover .article-card__go { background: var(--c-green); color: var(--c-white); }
.knowledge__more { margin-top: 46px; }
.knowledge__more .pill { min-width: 243px; min-height: 50px; justify-content: center; font-size: 1rem; font-weight: 700; }

/* =================== RESPONSIVO =================== */
@media (max-width: 1320px) {
  .pets__carousel { padding-inline: 64px; }
  .pets__arrow--prev { left: 0; }
  .pets__arrow--next { right: 0; }
  .pets__track { justify-content: start; }
}

@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .about__media { max-width: 560px; margin-inline: auto; }
  .about__text { padding-left: 0; max-width: 620px; }
  .about__signature { max-width: 620px; }

  .services { --svc-cols: 0 minmax(0, 1fr) minmax(0, 1fr); }
  .services__grid { grid-template-rows: auto 260px 260px; row-gap: 2px; }
  .service-tile--a, .service-tile--b { aspect-ratio: auto; }
  .services__panel { grid-column: 1 / -1; grid-row: 1; display: block; }
  .services__panel-inner { padding: 3rem var(--gutter); }
  .service-tile--a { grid-column: 2; grid-row: 2; }
  .service-tile--b { grid-column: 2; grid-row: 3; }
  .service-tile--c { grid-column: 3; grid-row: 2 / 4; }
  .services__bar { grid-template-columns: 1fr; }
  .services__bar::before { grid-column: 1; border-radius: 0; }
  .services__tabs { grid-column: 1; padding: 1.5rem var(--gutter); }
  .services__more { grid-column: 1; grid-row: 2; padding-top: 1.75rem; }

  .diagnostics__card { margin-inline: 0; padding: 2.5rem 1.5rem; }
  .diagnostics__head { grid-template-columns: 1fr auto; padding-left: 0; }
  .diagnostics__lead { grid-column: 1 / -1; grid-row: 2; padding-top: 0; max-width: 520px; }
  .diagnostics__all { grid-column: 2; grid-row: 1; }
  .exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; margin-top: 2.25rem; }
}

@media (max-width: 900px) {
  /* Hero no celular: foto inteira no topo (sem zoom exagerado) e texto embaixo */
  .hero__slide { flex-direction: column; min-height: 0; }
  .hero__img, .hero__img--side, .hero__slide--3 .hero__img--side {
    position: relative; inset: auto;
    width: 100%; height: 62vw; min-height: 230px;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    object-position: 85% center;
  }
  .hero__slide--2 .hero__img--side { object-position: 70% 30%; }
  .hero__slide--3 .hero__img--side { object-position: 65% center; }
  .hero__content { justify-content: flex-start; padding-top: 1.25rem; padding-bottom: 6.5rem; }
  /* em linha: "anterior" à esquerda e "próximo" à direita (no computador, empilhadas, a de cima é "próximo", como no Figma) */
  .hero__nav { top: auto; bottom: 1.5rem; right: auto; left: var(--gutter); flex-direction: row-reverse; gap: 10px; padding: 6px; }
  .hero__arrow { width: 42px; height: 42px; }
  .hero__counter { top: 1rem; bottom: auto; right: var(--gutter); width: 58px; height: 58px; padding-top: 14px; font-size: .9rem; }
  .hero__counter strong { font-size: 1.7rem; }

  .plans { background-size: auto 60%; background-position: right bottom; }
  .plans__grid { grid-template-columns: minmax(0, 340px); gap: 2.75rem; }
  .plan, .plan--completo { min-height: 0; }

  .knowledge__grid { grid-template-columns: minmax(0, 520px); gap: 16px; }
  .article-card--s, .article-card--l { height: 300px; }
}

@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .about__badge { font-size: 0.6875rem; padding: .5rem .6rem; }
  .pets__carousel { padding-inline: 0; }
  .pets__arrow { display: none; }
  .pets__track { grid-auto-columns: 150px; gap: 16px; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); }
  .pet-card { width: 150px; }

  .services__grid { grid-template-rows: auto 220px 220px 300px; }
  .service-tile--a { grid-column: 2 / 4; grid-row: 2; }
  .service-tile--b { grid-column: 2 / 4; grid-row: 3; }
  .service-tile--c { grid-column: 2 / 4; grid-row: 4; margin-left: 0; }

  .diagnostics__head { grid-template-columns: 1fr; }
  .diagnostics__all { grid-column: 1; grid-row: 3; justify-self: start; }
  .exam-grid { grid-template-columns: 1fr; }
  .exam-card { height: 76px; }
}
