/* Home — Sobre a Clinimed */
.about-clinimed {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 97% 12%, rgb(16 185 129 / 10%), transparent 28rem),
    radial-gradient(circle at 0 100%, rgb(3 145 66 / 7%), transparent 24rem),
    #fbfcfb;
}

.about-clinimed::before,
.about-clinimed::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(3 145 66 / 8%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-clinimed::before {
  right: -16rem;
  top: -20rem;
  width: 42rem;
  height: 42rem;
}

.about-clinimed::after {
  bottom: -17rem;
  left: -21rem;
  width: 39rem;
  height: 39rem;
  box-shadow: 0 0 0 38px rgb(3 145 66 / 2.5%), 0 0 0 76px rgb(3 145 66 / 1.7%);
}

.about-clinimed-grid {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: clamp(2rem, 4vw, 5rem);
}

.about-clinimed-copy,
.about-clinimed-visual,
.about-clinimed-benefits {
  min-width: 0;
}

.about-clinimed-eyebrow {
  margin-bottom: 1.8rem;
  color: var(--green-dark);
  letter-spacing: .13em;
}

.about-clinimed-copy h1,
.about-clinimed-copy h2 {
  max-width: 11.2em;
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 780;
  letter-spacing: -.052em;
  line-height: .98;
  text-wrap: balance;
}

.about-clinimed-copy h1 span,
.about-clinimed-copy h2 span {
  display: block;
}

.about-clinimed-tradition {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 1rem;
  margin: 1.7rem 0 1.25rem;
  color: var(--green-dark);
  font-size: clamp(.94rem, 1.3vw, 1.08rem);
  font-weight: 720;
  line-height: 1.25;
}

.about-clinimed-tradition-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(3 145 66 / 28%);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #edf9f2);
  box-shadow: 0 10px 30px rgb(3 104 48 / 7%);
}

.about-clinimed-tradition-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.about-clinimed-tradition-divider {
  width: 1px;
  height: 1.45rem;
  flex: 0 0 auto;
  background: rgb(3 145 66 / 38%);
}

.about-clinimed-description {
  max-width: 39rem;
  margin: 0;
  color: #475569;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.75;
}

.about-clinimed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.9rem;
}

.about-clinimed-button {
  position: relative;
  display: inline-flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  overflow: hidden;
  padding: .85rem 1.45rem;
  border: 1px solid var(--green);
  border-radius: .75rem;
  font-size: .94rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  transition:
    color 420ms cubic-bezier(.16, 1, .3, 1),
    background-color 420ms cubic-bezier(.16, 1, .3, 1),
    border-color 420ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 420ms cubic-bezier(.16, 1, .3, 1),
    transform 420ms cubic-bezier(.16, 1, .3, 1);
}

.about-clinimed-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgb(255 255 255 / 22%) 50%, transparent 80%);
  content: "";
  transform: translateX(-120%);
  transition: transform 650ms cubic-bezier(.16, 1, .3, 1);
}

.about-clinimed-button > span {
  position: relative;
  z-index: 1;
}

.about-clinimed-button-primary {
  min-width: 18.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 12px 28px rgb(3 120 54 / 13%);
}

.about-clinimed-button-secondary {
  min-width: 18rem;
  color: var(--green-dark);
  background: rgb(255 255 255 / 74%);
  box-shadow: 0 9px 24px rgb(15 23 42 / 4%);
}

.about-clinimed-button-arrow {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
}

.about-clinimed-button:hover,
.about-clinimed-button:focus-visible {
  box-shadow: 0 19px 38px rgb(3 105 48 / 16%);
  transform: translateY(-4px);
}

.about-clinimed-button-primary:hover,
.about-clinimed-button-primary:focus-visible {
  border-color: #02a64c;
  color: #fff;
  background: linear-gradient(135deg, #014f27, #04a34a);
}

.about-clinimed-button-secondary:hover,
.about-clinimed-button-secondary:focus-visible {
  border-color: var(--green-dark);
  color: #fff;
  background: var(--green-dark);
}

.about-clinimed-button:hover::before,
.about-clinimed-button:focus-visible::before {
  transform: translateX(120%);
}

.about-clinimed-button:hover .about-clinimed-button-arrow,
.about-clinimed-button:focus-visible .about-clinimed-button-arrow {
  transform: translateX(.3rem);
}

.about-clinimed-button:focus-visible {
  outline: 3px solid rgb(16 185 129 / 22%);
  outline-offset: 3px;
}

.about-clinimed-button:active {
  box-shadow: 0 8px 20px rgb(3 105 48 / 11%);
  transform: translateY(-1px);
}

.about-clinimed-visual {
  position: relative;
  width: 100%;
  max-width: 39rem;
  margin: 0 auto;
}

.about-clinimed-photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border: 1px solid rgb(3 145 66 / 10%);
  border-radius: 2.25rem;
  background:
    radial-gradient(circle at 72% 18%, rgb(218 241 226 / 85%), transparent 32%),
    linear-gradient(145deg, #f4f5f3 0%, #dfece4 100%);
  box-shadow: 0 30px 70px rgb(10 70 38 / 12%);
}

.about-clinimed-photo::before {
  position: absolute;
  inset: auto -13% -29% 7%;
  height: 53%;
  border-radius: 50%;
  background: rgb(3 145 66 / 8%);
  content: "";
  filter: blur(1px);
}

.about-clinimed-photo-glow {
  position: absolute;
  top: 4%;
  right: -22%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgb(3 145 66 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(255 255 255 / 16%);
}

.about-clinimed-photo img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 20px 32px rgb(15 23 42 / 12%));
}

