@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/dmsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/dmsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #4a392b;
  --muted: #5c4b3d;
  --gold: #986b34;
  --gold-light: #d7b783;
  --cream: #f8f4ee;
  --deep: #453121;
  --gutter: 16px;
  --gap: 16px;
  --overlap: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #795020; outline-offset: 4px; }
::selection { background: #e3cea9; color: #453121; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }
.svg-defs, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 14px 18px; background: var(--deep); color: #fff; }
.skip-link:focus { top: 16px; }

.hero { position: relative; overflow: hidden; background: #f5f1ea; isolation: isolate; }
.hero-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(248, 244, 238, .18) 0%, rgba(248, 244, 238, .45) 38%, #f8f4ee 76%), url("assets/hero-clinica-dourada.webp"); /* taste-skill-ignore: scrim over an image for legibility */
  background-size: cover;
  background-position: 70% top;
}
.hero-frame { position: relative; display: flex; flex-direction: column; }
.hero-visual { position: relative; display: flex; align-items: end; justify-content: center; height: clamp(370px, 108vw, 560px); }
.hero-emblem { position: absolute; right: -28%; bottom: -3%; width: min(122%, 620px); height: auto; fill: #b08b54; opacity: .65; }
.hero-picture { position: relative; z-index: 1; display: block; width: auto; height: 100%; max-width: 100%; }
.hero-person { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: center bottom; mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); } /* taste-skill-ignore: fade blends the portrait into the hero */
.hero-content { position: relative; z-index: 2; max-width: 535px; padding: 12px 4px 98px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #866031; }
.brand-symbol { width: 35px; height: 40px; fill: currentColor; }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font-size: 40px; font-weight: 500; line-height: .9; letter-spacing: -.04em; }
.brand-subtitle { padding-left: 2px; margin-top: 7px; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 525px; margin: 30px 0 0; font-size: 36px; font-weight: 600; text-transform: uppercase; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 span { color: #8b5c26; background: linear-gradient(135deg, #775021, #ac793a 58%, #80531f); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } /* taste-skill-ignore: gradient emphasis requested */
.hero-description strong { color: #59402a; font-weight: 700; }
.hero-description { max-width: 460px; margin: 20px 0 25px; color: var(--muted); font-size: 18px; line-height: 1.3; text-wrap: pretty; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; min-height: 72px; padding: 16px 24px 16px 16px; border-radius: 8px; background: linear-gradient(135deg, #76501e, #9a6b2f 55%, #704817); color: #fff; transition: filter .25s ease, transform .25s ease; } /* taste-skill-ignore: gradient requested for CTA */
.hero-link-icon {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: rgba(255, 255, 255, .14);
  transition: filter .25s ease;
}
.hero-link-icon svg { width: 20px; height: 23px; fill: currentColor; }
.hero-link-label { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: .035em; }
.hero-link:hover { filter: brightness(.9); transform: translateY(-2px); }
.hero-link:active { transform: translateY(0); }

@media (max-width: 359px) {
  .hero-link { gap: 8px; padding: 12px 16px 12px 12px; }
  .card-body h3 { font-size: 16px; }
}

.links-section { position: relative; display: flow-root; scroll-margin-top: var(--overlap); background: var(--deep); color: #f5ede4; }
.link-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: calc(-1 * var(--overlap)); align-items: stretch; }
.link-card { position: relative; min-width: 0; overflow: hidden; border-radius: 8px; isolation: isolate; color: var(--ink); transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.link-card::before { content: ""; position: absolute; z-index: 2; top: -40%; left: -55%; width: 42%; height: 180%; background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.05) 38%, rgba(255,255,255,.45) 50%, rgba(246,225,190,.2) 58%, transparent 76%); filter: blur(8px); opacity: 0; pointer-events: none; transform: translateX(-220%) rotate(22deg); transition: opacity .18s ease, transform .85s cubic-bezier(.16,.7,.24,1); } /* taste-skill-ignore: requested diagonal light sweep for card hover */
.link-card::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.34); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .35s ease; } /* taste-skill-ignore: subtle hover outline finishes the interactive card */
.link-card:has(.card-hit:focus-visible) { outline: 3px solid #dcbf8a; outline-offset: 4px; }
.card-hit { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.card-hit:focus-visible { outline: 3px solid #795020; outline-offset: -4px; }
.photo-card { grid-column: span 2; background: #e6d6c0; }
.photo-card > img { display: block; width: 100%; height: auto; }
.photo-card-copy { position: absolute; z-index: 1; top: 50%; left: clamp(18px, 4.5%, 34px); width: 45%; transform: translateY(-50%); }
.photo-card h3, .small-card h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.photo-card h3 { font-size: 20px; line-height: 1.1; text-wrap: balance; }
.card-body h3 { font-size: 18px; }
.card-booking .photo-card-copy { width: 54%; }
.card-body .photo-card-copy { width: clamp(54%, 200px, 66%); }
.photo-card p { max-width: 170px; margin: 11px 0 0; color: #5a4838; font-size: 13px; line-height: 1.4; text-wrap: pretty; }
.card-action { display: block; width: fit-content; margin-top: 14px; color: #70502c; font-size: 13px; font-weight: 700; letter-spacing: .025em; text-wrap: pretty; }
.small-card { display: flex; flex-direction: column; background: #e8ddd0; }
.small-card-content { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; padding: 22px; }
.small-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right center; opacity: .54; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent, #000 55%); } /* taste-skill-ignore: blend the photo edge into the card */
.small-card p { margin: 0 0 4px; font-size: 13px; line-height: 1.35; text-wrap: pretty; }
.small-card h3 { font-size: 20px; line-height: 1.12; overflow-wrap: anywhere; }
.card-icon { display: grid; width: 38px; height: 38px; margin-bottom: 23px; place-items: center; border-radius: 6px; background: #9c784a; color: #fffaf1; }
.card-icon svg { width: 23px; height: 23px; }
.card-instagram, .card-whatsapp { grid-column: span 2; min-height: 150px; }
.card-instagram { background: #e9dfd2; }
.card-instagram .small-background { opacity: .34; }
.card-whatsapp { background: #e4d6c3; }
.card-location { background: #725238; color: #fff8ee; }
.card-location p { color: #fff8ee; }
.card-location .small-background { opacity: .18; mix-blend-mode: screen; }
.card-location .card-icon { background: #c5a579; color: #fffaf1; }
.card-clinic { color: #fffaf1; background: #8a6e50; }
.card-clinic > img { display: block; width: 100%; height: auto; }
.card-clinic .small-card-content { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(49, 35, 25, .82), rgba(49, 35, 25, 0) 72%); } /* taste-skill-ignore: scrim over an image for legibility */
.link-card h3 { transition: color .25s ease; }

@media (hover: hover) and (pointer: fine) {
  .link-card:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 18px rgba(219, 190, 148, .2)); } /* taste-skill-ignore: requested soft hover halo, absent at rest */
  .link-card:hover::before { opacity: 1; transform: translateX(480%) rotate(22deg); }
  .link-card:hover::after { opacity: 1; }
  .link-card:hover h3 { color: #9b703c; }
  .card-location:hover h3, .card-clinic:hover h3 { color: #efd7ac; }
}

.footer { background: var(--deep); color: #eee3d6; }
.footer-inner { display: flex; flex-direction: column; gap: 15px; padding-block: 70px 30px; font-size: 13px; line-height: 1.5; }
.footer p { margin: 0; }
.credit { display: flex; align-items: center; gap: 8px; }
.credit img { display: block; width: 86px; height: auto; }

@media (min-width: 600px) {
  :root { --gutter: 24px; --gap: 24px; --overlap: 48px; }
  .hero-visual { height: clamp(470px, 75vw, 600px); }
  .hero-content { padding: 16px 12px 110px; }
  .brand-name { font-size: 44px; }
  .brand-symbol { width: 40px; height: 45px; }
  .hero h1 { max-width: 550px; margin-top: 38px; font-size: 48px; }
  .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-instagram, .card-whatsapp { min-height: 0; }
  .photo-card h3 { font-size: 24px; }
  .photo-card p { font-size: 13px; }
  .small-card h3 { font-size: 24px; }
  .small-card-content { padding: 23px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-block: 90px 34px; }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .card-booking .photo-card-copy, .card-body .photo-card-copy { width: 62%; }
  .photo-card h3 { font-size: clamp(20px, 2.85vw, 24px); }
}

@media (min-width: 600px) and (max-width: 699px) {
  .photo-card, .card-instagram, .card-whatsapp { grid-column: span 4; }
  .card-clinic, .card-location { grid-column: span 2; }
  .card-instagram, .card-whatsapp { min-height: 150px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; --gap: 32px; --overlap: 64px; }
  .hero-scene { background-image: linear-gradient(90deg, rgba(248, 244, 238, .97) 0%, rgba(248, 244, 238, .92) 38%, rgba(248, 244, 238, .42) 75%, rgba(248, 244, 238, .28) 100%), url("assets/hero-clinica-dourada.webp"); } /* taste-skill-ignore: scrim over an image for legibility */
  .hero-frame { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); align-items: end; }
  .hero-visual { grid-area: 1 / 2; height: clamp(600px, 52vw, 750px); }
  .hero-emblem { width: min(125%, 850px); right: -35%; bottom: -8%; opacity: .72; }
  .hero-content { grid-area: 1 / 1; align-self: center; padding: 80px 0 145px; }
  .hero h1 { margin-top: clamp(38px, 4.2vw, 60px); font-size: 64px; }
  .card-face h3 span, .card-body h3 span { display: block; }
  .hero-description { margin-top: 24px; margin-bottom: 30px; }
  .link-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .card-instagram, .card-whatsapp { grid-column: span 1; }
  .small-card-content { padding: clamp(20px, 2vw, 28px); }
  .small-card h3 { font-size: 24px; }
  .photo-card h3 { font-size: 28px; }
  .photo-card p { font-size: 13px; }
  .footer-inner { padding-block: 105px 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 1023px) {
  .hero-visual { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
  .hero-picture { width: auto; height: 100%; }
  .hero-person { width: auto; height: 100%; max-width: 100%; object-fit: contain; mask-image: none; }
  .hero-content { margin: -18px calc(-1 * var(--gutter)) 0; padding: 32px calc(var(--gutter) + 4px) 98px; background: #f8f4ee; }
}

