.orthopedics-premium-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 70px;
  border-bottom: 1px solid rgba(8, 118, 63, 0.1);
  background:
    radial-gradient(circle at 92% 15%, rgba(44, 184, 122, 0.1), transparent 32%),
    radial-gradient(circle at 5% 95%, rgba(44, 184, 122, 0.08), transparent 28%),
    #fff;
}

.orthopedics-premium-hero .container {
  width: min(100%, 1440px);
  padding-inline: clamp(24px, 5vw, 80px);
  box-sizing: border-box;
}

.orthopedics-premium-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.85fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.orthopedics-premium-copy {
  max-width: 760px;
}

.orthopedics-premium-eyebrow {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 25px;
  color: #08763f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.orthopedics-premium-eyebrow > span {
  width: 42px;
  height: 2px;
  flex: 0 0 42px;
  border-radius: 999px;
  background: #079748;
}

.orthopedics-premium-copy h1 {
  margin: 0;
  color: #0d1b3d;
  font-size: clamp(4.5rem, 6.5vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.orthopedics-premium-description {
  max-width: 670px;
  margin: 35px 0 0;
  color: #465672;
  font-size: clamp(1.08rem, 1.45vw, 1.27rem);
  line-height: 1.7;
}

.orthopedics-premium-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  align-items: center;
  margin: 33px 0 0;
  padding: 0;
  color: #20314c;
  list-style: none;
}

.orthopedics-premium-benefits li {
  position: relative;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-inline: 20px;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.orthopedics-premium-benefits li:first-child {
  padding-left: 0;
}

.orthopedics-premium-benefits li + li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 28px;
  background: rgba(24, 46, 70, 0.16);
  content: "";
  transform: translateY(-50%);
}

.orthopedics-premium-benefits svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  padding: 3px;
  border-radius: 50%;
  fill: none;
  stroke: #079748;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  background: rgba(3, 145, 66, 0.1);
}

.orthopedics-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 38px;
}

.orthopedics-premium-insurances {
  max-width: 690px;
  margin-top: 25px;
  padding: 17px 19px 18px;
  border: 1px solid rgba(8, 118, 63, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(238, 249, 243, 0.92), rgba(250, 253, 251, 0.96));
  box-shadow: 0 12px 30px rgba(15, 71, 42, 0.055);
}

.orthopedics-premium-insurances > p {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 13px;
  color: #08763f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.orthopedics-premium-insurances > p svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.orthopedics-premium-insurances ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.orthopedics-premium-insurances li {
  padding: 7px 12px;
  border: 1px solid rgba(8, 118, 63, 0.16);
  border-radius: 999px;
  color: #263b50;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(15, 71, 42, 0.035);
}

@media (min-width: 1024px) and (max-height: 900px) {
  .orthopedics-premium-actions {
    margin-top: 28px;
  }

  .orthopedics-premium-insurances {
    margin-top: 18px;
    padding: 13px 15px 14px;
    border-radius: 16px;
  }

  .orthopedics-premium-insurances > p {
    margin-bottom: 9px;
  }

  .orthopedics-premium-benefits {
    margin-top: 20px;
  }
}

