:root {
  --ink: #15120f;
  --soft-ink: #4d443b;
  --cream: #f5f2eb;
  --paper: #fffdf8;
  --taupe: #b29e8b;
  --brown: #665748;
  --deep-brown: #3c332b;
  --green: #2f6f62;
  --line: rgba(255, 255, 255, 0.78);
  --shadow: 0 22px 52px rgba(24, 18, 12, 0.22);
  --portrait-mask:
    linear-gradient(180deg, #000 0 64%, rgba(0, 0, 0, 0.72) 76%, rgba(0, 0, 0, 0.24) 90%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 8%, #000 92%, rgba(0, 0, 0, 0) 100%);
  --rafael-mask:
    linear-gradient(180deg, #000 0 60%, rgba(0, 0, 0, 0.66) 74%, rgba(0, 0, 0, 0.2) 88%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 16%, #000 84%, rgba(0, 0, 0, 0) 100%);
  font-family: "Canva Sans", Arial, Helvetica, sans-serif;
}

@font-face {
  font-display: swap;
  font-family: "Canva Sans";
  font-style: normal;
  font-weight: 400 900;
  src: url("assets/fonts/canva-sans-basic.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A2-00A9, U+00AC-00AE, U+00B0, U+00B4-00B7, U+00D7, U+00F7, U+0300-0304, U+0306-0308, U+030A-030C, U+0312, U+0326-0328, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2117, U+2120, U+2122;
}

@font-face {
  font-display: swap;
  font-family: "Canva Sans";
  font-style: normal;
  font-weight: 400 900;
  src: url("assets/fonts/canva-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+00A1, U+00AA-00AB, U+00AF, U+00B8, U+00BA-00BB, U+00BF, U+00C0-00D6, U+00D8-00F6, U+00F8-0148, U+014A-017E, U+0192, U+01B5-01B6, U+01FC-01FD, U+0218-021B, U+0237, U+02C6-02C7, U+02C9, U+02D8-02DD, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+2030, U+2039-203A, U+20AC;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Canva Sans", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 32px;
  width: 100%;
}

.site-header {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  height: 80px;
  left: 50%;
  max-width: none;
  padding: 0 clamp(28px, 4vw, 44px);
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  transition:
    width 500ms ease,
    max-width 500ms ease,
    top 500ms ease,
    height 500ms ease,
    padding 500ms ease,
    background-color 500ms ease,
    border-color 500ms ease,
    border-radius 500ms ease,
    box-shadow 500ms ease,
    color 500ms ease;
  width: 100%;
  z-index: 50;
}

.site-header.is-scrolled {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.88);
  border-color: rgba(102, 87, 72, 0.15);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(24, 18, 12, 0.14);
  color: var(--soft-ink);
  grid-template-columns: 180px 1fr auto;
  height: 58px;
  max-width: 1200px;
  padding: 0 32px;
  top: 16px;
  width: calc(100% - 32px);
}

.brand {
  align-items: center;
  display: flex;
  height: 64px;
  overflow: hidden;
  position: relative;
  transition: height 500ms ease, width 500ms ease;
  width: 178px;
}

.site-header.is-scrolled .brand {
  height: 44px;
  width: 140px;
}

.brand-logo {
  height: auto;
  left: 0;
  max-width: 100%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 300ms ease;
  width: 178px;
}

.site-header.is-scrolled .brand-logo {
  width: 140px;
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  justify-content: center;
}

.desktop-nav a,
.header-action {
  font-size: 0.91rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.desktop-nav a:hover,
.header-action:hover {
  color: #fff7df;
  transform: translateY(-1px);
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
}

.site-header.is-scrolled .header-action {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  padding: 0.62rem 1.14rem;
}

.site-header.is-scrolled .desktop-nav a:hover {
  color: var(--green);
}

.hero {
  align-items: center;
  background: var(--deep-brown);
  color: white;
  display: grid;
  min-height: 680px;
  overflow: hidden;
  padding-top: 80px;
  position: relative;
}

.hero-video,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-video {
  height: 100%;
  object-fit: cover;
  opacity: 1;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(rgba(39, 32, 25, 0.08), rgba(39, 32, 25, 0.2)),
    radial-gradient(circle at 55% 48%, rgba(245, 242, 235, 0.08), rgba(0, 0, 0, 0.03) 46%, rgba(0, 0, 0, 0.14));
}

.hero-content {
  justify-self: center;
  padding: 36px 24px 76px;
  position: relative;
  text-align: center;
  width: min(760px, calc(100% - 40px));
  z-index: 1;
}

.hero-line {
  background: var(--line);
  height: 4px;
  margin: 0 auto;
  width: min(450px, 74vw);
}

.welcome {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-style: italic;
  line-height: 1;
  margin: 38px 0 26px;
  text-transform: uppercase;
}

.hero h1 {
  align-items: center;
  display: flex;
  height: auto;
  justify-content: center;
  margin: 36px auto 54px;
  overflow: visible;
  width: min(760px, 88vw);
}

.hero h1 img {
  height: auto;
  max-width: 100%;
  transform: none;
  width: 100%;
}

.booking-ribbon {
  align-items: center;
  background:
    linear-gradient(rgba(45, 38, 31, 0.78), rgba(45, 38, 31, 0.78)),
    url("assets/images/cta-bg.png") center / cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  min-height: 130px;
  padding: 30px max(32px, calc((100vw - 1120px) / 2));
}

.booking-ribbon p {
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 56px;
  min-width: 190px;
  padding: 1rem 1.35rem;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.button-light {
  background: #c3ae9b;
  color: #fff;
}

.button-dark {
  background: var(--brown);
  color: #fff;
}

.clinical-team {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
    url("assets/images/section-bg.png") center top / cover fixed;
  padding: clamp(58px, 8vw, 104px) 0;
}

.clinical-team h2,
.location h2,
.schedules h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 44px;
}

.profile {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 74px);
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  margin: 0 0 clamp(64px, 9vw, 116px);
}

.profile-right {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}

.portrait {
  align-items: flex-start;
  aspect-ratio: 4 / 4.35;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-height: 610px;
  overflow: hidden;
  position: relative;
  width: min(520px, 100%);
}

.portrait::before {
  background: rgba(178, 158, 139, 0.34);
  bottom: 0;
  content: "";
  filter: blur(24px);
  height: 28%;
  left: 9%;
  position: absolute;
  right: 9%;
  display: none;
  z-index: 0;
}

.portrait::after,
.schedule-photo::after {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, 0.72) 48%, rgba(255, 253, 248, 1) 82%);
  bottom: -3%;
  content: "";
  filter: blur(9px);
  height: 43%;
  left: -8%;
  pointer-events: none;
  position: absolute;
  right: -8%;
  display: block;
  z-index: 2;
}

.portrait img {
  filter: drop-shadow(0 26px 26px rgba(102, 87, 72, 0.22));
  height: 118%;
  -webkit-mask-composite: source-in;
  -webkit-mask-image: var(--portrait-mask);
  mask-composite: intersect;
  mask-image: var(--portrait-mask);
  max-width: none;
  object-fit: contain;
  object-position: center top;
  position: relative;
  transform: translateY(0) scale(0.9);
  transform-origin: top center;
  width: 116%;
  z-index: 1;
}

.profile-marcos .portrait img {
  transform: translateY(0) scale(1.02);
}

.profile-gabriel .portrait img {
  transform: translateY(0) scale(0.92);
}

.profile-eduardo .portrait img {
  transform: translateY(0) scale(1.92);
}

.profile-amilton .portrait img {
  transform: translateY(0) scale(0.82);
}

.profile-luiza .portrait img,
.profile-paulo .portrait img {
  transform: translateY(0) scale(0.92);
}

.profile-rafael .portrait img {
  -webkit-mask-image: var(--rafael-mask);
  mask-image: var(--rafael-mask);
  transform: translateY(0) scale(0.88);
}

.profile-copy h3 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
  margin: 0;
}