.about-clinimed-badge {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  min-width: 14.5rem;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 1.15rem;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 18px 42px rgb(15 23 42 / 14%);
  backdrop-filter: blur(12px);
}

.about-clinimed-badge-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(3 145 66 / 25%);
  border-radius: 50%;
  background: #f2faf5;
}

.about-clinimed-badge-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.about-clinimed-badge strong,
.about-clinimed-badge small {
  display: block;
}

.about-clinimed-badge strong {
  margin-bottom: .15rem;
  color: var(--green-dark);
  font-size: .92rem;
}

.about-clinimed-badge small {
  color: #475569;
  font-size: .8rem;
}

.about-clinimed-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.about-clinimed-benefit {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .8rem;
  padding: .85rem clamp(.65rem, 1.25vw, 1.05rem);
}

.about-clinimed-benefit + .about-clinimed-benefit::before {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background: rgb(15 23 42 / 10%);
  content: "";
}

.about-clinimed-benefit > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(3 145 66 / 13%);
  border-radius: 50%;
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 9px 24px rgb(15 23 42 / 5%);
}

.about-clinimed-benefit svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about-clinimed-benefit strong {
  color: #162238;
  font-size: clamp(.76rem, 1.05vw, .88rem);
  line-height: 1.4;
}

@media (min-width: 1050px) {
  .about-clinimed-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(27rem, .94fr);
    grid-template-rows: auto auto;
    column-gap: clamp(3.5rem, 6vw, 6rem);
    row-gap: 1.7rem;
  }

  .about-clinimed-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .about-clinimed-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .about-clinimed-benefits {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 1049px) {
  .about-clinimed {
    padding-block: clamp(4.5rem, 9vw, 6.5rem);
  }

  .about-clinimed-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .about-clinimed-copy {
    order: 1;
  }

  .about-clinimed-visual {
    order: 2;
  }

  .about-clinimed-benefits {
    order: 3;
    max-width: 44rem;
    margin-inline: auto;
  }

  .about-clinimed-copy,
  .about-clinimed-copy h1,
  .about-clinimed-copy h2,
  .about-clinimed-description {
    max-width: 47rem;
  }
}

@media (max-width: 699px) {
  .about-clinimed-eyebrow {
    margin-bottom: 1.35rem;
  }

  .about-clinimed-copy h1,
  .about-clinimed-copy h2 {
    font-size: clamp(2.38rem, 11vw, 3rem);
    line-height: 1.01;
  }

  .about-clinimed-tradition {
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
  }

  .about-clinimed-tradition-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .about-clinimed-tradition strong {
    flex: 1 1 calc(100% - 4rem);
  }

  .about-clinimed-tradition-divider {
    display: none;
  }

  .about-clinimed-tradition > span:last-child {
    margin-left: 3.65rem;
  }

  .about-clinimed-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-clinimed-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .about-clinimed-button,
  .about-clinimed-button-primary,
  .about-clinimed-button-secondary {
    width: 100%;
    min-width: 0;
  }

  .about-clinimed-photo {
    border-radius: 1.5rem;
  }

  .about-clinimed-badge {
    right: .75rem;
    bottom: .75rem;
    min-width: 12.5rem;
    gap: .7rem;
    padding: .7rem .8rem;
    border-radius: 1rem;
  }

  .about-clinimed-badge-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .about-clinimed-benefits {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .about-clinimed-benefit {
    padding: 1rem 0;
  }

  .about-clinimed-benefit + .about-clinimed-benefit::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .about-clinimed-benefit strong {
    font-size: .92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-clinimed-button,
  .about-clinimed-button::before,
  .about-clinimed-button-arrow {
    transition-duration: .01ms !important;
  }
}