.orthopedics-premium-primary {
  display: inline-flex;
  min-height: 60px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #00923d;
  border-radius: 16px;
  color: #fff;
  background: #00963f;
  box-shadow: 0 13px 28px rgba(0, 126, 54, 0.18);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease-out,
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orthopedics-premium-primary:hover,
.orthopedics-premium-primary:focus-visible {
  color: #fff;
  background: #087e3d;
  box-shadow: 0 18px 34px rgba(0, 103, 45, 0.25);
  transform: translateY(-3px);
}

.orthopedics-premium-primary:active {
  transform: translateY(-2px);
}

.orthopedics-premium-secondary {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  color: #08763f;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.orthopedics-premium-secondary::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.38;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.orthopedics-premium-secondary {
  position: relative;
}

.orthopedics-premium-secondary > span {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orthopedics-premium-secondary:hover::after,
.orthopedics-premium-secondary:focus-visible::after {
  transform: scaleX(1);
}

.orthopedics-premium-secondary:hover > span,
.orthopedics-premium-secondary:focus-visible > span {
  transform: translateX(4px);
}

.orthopedics-premium-primary:focus-visible,
.orthopedics-premium-secondary:focus-visible {
  outline: 3px solid rgba(3, 145, 66, 0.24);
  outline-offset: 4px;
}

.orthopedics-premium-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  margin: 0 0 0 auto;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: 30px;
  background: #edf4f0;
  box-shadow: 0 24px 65px rgba(15, 71, 42, 0.11);
}

.orthopedics-premium-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.orthopedics-premium-doctor-card {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  color: #fff;
  background: rgba(33, 100, 70, 0.95);
  box-shadow: 0 14px 34px rgba(0, 33, 17, 0.2);
  backdrop-filter: blur(8px);
}

.orthopedics-premium-joint-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.orthopedics-premium-joint-icon img {
  display: block;
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.orthopedics-premium-doctor-card > span:last-child {
  min-width: 0;
}

.orthopedics-premium-doctor-card strong,
.orthopedics-premium-doctor-card small {
  display: block;
}

.orthopedics-premium-doctor-card strong {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.3;
}

.orthopedics-premium-doctor-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@media (max-width: 1099px) {
  .orthopedics-premium-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: clamp(36px, 5vw, 58px);
  }

  .orthopedics-premium-copy h1 {
    font-size: clamp(4rem, 7vw, 5.2rem);
  }

  .orthopedics-premium-benefits li {
    padding-inline: 14px;
    font-size: 0.86rem;
  }
}

@media (min-width: 640px) and (max-width: 950px) {
  .orthopedics-premium-benefits li:nth-child(3) {
    padding-left: 0;
  }

  .orthopedics-premium-benefits li:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 839px) {
  .orthopedics-premium-hero {
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 62px;
  }

  .orthopedics-premium-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .orthopedics-premium-copy {
    max-width: 700px;
  }

  .orthopedics-premium-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 639px) {
  .orthopedics-premium-hero .container {
    padding-inline: 20px;
  }

  .orthopedics-premium-eyebrow {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.75rem;
  }

  .orthopedics-premium-eyebrow > span {
    width: 32px;
    flex-basis: 32px;
  }

  .orthopedics-premium-copy h1 {
    font-size: clamp(3rem, 14vw, 3.55rem);
  }

  .orthopedics-premium-description {
    margin-top: 26px;
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .orthopedics-premium-benefits {
    display: grid;
    gap: 13px;
    margin-top: 27px;
  }

  .orthopedics-premium-insurances {
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
  }

  .orthopedics-premium-insurances li {
    padding: 7px 11px;
    font-size: 0.8rem;
  }

  .orthopedics-premium-benefits li {
    padding: 0;
    font-size: 0.92rem;
  }

  .orthopedics-premium-benefits li + li::before {
    display: none;
  }

  .orthopedics-premium-actions {
    display: grid;
    gap: 13px;
    margin-top: 31px;
  }

  .orthopedics-premium-primary {
    width: 100%;
    min-height: 58px;
  }

  .orthopedics-premium-secondary {
    justify-content: center;
    text-align: center;
  }

  .orthopedics-premium-visual {
    border-width: 4px;
    border-radius: 24px;
  }

  .orthopedics-premium-doctor-card {
    right: 13px;
    bottom: 13px;
    left: 13px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
    border-radius: 15px;
  }

  .orthopedics-premium-joint-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

.orthopedics-wellbeing {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 87% 48%, rgba(32, 163, 103, 0.075), transparent 31%),
    #fbfcfc;
}

.orthopedics-wellbeing .container {
  width: min(100%, 1440px);
  padding-inline: clamp(24px, 5vw, 80px);
  box-sizing: border-box;
}

.orthopedics-wellbeing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(410px, 1fr);
  gap: clamp(58px, 7vw, 108px);
  align-items: center;
}

.orthopedics-wellbeing-copy {
  max-width: 820px;
}

.orthopedics-wellbeing-eyebrow {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0 0 42px;
  color: #5a6b89;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.orthopedics-wellbeing-eyebrow > span {
  width: 40px;
  height: 2px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: var(--green, #039142);
}

.orthopedics-wellbeing-copy h2 {
  max-width: 850px;
  margin: 0;
  color: #17253b;
  font-size: clamp(3.25rem, 4vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.orthopedics-wellbeing-copy h2 > span {
  color: var(--green, #039142);
}

.orthopedics-wellbeing-detail {
  display: block;
  width: 56px;
  height: 2px;
  margin: 34px 0 30px;
  border-radius: 999px;
  background: var(--green, #039142);
}

.orthopedics-wellbeing-description {
  max-width: 820px;
  margin: 0;
  color: #536686;
  font-size: 1.12rem;
  line-height: 1.72;
}

.orthopedics-wellbeing-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  margin-top: 31px;
  padding: 0 34px;
  border: 1px solid var(--green, #039142);
  border-radius: 10px;
  color: #fff;
  background: var(--green, #039142);
  box-shadow: 0 13px 30px rgba(3, 145, 66, 0.14);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease-out,
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orthopedics-wellbeing-button:hover,
.orthopedics-wellbeing-button:focus-visible {
  color: #fff;
  background: var(--green-dark, #02662e);
  box-shadow: 0 18px 35px rgba(2, 102, 46, 0.22);
  transform: translateY(-2px);
}

.orthopedics-wellbeing-button:focus-visible {
  outline: 3px solid rgba(3, 145, 66, 0.22);
  outline-offset: 4px;
}

.orthopedics-wellbeing-cards {
  position: relative;
  display: grid;
  gap: 20px;
}

.orthopedics-wellbeing-cards::before {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -12%;
  bottom: 7%;
  left: 4%;
  border-radius: 50%;
  background: rgba(34, 169, 107, 0.1);
  content: "";
  filter: blur(62px);
}

.orthopedics-wellbeing-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-width: 0;
  gap: 25px;
  align-items: center;
  padding: 27px 30px;
  border: 1px solid rgba(30, 61, 83, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(29, 72, 53, 0.055);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.orthopedics-wellbeing-icon {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  color: var(--green, #039142);
  background: rgba(0, 130, 70, 0.045);
}

.orthopedics-wellbeing-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.orthopedics-wellbeing-card h3 {
  margin: 0;
  color: var(--green-dark, #02662e);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.orthopedics-wellbeing-card p {
  margin: 10px 0 0;
  color: #536686;
  font-size: 0.98rem;
  line-height: 1.62;
}

#atendimento-ortopedico {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (hover: hover) and (pointer: fine) {
  .orthopedics-wellbeing-card:hover {
    box-shadow: 0 19px 44px rgba(29, 72, 53, 0.09);
    transform: translateY(-3px);
  }
}

@media (max-width: 1099px) {
  .orthopedics-wellbeing {
    padding-block: 82px;
  }

  .orthopedics-wellbeing-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 44px;
  }

  .orthopedics-wellbeing-eyebrow {
    margin-bottom: 32px;
  }

  .orthopedics-wellbeing-copy h2 {
    font-size: clamp(2.85rem, 5vw, 3.7rem);
  }

  .orthopedics-wellbeing-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    padding: 23px 24px;
  }

  .orthopedics-wellbeing-icon {
    width: 82px;
    height: 82px;
  }

  .orthopedics-wellbeing-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .orthopedics-wellbeing {
    padding-block: 72px;
  }

  .orthopedics-wellbeing .container {
    padding-inline: clamp(20px, 5vw, 24px);
  }

  .orthopedics-wellbeing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .orthopedics-wellbeing-copy h2 {
    font-size: clamp(2.4rem, 11vw, 2.75rem);
    line-height: 1.08;
  }

  .orthopedics-wellbeing-copy h2 br {
    display: none;
  }

  .orthopedics-wellbeing-description br {
    display: none;
  }

  .orthopedics-wellbeing-button {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .orthopedics-wellbeing-eyebrow {
    gap: 12px;
    margin-bottom: 27px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .orthopedics-wellbeing-eyebrow > span {
    width: 32px;
    flex-basis: 32px;
  }

  .orthopedics-wellbeing-detail {
    margin-block: 26px 24px;
  }

  .orthopedics-wellbeing-description {
    font-size: 1rem;
    line-height: 1.68;
  }

  .orthopedics-wellbeing-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 17px;
  }

  .orthopedics-wellbeing-icon {
    width: 72px;
    height: 72px;
  }

  .orthopedics-wellbeing-icon svg {
    width: 35px;
    height: 35px;
  }

  .orthopedics-wellbeing-card h3 {
    font-size: 1rem;
  }

  .orthopedics-wellbeing-card p {
    margin-top: 7px;
    font-size: 0.9rem;
    line-height: 1.52;
  }
}

.orthopedics-services-section {
  position: relative;
  overflow: hidden;
  padding: 98px 0 112px;
  background:
    radial-gradient(circle at 50% 45%, rgba(36, 166, 105, 0.045), transparent 42%),
    #fff;
}

.orthopedics-services-section .container {
  width: min(100%, 1440px);
  padding-inline: clamp(24px, 5vw, 80px);
  box-sizing: border-box;
}

.orthopedics-services-heading {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.orthopedics-services-heading > p {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--green, #039142);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.orthopedics-services-heading > p > span {
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: currentColor;
}

.orthopedics-services-heading h2 {
  margin: 25px 0 0;
  color: #17253b;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.orthopedics-services-heading > div {
  margin-top: 18px;
  color: #536686;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.orthopedics-services-path {
  height: 54px;
  margin: 28px 40px -2px;
  color: rgba(3, 145, 66, 0.26);
}

.orthopedics-services-path svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: #fff;
  stroke: currentColor;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.orthopedics-services-path .orthopedics-path-arrow {
  fill: none;
  stroke-dasharray: none;
}

.orthopedics-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.orthopedics-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(26, 68, 83, 0.105);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 13px 34px rgba(25, 69, 51, 0.045);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease-out,
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.orthopedics-service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #06a64b, #027a38);
  box-shadow: 0 9px 20px rgba(3, 145, 66, 0.17);
}

.orthopedics-service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.orthopedics-service-icon img {
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.orthopedics-service-card h3 {
  margin: 20px 0 0;
  color: #102044;
  font-size: clamp(1.25rem, 1.75vw, 1.48rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.orthopedics-service-card > p {
  margin: 10px 0 0;
  color: #536686;
  font-size: 1rem;
  line-height: 1.62;
}

.orthopedics-service-card > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: var(--green, #039142);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.orthopedics-service-card > a > span:last-child {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.orthopedics-service-card > a:hover > span:last-child,
.orthopedics-service-card > a:focus-visible > span:last-child {
  transform: translateX(5px);
}

.orthopedics-service-card > a:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(3, 145, 66, 0.2);
  outline-offset: 4px;
}

.orthopedics-service-card-cta {
  border-color: rgba(3, 145, 66, 0.62);
  background:
    radial-gradient(circle at 90% 12%, rgba(43, 191, 119, 0.13), transparent 42%),
    linear-gradient(145deg, #f8fffa, #eefaf3);
}

.orthopedics-service-whatsapp-icon {
  background: #20c55a;
}

.orthopedics-service-whatsapp-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  stroke: none;
}

.orthopedics-service-card > .orthopedics-service-whatsapp-button {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid #02883e;
  border-radius: 10px;
  color: #fff;
  background: var(--green, #039142);
  box-shadow: 0 10px 24px rgba(3, 145, 66, 0.15);
  text-align: center;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.orthopedics-service-card > .orthopedics-service-whatsapp-button:hover,
.orthopedics-service-card > .orthopedics-service-whatsapp-button:focus-visible {
  color: #fff;
  background: var(--green-dark, #02662e);
  box-shadow: 0 14px 28px rgba(2, 102, 46, 0.23);
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .orthopedics-service-card:hover {
    border-color: rgba(3, 145, 66, 0.3);
    box-shadow: 0 18px 42px rgba(25, 69, 51, 0.085);
    transform: translateY(-3px);
  }
}

@media (max-width: 999px) {
  .orthopedics-services-section {
    padding-block: 84px 94px;
  }

  .orthopedics-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orthopedics-services-path {
    margin-inline: 28px;
  }
}

@media (max-width: 639px) {
  .orthopedics-services-section {
    padding-block: 72px 80px;
  }

  .orthopedics-services-section .container {
    padding-inline: 20px;
  }

  .orthopedics-services-heading > p {
    gap: 10px;
    font-size: 0.73rem;
    letter-spacing: 0.13em;
  }

  .orthopedics-services-heading > p > span {
    width: 28px;
    flex-basis: 28px;
  }

  .orthopedics-services-heading h2 {
    margin-top: 20px;
    font-size: clamp(2.25rem, 11vw, 2.65rem);
    line-height: 1.08;
  }

  .orthopedics-services-heading > div {
    margin-top: 15px;
    font-size: 1rem;
  }

  .orthopedics-services-path {
    display: none;
  }

  .orthopedics-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 34px;
  }

  .orthopedics-service-card {
    min-height: 0;
    padding: 24px;
    border-radius: 19px;
  }

  .orthopedics-service-icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .orthopedics-service-icon svg {
    width: 32px;
    height: 32px;
  }

  .orthopedics-service-icon img {
    width: 45px;
    height: 45px;
  }

  .orthopedics-service-card h3 {
    font-size: 1.3rem;
  }

  .orthopedics-service-card > p {
    font-size: 0.96rem;
  }

  .orthopedics-service-card > a {
    margin-top: 24px;
    padding-top: 0;
  }

  .orthopedics-service-card > .orthopedics-service-whatsapp-button {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orthopedics-premium-primary,
  .orthopedics-premium-secondary::after,
  .orthopedics-premium-secondary > span,
  .orthopedics-wellbeing-button,
  .orthopedics-wellbeing-card,
  .orthopedics-service-card,
  .orthopedics-service-card > a > span:last-child,
  .orthopedics-service-card > .orthopedics-service-whatsapp-button {
    transition: none;
  }
}

/* Keep both WhatsApp marks anchored inside their moving parent elements. */
.orthopedics-page .orthopedics-premium-primary:hover .contact-whatsapp-icon,
.orthopedics-page .orthopedics-premium-primary:focus-visible .contact-whatsapp-icon,
.orthopedics-page .orthopedics-service-card-cta:hover .orthopedics-service-whatsapp-icon,
.orthopedics-page .orthopedics-service-card-cta:focus-within .orthopedics-service-whatsapp-icon {
  transform: none !important;
}

/* Use the service-section title scale across the three main headings. */
.orthopedics-premium-copy h1,
.orthopedics-wellbeing-copy h2,
.orthopedics-services-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

@media (max-width: 639px) {
  .orthopedics-premium-copy h1,
  .orthopedics-wellbeing-copy h2,
  .orthopedics-services-heading h2 {
    font-size: clamp(2.25rem, 11vw, 2.65rem);
    line-height: 1.08;
  }
}

/* Left-to-right underline for the five orthopedic "Saiba mais" links. */
.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a > span:first-child {
  position: relative;
  padding-bottom: 5px;
}

.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a > span:first-child::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentcolor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 580ms cubic-bezier(.22, 1, .36, 1);
}

.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta):hover > a > span:first-child::after,
.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta):focus-within > a > span:first-child::after,
.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a:hover > span:first-child::after,
.orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a:focus-visible > span:first-child::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a > span:first-child::after {
    transition: transform 580ms cubic-bezier(.22, 1, .36, 1) !important;
  }

  .orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta):hover > a > span:first-child::after,
  .orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta):focus-within > a > span:first-child::after,
  .orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a:hover > span:first-child::after,
  .orthopedics-page .orthopedics-service-card:not(.orthopedics-service-card-cta) > a:focus-visible > span:first-child::after {
    transform: scaleX(1) !important;
  }
}

/* Slightly emphasize the page title while preserving the shared heading scale. */
.orthopedics-premium-copy h1 {
  font-size: clamp(3rem, 5.35vw, 4.55rem);
}

@media (max-width: 639px) {
  .orthopedics-premium-copy h1 {
    font-size: clamp(2.45rem, 11.8vw, 2.85rem);
  }
}

/* Calmer tactile response for the orthopedic WhatsApp action. */
.orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta {
  transform: translateY(0);
  transition:
    transform 680ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 680ms cubic-bezier(.16, 1, .3, 1),
    background-color 580ms cubic-bezier(.16, 1, .3, 1),
    border-color 580ms cubic-bezier(.16, 1, .3, 1),
    color 580ms cubic-bezier(.16, 1, .3, 1),
    filter 580ms cubic-bezier(.16, 1, .3, 1);
}

.orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:hover,
.orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:focus-visible {
  border-color: #027a38;
  background: var(--green-dark, #02662e);
  box-shadow: 0 16px 34px rgb(2 102 46 / 18%), 0 5px 13px rgb(2 102 46 / 7%);
  filter: saturate(1.02);
  transform: translateY(-1px);
}

.orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:active {
  box-shadow: 0 7px 17px rgb(2 102 46 / 13%);
  transform: translateY(0) scale(.99);
  transition-duration: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  .orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta {
    transition:
      transform 680ms cubic-bezier(.16, 1, .3, 1),
      box-shadow 680ms cubic-bezier(.16, 1, .3, 1),
      background-color 580ms cubic-bezier(.16, 1, .3, 1),
      border-color 580ms cubic-bezier(.16, 1, .3, 1),
      color 580ms cubic-bezier(.16, 1, .3, 1),
      filter 580ms cubic-bezier(.16, 1, .3, 1) !important;
  }

  .orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:hover,
  .orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:focus-visible {
    transform: translateY(-2px) !important;
  }

  .orthopedics-page .orthopedics-service-card > .orthopedics-service-whatsapp-button.soft-tactile-cta:active {
    transform: translateY(0) scale(.99) !important;
    transition-duration: 180ms !important;
  }
}