.registry {
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 800;
  margin-top: 0;
}

.profile-copy p {
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  line-height: 1.62;
  margin: 0.9rem 0 0;
  hyphens: none;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.about {
    background:
        linear-gradient(90deg, rgba(60, 51, 43, 0.92), rgba(102, 87, 72, 0.8)),
        url("assets/images/clinic-texture.png") center / cover;
    color: #fff;
    padding: clamp(38px, 4vw, 50px) 0;
}

.about-inner {
    max-width: 960px;
}

.about h2 {
    color: #fff7df;
    font-size: clamp(2.4rem, 4.4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 clamp(24px, 3vw, 32px);
    text-align: center;
}

.about-grid {
    align-items: start;
    display: grid;
    gap: clamp(30px, 4.5vw, 54px);
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.82fr);
}

.about-copy {
    max-width: 550px;
}

.about-video {
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  display: block;
  height: min(400px, 52vw);
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.about-copy p {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 1.35rem;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.location {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    url("assets/images/logo-symbol-cream.png") 55% center / min(760px, 88vw) no-repeat;
  padding: clamp(70px, 9vw, 110px) 0;
}

.location-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 70px);
  grid-template-columns: 0.78fr 1.22fr;
}

.location-copy p {
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 700;
  margin: -24px 0 28px;
}

.map-frame {
  aspect-ratio: 4 / 3;
  background: #efe9df;
  border: 1px solid rgba(102, 87, 72, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.schedules {
  background:
    linear-gradient(rgba(75, 64, 53, 0.91), rgba(75, 64, 53, 0.91)),
    url("assets/images/clinic-texture.png") center / cover;
  color: #f7f3e7;
  padding: clamp(70px, 9vw, 116px) 0;
}

.schedules h2 {
  color: #fff7df;
  margin-bottom: 6px;
}

.schedule-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 54px;
}

.schedule-grid {
  display: grid;
  gap: 48px clamp(44px, 7vw, 92px);
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.schedule-card {
  color: #f7f3e7;
  display: grid;
  justify-items: center;
  min-height: 520px;
  text-align: center;
  transition: transform 180ms ease;
}

.schedule-card:hover {
  transform: translateY(-4px);
}

.schedule-photo {
  align-items: flex-start;
  aspect-ratio: 4 / 4.25;
  background: transparent;
  display: flex;
  justify-content: center;
  height: 430px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  width: min(390px, 100%);
}

.schedule-photo::before {
  background: rgba(239, 232, 207, 0.22);
  bottom: 0;
  content: "";
  filter: blur(25px);
  height: 28%;
  left: 8%;
  position: absolute;
  display: none;
  right: 8%;
}

.schedule-photo::after {
  background: linear-gradient(180deg, rgba(75, 64, 53, 0), rgba(75, 64, 53, 0.72) 48%, rgba(75, 64, 53, 1) 82%);
}

.profile-rafael .portrait::before,
.schedule-rafael .schedule-photo::before {
  bottom: -6%;
  content: "";
  display: block;
  filter: blur(10px);
  height: 42%;
  left: -8%;
  pointer-events: none;
  position: absolute;
  width: 52%;
  z-index: 3;
}

.profile-rafael .portrait::before {
  background:
    radial-gradient(ellipse at 8% 82%, rgba(255, 253, 248, 1) 0 34%, rgba(255, 253, 248, 0.78) 48%, rgba(255, 253, 248, 0) 72%),
    linear-gradient(90deg, rgba(255, 253, 248, 1), rgba(255, 253, 248, 0));
}

.schedule-rafael .schedule-photo::before {
  background:
    radial-gradient(ellipse at 8% 82%, rgba(75, 64, 53, 1) 0 34%, rgba(75, 64, 53, 0.78) 48%, rgba(75, 64, 53, 0) 72%),
    linear-gradient(90deg, rgba(75, 64, 53, 1), rgba(75, 64, 53, 0));
}

.schedule-card img {
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.24));
  height: 118%;
  -webkit-mask-composite: source-in;
  -webkit-mask-image: var(--portrait-mask);
  mask-composite: intersect;
  mask-image: var(--portrait-mask);
  max-width: none;
  object-fit: contain;
  object-position: center top;
  position: relative;
  transform: translateY(0) scale(0.9);
  transform-origin: top center;
  width: 116%;
  z-index: 1;
}

.schedule-marcos img {
  transform: translateY(0) scale(1.02);
}

.schedule-gabriel img {
  transform: translateY(0) scale(0.78);
}

.schedule-eduardo img {
  transform: translateY(0) scale(1.92);
}

.schedule-amilton img {
  transform: translateY(0) scale(0.82);
}

.schedule-luiza img,
.schedule-paulo img {
  transform: translateY(0) scale(0.92);
}

.schedule-rafael img {
  -webkit-mask-image: var(--rafael-mask);
  mask-image: var(--rafael-mask);
  transform: translateY(0) scale(0.88);
}

.schedule-card strong {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.08;
}

.schedule-card span {
  display: block;
  font-size: clamp(0.9rem, 1.5vw, 1.08rem);
  font-weight: 800;
}

.schedule-card.single {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 480px;
  width: 100%;
}

.site-footer {
  background: #f7f7f7;
  color: #15120f;
  padding: 28px 0 18px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: clamp(42px, 11vw, 128px);
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, 0.9fr);
  max-width: 900px;
}

