.page-hero {
  position: relative;
  margin-top: -148px;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #cde4e8 center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 50, 58, 0.55), rgba(10, 50, 58, 0.12));
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  padding: 188px 0 48px;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-hero + .section {
  padding-top: calc(var(--space-section) + 16px);
}

.page-hero--servicos {
  min-height: 460px;
  background-position: 50% 12%;
}

.page-hero--servicos::before {
  background:
    linear-gradient(180deg, rgba(7, 31, 40, 0.5) 0%, rgba(7, 31, 40, 0.08) 38%, rgba(7, 31, 40, 0.35) 100%),
    linear-gradient(90deg, rgba(10, 50, 58, 0.78) 0%, rgba(10, 50, 58, 0.42) 45%, rgba(10, 50, 58, 0.15) 100%);
}

@media (max-width: 699px) {
  .page-hero--servicos {
    background-position: 50% 8%;
    min-height: 380px;
  }
}

.page-hero--petshop {
  background-position: 50% center;
}

.page-hero--petshop::before {
  background:
    linear-gradient(180deg, rgba(7, 31, 40, 0.35) 0%, rgba(7, 31, 40, 0.02) 42%, rgba(7, 31, 40, 0.5) 100%),
    linear-gradient(90deg, rgba(10, 50, 58, 0.62) 0%, rgba(10, 50, 58, 0.12) 36%, transparent 58%);
}

@media (max-width: 699px) {
  .page-hero--petshop {
    background-position: 50% 42%;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.split img.cover {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 420px;
  box-shadow: var(--shadow);
}

.prose {
  max-width: 70ch;
}

.prose p { margin: 0 0 14px; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.icon-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.icon-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.icon-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}

.icon-card h3 {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 1.1rem;
}

.icon-card p { margin: 0 0 10px; }

.icon-card p:last-child { margin-bottom: 0; }

.icon-card .more {
  margin-top: auto;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}

.icon-card .more:hover { color: var(--orange); }

.icon-card__doctor {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
}

.icon-card__credential {
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.icon-card__summary {
  line-height: 1.55;
  margin-bottom: 0;
}

/* Especialidades: tipografia uniforme + cards alinhados (altura via JS) */
body.page-especialidades .icon-grid--equal-cards {
  align-items: stretch;
}

body.page-especialidades .icon-grid--equal-cards .icon-card {
  height: auto;
}

body.page-especialidades .icon-card__summary {
  flex: 1;
}

@media (max-width: 699px) {
  body.page-especialidades .icon-grid--equal-cards .icon-card {
    min-height: 0 !important;
  }
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.staff-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.staff-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.staff-card .body { padding: 16px 18px 22px; }

.staff-card h3 {
  margin: 0;
  color: var(--orange);
}

.staff-card p {
  margin: 4px 0 0;
  color: var(--teal);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.lab-studio {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0a3a46 center / cover no-repeat;
  color: #f4fbfc;
}

.lab-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 36, 0.9) 0%, rgba(6, 28, 36, 0.68) 42%, rgba(6, 28, 36, 0.22) 72%, rgba(6, 28, 36, 0.08) 100%);
}

.lab-studio__copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: 0;
  padding: 72px 0;
  text-align: left;
}

.lab-studio__copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lab-studio__copy p {
  margin: 0 0 14px;
  max-width: none;
  color: #e7f4f6;
  font-size: var(--body-text);
  line-height: 1.55;
}

.lab-studio__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lab-studio__list li {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid rgba(244, 251, 252, 0.32);
  border-radius: 999px;
  color: #fff;
  font-size: var(--body-text);
  font-weight: 600;
  white-space: nowrap;
}

.section.contact-strip {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #eef6f8 0%, #e3eff3 100%);
}

.contact-strip .shell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 20px 18px;
  background: #fff;
  border: 1px solid rgba(15, 95, 112, 0.14);
  border-left: 4px solid var(--teal);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 95, 112, 0.07);
}

.contact-card--phone {
  border-left-color: var(--orange);
}

.contact-card__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.contact-card--address .contact-card__icon {
  background: #ffe8d4;
}

.contact-card--phone .contact-card__icon {
  background: #d4eef3;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
}

.contact-card__body {
  flex: 1;
  min-width: 0;
}

.contact-card__label {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.contact-card__value {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading);
}

.contact-card__value a {
  color: inherit;
}

.contact-card__value a:hover {
  color: var(--teal);
}

.contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-card__action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.contact-card__action:hover {
  transform: translateY(-1px);
  background: var(--orange-hot);
  box-shadow: 0 10px 24px rgba(230, 120, 40, 0.28);
  color: #fff;
}

.article h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--heading);
}

.article p { margin: 0 0 16px; }

.nav a.is-current { color: var(--orange); }

.page-hero--blog {
  min-height: 340px;
  align-items: center;
}

.page-hero--blog::before {
  background: linear-gradient(90deg, rgba(10, 50, 58, 0.72) 0%, rgba(10, 50, 58, 0.28) 48%, rgba(10, 50, 58, 0.08) 100%);
}

.page-hero--blog p {
  margin: 12px 0 0;
  max-width: 36ch;
  color: #f3fafb;
}

