:root {
  --template-container: 1320px;
  --template-gutter: 15px;
  --template-space: clamp(5.5rem, 9vw, 9rem);
  --template-radius: 14px;
  --template-bg: #f7f3ee;
  --template-surface: #fffefd;
  --template-dark: #242326;
  --template-card: #efe8df;
  --template-accent: #b89d82;
  --template-line: rgba(66, 65, 67, 0.16);
}

body {
  background: var(--template-bg);
}

.section-space {
  padding-top: var(--template-space) !important;
  padding-bottom: var(--template-space) !important;
}

h2,
.footer-lead h2,
.booking-panel h2 {
  font-size: clamp(36px, 2.4vw, 46px) !important;
  line-height: 1.1 !important;
}

.about-section,
.why-section,
.stories-section,
.transformation-section,
.care-section,
.insights-section {
  width: min(calc(100% - 30px), var(--template-container)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.surface-section,
.dark-section,
.site-footer {
  width: calc(100% - 30px) !important;
  max-width: 1820px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  border-radius: var(--template-radius) !important;
}

.services-section > *,
.special-section > *,
.studio-section > *,
.expertise-section > *,
.contact-section > *,
.site-footer > * {
  width: min(calc(100% - 30px), var(--template-container)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.section-pill {
  min-height: 34px !important;
  margin: 0 0 18px !important;
  padding: 6px 14px !important;
  font-size: 14px !important;
}

.split-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr) !important;
  gap: clamp(50px, 7vw, 110px) !important;
  align-items: center !important;
  margin-bottom: 64px !important;
}

.center-heading {
  gap: 14px !important;
  margin-bottom: 56px !important;
}

.split-heading p,
.center-heading p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Sobre, mesma composição e mesma altura visual do template */

.about-section {
  display: grid !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 80px !important;
  align-items: center !important;
}

.about-collage {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  height: 587px !important;
  min-height: 0 !important;
  grid-template-columns: 64% 36% !important;
  grid-template-rows: 48% 52% !important;
  gap: 0 !important;
}

.about-collage figure {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.about-collage > .about-collage__portrait {
  grid-row: 1 / 3 !important;
  border-radius: 0 0 0 120px !important;
}

.about-collage > .about-collage__clinic {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 20px 0 0 20px !important;
  border-radius: 0 0 110px 0 !important;
}

.about-collage img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

.about-collage__score {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: calc(100% - 20px) !important;
  height: calc(100% - 20px) !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 0 20px 20px !important;
  padding: 28px !important;
  border-radius: 0 70px 0 0 !important;
  background: var(--template-accent) !important;
  color: #fff !important;
}

.about-collage__score strong {
  font-family: var(--font-display) !important;
  font-size: 46px !important;
  line-height: 1 !important;
}

.about-collage__score span {
  max-width: 145px !important;
  margin-top: 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.about-content {
  display: block !important;
}

.about-content > p:not(.section-pill) {
  margin: 22px 0 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.about-principles {
  gap: 22px !important;
  margin-top: 28px !important;
}

.about-quote {
  margin-top: 28px !important;
  padding: 22px 70px 22px 0 !important;
  font-size: clamp(26px, 2vw, 36px) !important;
}

/* Serviços */

.services-section {
  min-height: 0 !important;
}

.treatment-card {
  min-height: 350px !important;
  padding: 34px !important;
}

.treatment-card > i {
  display: none !important;
}

.treatment-card img {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  order: -1 !important;
  margin-bottom: 34px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.treatment-card h3 {
  margin-top: auto !important;
}

.section-trust {
  margin-top: 30px !important;
}

/* Why Choose Us */

.why-section {
  min-height: 827px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 60px !important;
}

.why-collage {
  width: 100% !important;
  height: 587px !important;
  min-height: 0 !important;
  grid-template-columns: 58% 42% !important;
  grid-template-rows: 48% 52% !important;
  gap: 20px !important;
}

.why-collage__main {
  border-radius: 140px 0 0 140px !important;
}

.why-collage__detail {
  border-radius: 0 120px 0 0 !important;
}

.why-collage__device {
  border-radius: 0 0 120px 0 !important;
}

.why-content {
  display: block !important;
  min-height: 0 !important;
}

.why-content > p:not(.section-pill) {
  margin: 20px 0 28px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.content-accordion article > button {
  min-height: 74px !important;
  padding: 13px 0 !important;
  font-size: 18px !important;
}

.content-accordion article > div {
  padding: 0 42px 20px 0 !important;
}

.content-accordion article > div p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* What We Do */

.expertise-section {
  min-height: 0 !important;
}

.expertise-section > header {
  margin-bottom: 52px !important;
}

.expertise-grid {
  grid-template-columns: minmax(210px, 0.72fr) minmax(470px, 1.55fr) minmax(210px, 0.72fr) !important;
  gap: 30px !important;
}

.expertise-grid > * {
  min-height: 394px !important;
  height: 394px !important;
}

.expertise-fact,
.expertise-contact {
  padding: 30px !important;
}

.expertise-avatar {
  width: 100px !important;
  height: 82px !important;
  margin-bottom: 20px !important;
}

.expertise-fact strong {
  font-size: 48px !important;
}

.expertise-fact h3,
.expertise-contact h3 {
  margin-top: 18px !important;
  padding-top: 18px !important;
  font-size: 17px !important;
}

.expertise-image figcaption {
  right: 36px !important;
  bottom: 30px !important;
  left: 36px !important;
}

.expertise-contact img {
  right: 0 !important;
  bottom: 0 !important;
  width: 75% !important;
  height: 46% !important;
}

/* Case Study */

.stories-section .split-heading {
  margin-bottom: 56px !important;
}

.story-grid {
  gap: 30px !important;
}

.story-grid > a {
  min-height: 490px !important;
}

/* Treatments */

.special-section {
  min-height: 0 !important;
  padding-bottom: 280px !important;
}

.treatment-pills {
  gap: 20px 30px !important;
}

.booking-panel {
  min-height: 300px !important;
  margin-top: -235px !important;
  padding: 52px !important;
}

.booking-panel > img {
  width: 34% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Transformations */

.transformation-section {
  padding-top: 180px !important;
}

.transformation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
}

.transformation-compare {
  min-height: 510px !important;
  height: 510px !important;
}

/* Análise facial 3D, composição horizontal compacta */

.studio-section {
  min-height: 0 !important;
}

.studio-section .split-heading {
  margin-bottom: 34px !important;
}

.studio-benefits {
  min-height: 62px !important;
}

.studio-feature {
  display: grid !important;
  min-height: 430px !important;
  height: 430px !important;
  grid-template-columns: 42% 58% !important;
  margin-top: 34px !important;
  overflow: hidden !important;
}

.studio-feature > div {
  padding: 44px !important;
}

.studio-feature h3 {
  font-size: clamp(32px, 2.2vw, 42px) !important;
}

.studio-feature figure {
  height: 100% !important;
  min-height: 0 !important;
}

.studio-feature figure > span {
  display: none !important;
}

.studio-feature figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Testimonials */

.care-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 70px !important;
}

.care-content h2 {
  margin-bottom: 28px !important;
}

.care-slider {
  min-height: 260px !important;
  padding: 38px !important;
}

.care-slider article.is-active {
  min-height: 184px !important;
}

.care-slider p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.care-mosaic {
  min-height: 540px !important;
  height: 540px !important;
}

/* FAQ */

.faq-section {
  min-height: 0 !important;
  gap: 70px !important;
}

.faq-collage {
  min-height: 545px !important;
  height: 545px !important;
}

.faq-content h2 {
  margin-bottom: 22px !important;
}

/* Blog */

.insights-section .split-heading {
  margin-bottom: 52px !important;
}

.insight-grid {
  gap: 30px !important;
}

.insight-grid figure img {
  aspect-ratio: 1.68 / 1 !important;
}

.insight-grid > a > div {
  padding: 20px 14px 14px !important;
}

/* Footer */

.site-footer {
  min-height: 0 !important;
}

.footer-lead {
  padding-bottom: 58px !important;
}

.footer-lead .brand-lockup {
  margin-bottom: 24px !important;
}

.footer-main {
  gap: 42px !important;
  padding: 50px 0 !important;
}

@media (max-width: 1100px) {
  .about-section,
  .why-section,
  .care-section {
    gap: 42px !important;
  }

  .about-collage,
  .why-collage {
    height: 520px !important;
  }

  .expertise-grid {
    grid-template-columns: 0.75fr 1.4fr 0.75fr !important;
  }

  .expertise-grid > * {
    height: 360px !important;
    min-height: 360px !important;
  }

  .transformation-compare {
    min-height: 430px !important;
    height: 430px !important;
  }
}

@media (max-width: 820px) {
  :root {
    --template-space: 72px;
  }

  h2,
  .footer-lead h2,
  .booking-panel h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .surface-section,
  .dark-section,
  .site-footer {
    width: calc(100% - 20px) !important;
  }

  .about-section,
  .why-section,
  .stories-section,
  .transformation-section,
  .care-section,
  .insights-section {
    width: calc(100% - 40px) !important;
  }

  .split-heading {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 40px !important;
  }

  .about-section,
  .why-section,
  .care-section,
  .faq-section {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .about-collage,
  .why-collage {
    height: min(118vw, 570px) !important;
  }

  .about-section .about-content,
  .why-section .why-content {
    order: -1 !important;
  }

  .about-principles {
    grid-template-columns: 1fr !important;
  }

  .services-section > *,
  .special-section > *,
  .studio-section > *,
  .expertise-section > *,
  .site-footer > * {
    width: calc(100% - 40px) !important;
  }

  .treatment-card {
    min-height: 330px !important;
    padding: 28px !important;
  }

  .why-stamp {
    width: 104px !important;
    height: 104px !important;
  }

  .expertise-grid {
    grid-template-columns: 1fr !important;
  }

  .expertise-grid > * {
    width: 100% !important;
    height: auto !important;
    min-height: 330px !important;
  }

  .expertise-image {
    min-height: 420px !important;
  }

  .story-grid {
    grid-template-columns: 1fr !important;
  }

  .story-grid > a {
    min-height: 440px !important;
  }

  .special-section {
    padding-bottom: 220px !important;
  }

  .booking-panel {
    width: calc(100% - 40px) !important;
    min-height: 360px !important;
    grid-template-columns: 1fr !important;
    margin-top: -175px !important;
    padding: 34px !important;
  }

  .booking-panel > div:first-child {
    width: 100% !important;
  }

  .booking-panel > img {
    right: -8% !important;
    width: 62% !important;
    opacity: 0.34 !important;
  }

  .transformation-section {
    padding-top: 120px !important;
  }

  .transformation-grid {
    grid-template-columns: 1fr !important;
  }

  .transformation-compare {
    height: min(118vw, 520px) !important;
    min-height: 360px !important;
  }

  .studio-benefits {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .studio-feature {
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .studio-feature > div {
    padding: 34px !important;
  }

  .studio-feature figure {
    min-height: 320px !important;
  }

  .care-mosaic,
  .faq-collage {
    height: min(120vw, 560px) !important;
    min-height: 420px !important;
  }

  .faq-section {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .faq-content {
    order: -1 !important;
  }

  .insight-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 520px) {
  :root {
    --template-space: 60px;
  }

  .section-pill {
    font-size: 13px !important;
  }

  .about-collage,
  .why-collage {
    height: 440px !important;
  }

  .about-collage__score {
    padding: 18px !important;
  }

  .about-collage__score strong {
    font-size: 36px !important;
  }

  .about-collage__score span {
    font-size: 13px !important;
  }

  .carousel-controls button {
    width: 52px !important;
    height: 52px !important;
  }

  .studio-benefits {
    grid-template-columns: 1fr !important;
  }

  .care-slider {
    padding: 28px !important;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
  }
}

/* Posicionamento final da hero */

@media (min-width: 821px) {
  .hero-shell {
    height: calc(100svh - 30px) !important;
    min-height: 640px !important;
    max-height: 66rem !important;
  }

  .hero-content {
    inset: 0 !important;
    display: block !important;
    pointer-events: none;
  }

  .hero-message {
    position: absolute !important;
    bottom: 10.5rem !important;
    left: var(--page-gutter) !important;
    width: 400px !important;
    max-width: 400px !important;
    gap: 0.85rem !important;
  }

  .hero-message h1 {
    width: 400px !important;
    max-width: 400px !important;
  }

  .hero-message > .hero-description {
    width: 400px;
    max-width: 400px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
  }

  .hero-copy {
    position: absolute !important;
    right: auto !important;
    bottom: 4.75rem !important;
    left: var(--page-gutter) !important;
    display: block !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero-proof {
    top: auto !important;
    bottom: 11.75rem !important;
  }
}

@media (max-width: 820px) {
  .hero-content {
    inset: 0 !important;
    display: block !important;
  }

  .hero-message {
    position: absolute !important;
    right: var(--page-gutter) !important;
    bottom: 9rem !important;
    left: var(--page-gutter) !important;
    width: auto !important;
    max-width: 400px !important;
  }

  .hero-message h1 {
    width: min(400px, 100%) !important;
    max-width: 400px !important;
  }

  .hero-message > .hero-description {
    display: block;
    width: min(400px, 100%);
    max-width: 400px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
  }

  .hero-copy {
    position: absolute !important;
    right: var(--page-gutter) !important;
    bottom: 3.75rem !important;
    left: var(--page-gutter) !important;
    display: block !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .hero-proof {
    top: 7.9rem !important;
    bottom: auto !important;
  }
}

/* Cards fotográficos de tratamentos */

.treatment-card {
  position: relative !important;
  isolation: isolate;
  min-height: 410px !important;
  justify-content: flex-end !important;
  padding: 34px !important;
  overflow: hidden !important;
  color: var(--color-white) !important;
  background: var(--template-dark) !important;
  box-shadow: 0 20px 42px rgba(36, 35, 38, 0.12) !important;
}

.treatment-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 19, 0.2) 0%, rgba(20, 18, 19, 0.12) 32%, rgba(20, 18, 19, 0.84) 100%),
    linear-gradient(90deg, rgba(20, 18, 19, 0.18), transparent 68%);
  content: "";
  transition: background-color 700ms var(--motion-ease, var(--ease));
}

.treatment-card img {
  position: absolute !important;
  z-index: -2;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  transform: scale(1.01);
  filter: saturate(0.92) contrast(1.02);
  transition:
    transform 950ms var(--motion-ease, var(--ease)),
    filter 700ms ease !important;
}

.treatment-card__number {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  display: grid !important;
  width: 48px;
  min-height: 48px !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 50% !important;
  color: var(--color-white) !important;
  background: rgba(36, 35, 38, 0.3);
  font-size: 13px !important;
  backdrop-filter: blur(10px);
}

.treatment-card > i {
  position: absolute !important;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(36, 35, 38, 0.3) !important;
  backdrop-filter: blur(10px);
  transition:
    transform 420ms var(--motion-ease, var(--ease)),
    background-color 420ms ease;
}

.treatment-card > i::before {
  width: 10px !important;
  height: 10px !important;
}

.treatment-card h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 8px !important;
  color: var(--color-white) !important;
  font-size: clamp(22px, 1.65vw, 28px) !important;
  line-height: 1.18;
}

.treatment-card p {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px;
  line-height: 1.55;
}

.treatment-card:hover,
.treatment-card:focus-visible {
  transform: translateY(-6px);
  background: var(--template-dark) !important;
  box-shadow: 0 28px 54px rgba(36, 35, 38, 0.18) !important;
}

.treatment-card:hover img,
.treatment-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.04);
}

.treatment-card:hover > i,
.treatment-card:focus-visible > i {
  transform: rotate(45deg);
  background: var(--template-accent) !important;
}

/* Movimento mais suave e entradas progressivas no scroll */

:root {
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion-duration: 760ms;
  --motion-duration-long: 920ms;
}

[data-reveal],
[data-split-reveal],
.scroll-reveal {
  transform: translate3d(0, 18px, 0);
  opacity: 0;
  filter: blur(1.5px);
  transition:
    opacity var(--motion-duration) ease,
    transform var(--motion-duration-long) var(--motion-ease),
    filter var(--motion-duration-long) ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-split-reveal] {
  transform: translate3d(0, 12px, 0);
}

[data-reveal].is-visible,
[data-split-reveal].is-visible,
.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  filter: blur(0);
}

.treatment-card.is-visible:hover,
.treatment-card.is-visible:focus-visible {
  transform: translateY(-6px);
}

.button-link,
.text-action,
.circle-action,
.carousel-controls button,
.content-accordion article > button,
.treatment-pills a,
.insight-grid > a,
.contact-grid > a,
.mobile-conversion {
  transition-duration: 380ms !important;
  transition-timing-function: var(--motion-ease) !important;
}

.treatment-track {
  transition-duration: 680ms !important;
  transition-timing-function: var(--motion-ease) !important;
}

.about-collage img,
.why-collage img,
.story-grid img,
.care-mosaic img,
.faq-collage img,
.insight-grid img {
  transition-duration: 900ms !important;
  transition-timing-function: var(--motion-ease) !important;
}

.care-slider article {
  transition-duration: 560ms !important;
  transition-timing-function: var(--motion-ease) !important;
}

@media (max-width: 820px) {
  .treatment-card {
    min-height: 370px !important;
    padding: 28px !important;
  }

  .treatment-card__number,
  .treatment-card > i {
    top: 22px;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .treatment-card__number {
    left: 22px;
  }

  .treatment-card > i {
    right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-split-reveal],
  .scroll-reveal {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
  }

  .treatment-card img,
  .about-collage img,
  .why-collage img,
  .story-grid img,
  .care-mosaic img,
  .faq-collage img,
  .insight-grid img {
    transform: none !important;
    transition: none !important;
  }
}

/* Navegação guiada da vitrine de tratamentos */

.treatment-heading-note {
  max-width: 27rem;
  margin: 0 0 0 auto;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.treatment-carousel {
  scroll-margin-top: 7rem;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.treatment-carousel:active {
  cursor: grabbing;
}

.treatment-track {
  width: 100%;
  gap: 1.875rem;
}

.treatment-card {
  width: auto !important;
  min-width: calc((100% - 3.75rem) / 3.18) !important;
  flex: 0 0 calc((100% - 3.75rem) / 3.18) !important;
  user-select: none;
}

.treatment-card img {
  pointer-events: none;
  user-select: none;
}

.treatment-navigation {
  display: grid;
  width: min(calc(100% - 30px), var(--reference-container));
  grid-template-columns: minmax(15rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem auto 0;
}

.treatment-progress {
  display: grid;
  max-width: 28rem;
  gap: 0.7rem;
}

.treatment-progress strong {
  color: var(--color-charcoal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.treatment-progress__track {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: var(--reference-line);
}

.treatment-progress__track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--reference-accent);
  transition: width 520ms var(--motion-ease, var(--ease));
}

.treatment-navigation__actions,
.treatment-controls {
  display: flex;
  align-items: center;
}

.treatment-navigation__actions {
  justify-content: flex-end;
  gap: 0.8rem;
}

.treatment-controls {
  gap: 0.55rem;
}

.treatment-controls button,
.treatment-view-all {
  min-height: 50px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    transform 280ms var(--motion-ease, var(--ease));
}

.treatment-controls button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.2rem;
  border: 1px solid var(--cta-light-background);
  color: var(--cta-light-foreground);
  background: var(--cta-light-background);
}

.treatment-controls button:hover,
.treatment-controls button:focus-visible,
.treatment-view-all:hover,
.treatment-view-all:focus-visible {
  transform: translateY(-2px);
}

.treatment-controls button:hover,
.treatment-controls button:focus-visible {
  border-color: var(--cta-hover-background);
  color: var(--cta-hover-foreground);
  background: var(--cta-hover-background);
}

.treatment-controls button:disabled {
  border-color: rgba(36, 35, 38, 0.08);
  color: var(--cta-disabled-foreground);
  background: var(--cta-disabled-background);
  cursor: default;
  transform: none;
}

.treatment-controls button i {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.treatment-controls button:first-child i {
  transform: rotate(-135deg);
}

.treatment-controls button:last-child i {
  transform: rotate(45deg);
}

.treatment-view-all {
  padding: 0 1.35rem;
  border: 1px solid var(--cta-light-background);
  color: var(--cta-light-foreground);
  background: var(--cta-light-background);
}

.treatment-view-all:hover,
.treatment-view-all:focus-visible,
.treatment-view-all[aria-expanded="true"] {
  border-color: var(--cta-hover-background);
  color: var(--cta-hover-foreground);
  background: var(--cta-hover-background);
}

.treatment-carousel.is-expanded {
  overflow: visible;
  cursor: default;
}

.treatment-carousel.is-expanded .treatment-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: none !important;
  transition: none !important;
}

.treatment-carousel.is-expanded .treatment-card {
  width: auto !important;
  min-width: 0 !important;
  flex: none !important;
}

.treatment-navigation.is-expanded .treatment-controls {
  display: none;
}

@media (max-width: 1024px) and (min-width: 821px) {
  .treatment-card {
    min-width: calc((100% - 1.875rem) / 2.14) !important;
    flex-basis: calc((100% - 1.875rem) / 2.14) !important;
  }

  .treatment-navigation {
    grid-template-columns: minmax(12rem, 1fr) auto;
    gap: 1.25rem;
  }

  .treatment-navigation__actions {
    flex-wrap: wrap;
  }

  .treatment-carousel.is-expanded .treatment-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .treatment-heading-note {
    max-width: 32rem;
    margin-left: 0;
  }

  .treatment-card {
    min-width: calc(100% / 1.12) !important;
    flex-basis: calc(100% / 1.12) !important;
  }

  .treatment-navigation {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.2rem;
  }

  .treatment-progress {
    max-width: none;
  }

  .treatment-navigation__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .treatment-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .treatment-controls button {
    justify-content: center;
  }

  .treatment-view-all {
    width: 100%;
  }

  .treatment-carousel.is-expanded .treatment-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .treatment-carousel.is-expanded .treatment-card {
    min-height: 220px !important;
    padding: 18px !important;
  }

  .treatment-carousel.is-expanded .treatment-card__number,
  .treatment-carousel.is-expanded .treatment-card > i {
    top: 14px;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .treatment-carousel.is-expanded .treatment-card__number {
    left: 14px;
  }

  .treatment-carousel.is-expanded .treatment-card > i {
    right: 14px;
  }

  .treatment-carousel.is-expanded .treatment-card h3 {
    margin-bottom: 0 !important;
    font-size: 18px !important;
  }

  .treatment-carousel.is-expanded .treatment-card p {
    display: none;
  }
}

@media (max-width: 340px) {
  .treatment-carousel.is-expanded .treatment-track {
    grid-template-columns: 1fr;
  }

  .treatment-carousel.is-expanded .treatment-card {
    min-height: 180px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treatment-progress__track span,
  .treatment-controls button,
  .treatment-view-all {
    transition: none !important;
  }
}

/* Avaliação individual */

.expertise-section {
  min-height: 0 !important;
  padding-block: var(--template-space) !important;
}

.expertise-section > header {
  margin-bottom: 42px !important;
}

.expertise-section > header > p:not(.section-pill) {
  max-width: 780px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.expertise-grid {
  grid-template-columns: minmax(220px, 0.76fr) minmax(440px, 1.46fr) minmax(220px, 0.76fr) !important;
  grid-template-rows: 370px;
  gap: 24px 30px !important;
  align-items: stretch;
}

.expertise-grid > * {
  min-height: 0 !important;
  height: auto !important;
}

.expertise-benefit {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--reference-radius);
  color: var(--color-white);
  background: #38373a;
}

.expertise-benefit::before {
  position: absolute;
  top: -56px;
  right: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(200, 171, 135, 0.22);
  border-radius: 50%;
  content: "";
}

.expertise-benefit h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.08;
}

.expertise-benefit p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.62;
}

.expertise-image {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 0 !important;
  background: #eee7de;
  box-shadow: none !important;
  outline: none;
  cursor: default;
}

.expertise-image::after {
  z-index: 1;
  inset: auto 0 0 !important;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(36, 35, 38, 0.9)) !important;
  opacity: 1;
  transition: opacity 520ms var(--motion-ease);
}

.expertise-image img {
  width: 100% !important;
  height: 100% !important;
  padding: 20px 42px 44px;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 440ms ease,
    transform 700ms var(--motion-ease);
}

.expertise-image__caption {
  position: absolute;
  z-index: 2;
  right: 28px !important;
  bottom: 24px !important;
  left: 28px !important;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  opacity: 1;
  transition:
    opacity 360ms ease,
    transform 520ms var(--motion-ease);
}

.expertise-image__reveal {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 58px);
  color: var(--template-dark);
  background: #d9c5ab;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 440ms ease,
    transform 620ms var(--motion-ease);
}

.expertise-image__reveal h3 {
  margin: 0 0 22px;
  color: var(--template-dark);
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1;
}

.expertise-image__reveal p {
  max-width: 36rem;
  margin: 0;
  color: rgba(36, 35, 38, 0.78);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.62;
}

.expertise-image__reveal p + p {
  margin-top: 14px;
}

.expertise-image:hover::after,
.expertise-image:focus::after,
.expertise-image:focus-visible::after {
  opacity: 0;
}

.expertise-image:hover img,
.expertise-image:focus img,
.expertise-image:focus-visible img {
  opacity: 0;
  transform: scale(0.96);
}

.expertise-image:hover .expertise-image__caption,
.expertise-image:focus .expertise-image__caption,
.expertise-image:focus-visible .expertise-image__caption {
  opacity: 0;
  transform: translateY(8px);
}

.expertise-image:hover .expertise-image__reveal,
.expertise-image:focus .expertise-image__reveal,
.expertise-image:focus-visible .expertise-image__reveal {
  opacity: 1;
  transform: translateY(0);
}

.expertise-image:focus-visible {
  outline: 2px solid var(--template-accent);
  outline-offset: 4px;
}

.expertise-center-cta {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.expertise-center-cta p {
  max-width: 21rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.expertise-center-cta .button-link {
  flex: 0 0 auto;
}

.evaluation-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--reference-radius);
  background: rgba(255, 255, 255, 0.1);
}

.evaluation-process article {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  padding: 26px 24px;
  color: var(--color-white);
  background: #302f32;
}

.evaluation-process strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 197, 171, 0.42);
  border-radius: 50%;
  color: #d9c5ab;
  font-size: 13px;
  font-weight: 600;
}

.evaluation-process h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.evaluation-process p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.expertise-center-cta--evaluation {
  width: min(100%, 760px);
  margin: 30px auto 0;
}

@media (max-width: 1100px) {
  .expertise-grid {
    grid-template-columns: minmax(190px, 0.72fr) minmax(380px, 1.4fr) minmax(190px, 0.72fr) !important;
    gap: 22px !important;
  }

  .expertise-benefit {
    padding: 26px;
  }

  .expertise-benefit h3 {
    font-size: 27px;
  }

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

@media (max-width: 820px) {
  .expertise-section {
    padding-block: 72px !important;
  }

  .expertise-section > header {
    margin-bottom: 32px !important;
  }

  .expertise-section > header > p:not(.section-pill) {
    margin-top: 14px;
    font-size: 16px;
  }

  .expertise-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none;
    gap: 16px !important;
  }

  .expertise-benefit {
    min-height: 220px !important;
    padding: 28px;
  }

  .expertise-benefit--listening {
    order: 1;
  }

  .expertise-image {
    order: 2 !important;
    min-height: 310px !important;
  }

  .expertise-benefit--protocol {
    order: 3;
  }

  .expertise-center-cta {
    grid-column: auto;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 8px;
  }

  .expertise-center-cta p {
    max-width: none;
    text-align: center;
  }

  .expertise-center-cta .button-link {
    width: 100%;
    justify-content: space-between;
  }

  .evaluation-process {
    grid-template-columns: 1fr;
    gap: 1px;
    margin-top: 16px;
  }

  .evaluation-process article {
    padding: 22px 20px;
  }

  .expertise-center-cta--evaluation {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  .expertise-benefit {
    min-height: 205px !important;
  }

  .expertise-image {
    min-height: 280px !important;
  }

  .expertise-image img {
    padding: 20px 18px 48px;
  }

  .expertise-image__caption {
    right: 18px !important;
    left: 18px !important;
    font-size: 13px;
  }

  .expertise-image__reveal {
    padding: 28px;
  }

  .expertise-image__reveal h3 {
    margin-bottom: 16px;
    font-size: 34px;
  }

  .expertise-image__reveal p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Mouseover fotográfico reproduzido do template Dermix */

.image-anime {
  position: relative;
  overflow: hidden;
}

.image-anime::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 200%;
  height: 0%;
  background-color: rgba(255, 255, 255, 0.3);
  content: "";
  transform: translate(-50%, -50%) rotate(-45deg);
}

.image-anime:hover::after {
  height: 250%;
  background-color: transparent;
  transition: all 600ms linear;
}

.about-collage:hover .about-collage__portrait img,
.about-collage:hover .about-collage__clinic img {
  transform: none;
}

.story-grid img,
.insight-grid img {
  transition: all 0.6s ease-in-out !important;
}

.story-grid a:hover img,
.story-grid a:focus-visible img,
.insight-grid > a:hover img,
.insight-grid > a:focus-visible img {
  transform: scale(1.06);
}

.studio-feature figure img {
  transition: all 0.8s ease-in-out !important;
}

.studio-feature:hover figure img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .image-anime::after {
    display: none;
  }

  .story-grid img,
  .insight-grid img,
  .studio-feature figure img {
    transform: none !important;
    transition: none !important;
  }
}

/* Colagem da seção de diferenciais alinhada ao template */

.why-collage {
  display: grid !important;
  width: 100% !important;
  height: 600px !important;
  min-height: 0 !important;
  grid-template-columns: calc(58% - 10px) calc(42% - 10px) !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 20px !important;
}

.why-collage figure {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
}

.why-collage__main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 140px 0 0 140px !important;
}

.why-collage__detail {
  grid-column: 2;
  grid-row: 1;
  border-radius: 0 140px 0 0 !important;
}

.why-collage__device {
  grid-column: 2;
  grid-row: 2;
  border-radius: 0 0 140px 0 !important;
  background: transparent !important;
}

.why-collage img,
.why-collage__device img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
}

.why-collage__main img {
  object-position: center 12% !important;
}

.why-stamp {
  top: 50% !important;
  left: 58% !important;
  width: 130px !important;
  height: 130px !important;
  padding: 19px !important;
  border: 6px solid var(--reference-bg) !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 1100px) {
  .why-collage {
    height: 528px !important;
  }

  .why-collage__main {
    border-radius: 120px 0 0 120px !important;
  }

  .why-collage__detail {
    border-radius: 0 120px 0 0 !important;
  }

  .why-collage__device {
    border-radius: 0 0 120px 0 !important;
  }
}

@media (max-width: 820px) {
  .why-collage {
    height: 512px !important;
  }

  .why-stamp {
    width: 108px !important;
    height: 108px !important;
    padding: 14px !important;
    border-width: 4px !important;
  }
}

@media (max-width: 480px) {
  .why-collage {
    height: 448px !important;
    grid-template-columns: calc(58% - 6px) calc(42% - 6px) !important;
    gap: 12px !important;
  }

  .why-collage__main {
    border-radius: 92px 0 0 92px !important;
  }

  .why-collage__detail {
    border-radius: 0 92px 0 0 !important;
  }

  .why-collage__device {
    border-radius: 0 0 92px 0 !important;
  }

  .why-stamp {
    width: 92px !important;
    height: 92px !important;
    padding: 12px !important;
    font-size: 12px !important;
  }
}

/* Clube Dayrell na home, cards editoriais com fundos sólidos */

.story-grid--club > a {
  display: flex;
  min-height: clamp(17rem, 22vw, 21rem) !important;
  align-items: flex-end;
  padding: clamp(1.7rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(66, 65, 67, 0.1);
  background: #eee6dc;
  transition: transform 420ms var(--motion-ease), background-color 420ms ease;
}

.story-grid--club > a:nth-child(2) {
  background: #dcc8ae;
}

.story-grid--club > a:nth-child(3) {
  border-color: rgba(255, 255, 255, 0.08);
  background: #242326;
}

.story-grid--club > a::after {
  display: none;
}

.story-grid--club > a > div {
  position: relative;
  inset: auto;
  width: 100%;
  color: var(--template-dark);
}

.story-grid--club > a:nth-child(3) > div,
.story-grid--club > a:nth-child(3) h3 {
  color: var(--color-white);
}

.story-grid--club a span {
  margin-bottom: 0.85rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.story-grid--club a h3 {
  max-width: 14ch;
  color: var(--template-dark);
  font-size: clamp(28px, 2.2vw, 38px);
}

.story-grid--club a i {
  color: var(--color-white);
  background: var(--template-dark);
}

.story-grid--club > a:nth-child(3) i {
  color: var(--template-dark);
  background: #d9c5ab;
}

.story-grid--club > a:hover,
.story-grid--club > a:focus-visible {
  transform: translateY(-6px);
}

@media (max-width: 820px) {
  .story-grid--club > a {
    min-height: 16rem !important;
  }
}