.footer-info {
  display: grid;
  font-style: normal;
  gap: 12px;
}

.footer-row {
  align-items: start;
  display: grid;
  font-size: clamp(0.9rem, 1.35vw, 0.98rem);
  font-weight: 900;
  gap: 8px;
  grid-template-columns: 22px minmax(0, 1fr);
  line-height: 1.28;
  margin: 0;
  max-width: 470px;
}

.footer-icon {
  align-self: start;
  height: 20px;
  margin-top: 1px;
  object-fit: contain;
  width: 20px;
}

.footer-link-icon {
  height: 18px;
  margin-left: 1px;
  margin-top: 2px;
  width: 18px;
}

.footer-contact {
  align-items: center;
  display: grid;
  gap: 42px;
  justify-items: start;
  padding-top: 10px;
}

.contact-link {
  align-items: center;
  display: inline-flex;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  gap: 16px;
  font-weight: 900;
  line-height: 1;
}

.contact-link img {
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.copyright {
  display: none;
}

.copyright p {
  margin: 0.15rem 0;
}

.legal-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.92)),
    url("assets/images/section-bg.png") center top / cover;
  min-height: 70vh;
  padding: 150px 24px 70px;
}

.legal-content {
  margin: 0 auto;
  max-width: 980px;
}

.legal-content h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 28px;
}