.feed-lead {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.feed-lead a {
  display: contents;
  color: inherit;
}

.feed-lead img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
}

.feed-lead .copy {
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feed-lead h2 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.feed-lead .excerpt {
  margin: 0 0 14px;
  color: var(--ink);
}

.blog .section .feed-lead {
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  max-height: 220px;
}

.blog .section .feed-lead img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
}

.blog .section .feed-lead .copy {
  padding: 16px 22px 18px;
}

.blog .section .feed-lead h2 {
  margin: 2px 0 6px;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.2;
}

.blog .section .feed-lead .excerpt {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.blog .section .feed-lead .feed-link {
  font-size: 0.9rem;
}

.feed-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feed-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.feed-card a.cover {
  display: block;
  overflow: hidden;
}

.feed-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.feed-card:hover img {
  transform: scale(1.04);
}

.feed-card .copy {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feed-card h3 {
  margin: 6px 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.feed-card h3 a { color: var(--heading); }

.feed-card .excerpt {
  margin: 0 0 16px;
  flex: 1;
}

.feed-lead .copy h2 {
  margin-top: 0;
}

.feed-meta {
  display: none;
}

.feed-link {
  font-weight: 700;
  color: var(--orange);
  font-size: 0.92rem;
}

.feed-lead:hover .feed-link,
.feed-card:hover .feed-link {
  color: var(--orange-hot);
}

@media (max-width: 1099px) {
  .feed-lead { grid-template-columns: 1fr; }
  .feed-lead img { height: 180px; min-height: 180px; max-height: 180px; }
  .blog .section .feed-lead {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .blog .section .feed-lead img { height: 180px; min-height: 180px; max-height: 180px; }
  .feed-more { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 400px; }
  .page-hero .shell { padding: 176px 0 48px; }
  .lab-studio { min-height: 480px; }
}

@media (max-width: 699px) {
  .feed-more { grid-template-columns: 1fr; }
  .lab-studio {
    min-height: 0;
    align-items: end;
    background-position: 62% center;
  }

  .lab-studio::before {
    background: linear-gradient(180deg, rgba(6, 28, 36, 0.2) 0%, rgba(6, 28, 36, 0.88) 46%, rgba(6, 28, 36, 0.94) 100%);
  }

  .lab-studio__copy {
    padding: 120px 0 36px;
    max-width: none;
  }

  .lab-studio__list {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 1099px) {
  .split,
  .icon-grid,
  .staff-grid,
  .gallery,
  .contact-strip .shell { grid-template-columns: 1fr 1fr; }

  .icon-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 28px; }
  .icon-card { padding: 20px; }
}

@media (max-width: 699px) {
  .section.contact-strip { padding: 36px 0 44px; }

  .split,
  .icon-grid,
  .staff-grid,
  .gallery,
  .contact-strip .shell { grid-template-columns: 1fr; }

  .icon-grid--4 { grid-template-columns: 1fr; }

  .contact-card {
    gap: 12px;
    padding: 16px 16px 16px 14px;
  }

  .staff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .page-hero {
    min-height: max(360px, 46svh);
    margin-top: calc(-132px - env(safe-area-inset-top, 0px));
  }

  .page-hero .shell {
    padding: calc(184px + env(safe-area-inset-top, 0px)) 0 44px;
  }

  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }

  .page-hero--servicos { min-height: 320px; }

  .icon-card { padding: 18px; }

  .post-article { padding-top: 16px; }

  .post-article h1 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }

  .post-cover { margin: 18px auto 8px; }

  .post-body { margin-top: 24px; padding-bottom: 40px; }
}

.post {
  background: var(--paper);
}

.post-article {
  padding-top: 28px;
}

.post-lead {
  max-width: 42rem;
}

.post-back {
  margin: 0;
}

.post-back a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.post-back a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.post-article h1 {
  margin: 14px 0 12px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--heading);
}

.post-meta {
  display: none;
}

.post-cover {
  margin: 28px auto 8px;
}

.post-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(15, 95, 112, 0.14);
}

.post-body {
  max-width: 70ch;
  margin: 36px auto 0;
  padding-bottom: 72px;
}

.post-body h2 {
  margin: 2.1em 0 0.45em;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--teal);
}

.post-body h3 {
  margin: 1.35em 0 0.35em;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-body p,
.post-body li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}

.post-body p { margin: 0 0 1.05em; }

.post-body ul {
  margin: 0 0 1.3em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.post-body li {
  position: relative;
  padding-left: 1.15em;
}

.post-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.post-action {
  margin: 2rem 0 0;
}

.post-more {
  background: linear-gradient(180deg, #f4fafb 0%, var(--mist) 100%);
  padding: 64px 0 72px;
}

.post-more h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--teal);
}

.post-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-related a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 28px rgba(15, 95, 112, 0.1);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.post-related a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 95, 112, 0.16);
}

.post-related img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-related div { padding: 16px 18px 20px; }

.post-related time {
  display: none;
}

.post-related h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--teal);
}

@media (max-width: 900px) {
  .post-related { grid-template-columns: 1fr; }
  .post-cover img { aspect-ratio: 16 / 10; }
  .post-article h1 { max-width: none; }
}