.legal-content h2 {
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  margin: 36px 0 10px;
}

.legal-content p {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.65;
  margin: 0 0 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }

  .hero-video {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    height: 76px;
    padding: 0 20px;
  }

  .site-header.is-scrolled {
    grid-template-columns: auto 1fr;
    height: 58px;
    padding: 0 18px;
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    height: 52px;
    width: 150px;
  }

  .site-header.is-scrolled .brand {
    height: 42px;
    width: 124px;
  }

  .brand-logo {
    width: 150px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 124px;
  }

  .desktop-nav {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .hero {
    min-height: 620px;
    padding-top: 86px;
  }

  .booking-ribbon,
  .profile,
  .profile-right,
  .about-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .booking-ribbon {
    justify-items: center;
  }

  .about h2 {
    text-align: left;
  }

  .about-copy {
    max-width: none;
  }

  .about-video {
    height: auto;
    max-height: 420px;
    max-width: 330px;
    justify-self: center;
  }

  .profile-right .profile-copy {
    order: 2;
  }

  .profile-right .portrait {
    order: 1;
  }

  .profile-copy p {
    text-align: justify;
    text-align-last: left;
  }

  .location-copy p {
    margin-top: -22px;
  }
}

@media (max-width: 680px) {
  .section-inner {
    padding: 0 22px;
  }

  .header-action {
    min-width: 110px;
    padding: 0.62rem 0.8rem;
    text-align: center;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
  }

  .welcome {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
    margin-left: auto;
    margin-right: auto;
    max-width: 303px;
  }

  .hero h1 {
    margin: 34px auto 56px;
    width: 100%;
  }

  .hero h1 img {
    transform: none;
  }

  .booking-ribbon {
    padding: 28px 22px;
  }

  .button {
    min-width: 170px;
  }

  .clinical-team h2,
  .location h2,
  .schedules h2 {
    margin-bottom: 32px;
  }

  .portrait {
    max-height: 500px;
    width: min(390px, 92vw);
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    min-height: auto;
  }

  .schedule-photo {
    height: 380px;
    width: min(340px, 100%);
  }

  .schedule-card.single {
    grid-column: auto;
  }

  .footer-contact {
    justify-items: start;
  }

  .contact-link img {
    height: 34px;
    width: 34px;
  }
}
