/* Layout: "o espelho". Fotos em molduras em arco com uma segunda linha deslocada, como o símbolo da marca
   (moldura de espelho formada pelo perfil). Off-white de base, faixas em sálvia, títulos em Migrand.
   Paleta e tipografia seguem o Manual de Identidade Visual (Sigma Health, 2024). */
@font-face {
  font-family: "Migrand";
  src: url("assets/migrand.woff") format("woff");
  font-display: swap;
}
:root {
  --bg: #f4f0e7;        /* off-white da marca */
  --surface: #ebe6db;
  --linen: #ddd9ce;
  --fg: #2f332b;
  --muted: #646a5c;
  --line: #d4cfc2;
  --sage: #7e8772;      /* verde da marca */
  --sage-ink: #5d6553;
  --taupe: #9b907e;
  --nude: #ccb29f;
  --star: #b38f73;
  --deep: #5b6250;
  --blush: #f1e6dc;     /* nude claro, derivado de #ccb29f */
  --on-deep: #f4f0e7;
  --display: "Migrand", "Cormorant Garamond", Georgia, serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --arch: 999px 999px 6px 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1f1a; --surface: #25281f; --linen: #30342a; --fg: #ece7dc; --muted: #aeb2a4;
    --line: #3a3f33; --sage: #a2ac94; --sage-ink: #b9c2aa; --taupe: #b3a892; --nude: #c9ad98;
    --star: #d2b39a; --deep: #3a4033; --on-deep: #f1ece2; --blush: #2c2722;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1f1a; --surface: #25281f; --linen: #30342a; --fg: #ece7dc; --muted: #aeb2a4;
  --line: #3a3f33; --sage: #a2ac94; --sage-ink: #b9c2aa; --taupe: #b3a892; --nude: #c9ad98;
  --star: #d2b39a; --deep: #3a4033; --on-deep: #f1ece2; --blush: #2c2722;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 300; font-size: 16.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
img { max-width: 100%; }
svg { width: 1.15em; height: 1.15em; flex: none; }

.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.55rem; }
.label {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage-ink); font-weight: 400; margin: 0 0 14px;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; margin: 0; }
.sec-lead { color: var(--muted); max-width: 52ch; margin: 14px 0 0; }
.sel { user-select: all; white-space: nowrap; }

/* logo via máscara: herda a cor do texto e funciona nos dois temas */
.logo { display: inline-block; background: currentColor; -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain; }
.logo-h { --m: url("assets/logo-h.svg"); width: 172px; aspect-ratio: 716 / 338; }
.logo-v { --m: url("assets/logo-v.svg"); width: 150px; aspect-ratio: 567 / 513; }
.logo-sym { --m: url("assets/simbolo.svg"); aspect-ratio: 279 / 456; width: 14px; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 28px; padding-block: 10px; }
.brand { display: flex; color: var(--fg); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: .86rem; font-weight: 400; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); border-color: var(--sage); }
@media (max-width: 960px) {
  .top-in { flex-wrap: wrap; gap: 4px 16px; }
  .logo-h { width: 140px; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 20px; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .top .btn-sm { margin-left: auto; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--nude); color: #2f332b; border: 1px solid var(--nude);
  padding: 14px 26px; border-radius: 999px; font-weight: 400; font-size: .92rem; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--fg); border-color: var(--sage); }
.btn-light { }
.hero-act { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.gbadge {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .86rem; color: var(--muted);
  padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  transition: border-color .2s;
}
.gbadge strong { color: var(--fg); font-weight: 500; }
.gbadge:hover { border-color: var(--sage); }

/* arch frames: the mirror */
.arch { position: relative; margin: 0; isolation: isolate; max-width: 100%; }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); background: var(--linen); }
.arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--arch);
  border: 1px solid var(--sage); transform: translate(-14px, 12px); opacity: .7;
}
.arch-hero { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; justify-self: end; }
.arch-hero img { object-position: 62% 30%; }
.arch-hero figcaption {
  position: absolute; left: -10px; bottom: 28px; background: var(--bg); padding: 12px 18px;
  font-family: var(--display); font-size: 1.15rem; line-height: 1.25; border: 1px solid var(--line); border-radius: 4px;
}
.arch-hero figcaption span { font-family: var(--body); font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.arch-sm { aspect-ratio: 4 / 5; width: 100%; max-width: 340px; }
.arch-mark { background: var(--linen); border-radius: var(--arch); display: flex; align-items: center; justify-content: center; color: var(--sage); }
.arch-mark .logo-sym { width: 34%; }

/* hero */
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-block: 64px 84px; }
.hero-txt { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--sage); display: block; }
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; padding-block: 40px 64px; }
  .arch-hero { justify-self: center; max-width: 340px; margin-left: 14px; }
}

/* band */
.band { background: var(--surface); color: var(--sage-ink); border-block: 1px solid var(--line); }
.band-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; padding-block: 20px; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; }
.band .logo-sym { width: 9px; opacity: .8; }

/* sections */
.sec { padding-block: 96px; }
.sec-tint { background: var(--surface); }
@media (max-width: 760px) { .sec { padding-block: 64px; } }

/* treatments */
.trat { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.trat > * { min-width: 0; }
.trat-head { display: flex; flex-direction: column; align-items: flex-start; }
.trat-head .arch { margin-top: 44px; margin-left: 14px; }
@media (min-width: 900px) { .trat-head { position: sticky; top: 110px; align-self: start; } }
.trat-list { border-top: 1px solid var(--line); }
.trow {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "lab arr" "name arr" "desc arr";
  column-gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s;
}
.trow .label { grid-area: lab; margin-bottom: 4px; }
.trow-name { grid-area: name; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; }
.trow-desc { grid-area: desc; color: var(--muted); font-size: .95rem; margin-top: 6px; max-width: 52ch; }
.arr { grid-area: arr; align-self: center; width: 26px; height: 26px; color: var(--sage); transition: transform .25s; }
.trow:hover { padding-left: 10px; }
.trow:hover .arr { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .trow:hover { padding-left: 0; } .trow:hover .arr { transform: none; } }
@media (max-width: 900px) { .trat { grid-template-columns: 1fr; gap: 40px; } .trat-head .arch { display: none; } }

/* steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--sage); }
.steps strong { font-weight: 500; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* about */
.sobre { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.sobre > * { min-width: 0; }
.arch-sobre { aspect-ratio: 4 / 5; max-width: 420px; margin-left: 14px; }
.arch-sobre img { object-position: 50% 20%; }
.sobre-txt p { max-width: 60ch; margin: 0 0 1em; }
.creds { font-size: .78rem; letter-spacing: .14em; color: var(--muted); margin: 10px 0 22px !important; }
.link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--sage); padding-bottom: 2px; font-weight: 400; }
.link .arr { width: 18px; height: 18px; }
@media (max-width: 820px) { .sobre { grid-template-columns: 1fr; gap: 48px; } .arch-sobre { max-width: 320px; } }

/* reviews */
.rev { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; }
.rev > * { min-width: 0; }
.rev-score { text-align: center; padding: 36px 48px; border: 1px solid var(--line); border-radius: var(--arch); background: var(--bg); }
.score { font-family: var(--display); font-size: 5.6rem; line-height: 1; margin: 6px 0 10px; }
.rev-score .stars svg { width: 20px; height: 20px; }
.rev-n { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.rev-txt p { color: var(--muted); max-width: 54ch; margin: 16px 0 26px; }
@media (max-width: 760px) { .rev { grid-template-columns: 1fr; gap: 40px; } .rev-score { justify-self: start; padding: 28px 36px; } }

/* instagram */
.ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.ig-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); overflow-wrap: anywhere; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ig-post { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--linen); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, opacity .3s; }
.ig-post:hover img { transform: scale(1.03); opacity: .9; }
@media (prefers-reduced-motion: reduce) { .ig-post:hover img { transform: none; } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* location */
.sec-deep { background: var(--blush); color: var(--fg); }
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.local > * { min-width: 0; }
.local p { max-width: 50ch; opacity: .88; }
.addr { font-family: var(--display); font-size: 1.7rem; line-height: 1.3; opacity: 1 !important; margin: 22px 0; }
.local-act { display: grid; gap: 10px; }
.lcard {
  display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg); transition: border-color .2s;
}
.lcard:hover { border-color: var(--sage); }
.lcard > svg:first-child { color: var(--sage); }
.lcard .arr { color: var(--sage) !important; }
.lcard > svg:first-child { width: 22px; height: 22px; }
.lcard > span { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: .88rem; opacity: .9; }
.lcard strong { font-weight: 500; font-size: 1rem; opacity: 1; }
.lcard .arr { color: inherit; width: 20px; height: 20px; }
@media (max-width: 820px) { .local { grid-template-columns: 1fr; gap: 36px; } }

/* procedure pages */
.phero { padding-block: 48px 72px; border-bottom: 1px solid var(--line); }
.phero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.phero-txt { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.phero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.phero .arch-sm { justify-self: end; max-width: 300px; }
.crumb { font-size: .82rem; color: var(--muted); margin: 0; }
.crumb a { color: var(--muted); }
@media (max-width: 820px) { .phero-in { grid-template-columns: 1fr; } .phero .arch-sm { display: none; } }

.prose p, .prose ul { margin: 0 0 1.1em; max-width: 66ch; }
.prose h2 { margin: 1.5em 0 .5em; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.3em 0 .35em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sage); }
.prose strong { font-weight: 500; }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 36px 0;
}
.facts div { background: var(--surface); padding: 20px 22px; }
.facts dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); }
.facts dd { margin: 8px 0 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.25; }

.dz-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
.dz { border-top: 1px solid var(--line); padding-block: 26px; }
.dz p { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
@media (max-width: 760px) { .dz-grid { grid-template-columns: 1fr; } }

.faq { padding-block: 88px; background: var(--surface); }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.faq-in > * { min-width: 0; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.32rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--sage); font-family: var(--body); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 12px 0 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 760px) { .faq-in { grid-template-columns: 1fr; gap: 20px; } }

.cta { background: var(--blush); color: var(--fg); }
.cta-in { padding-block: 80px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-sym { width: 26px; color: var(--sage); }
.cta-t { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0; max-width: 26ch; text-wrap: balance; line-height: 1.15; }
.cta-n { margin: 0; font-size: .86rem; color: var(--muted); }

/* footer */
.foot { padding-block: 64px 28px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-in > * { min-width: 0; }
.foot p { margin: 0 0 10px; overflow-wrap: anywhere; }
.foot .sel { white-space: normal; }
.foot a { text-decoration-color: var(--sage); text-underline-offset: 3px; }
.foot-brand { color: var(--fg); }
.slogan { font-family: var(--display); font-size: 1.2rem; color: var(--fg); margin-top: 16px !important; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.flist a { text-decoration: none; }
.flist a:hover { color: var(--fg); }
.foot-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .76rem; }
@media (max-width: 1000px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
  left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--sage); color: #fff; text-decoration: none; font-size: .86rem; font-weight: 400;
  padding: 13px 20px 13px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(40, 44, 34, .22);
}
.wa-float svg { width: 20px; height: 20px; }
.wa-float:hover { background: var(--deep); }

/* hours + map */
.hours { margin: 0 0 14px; display: grid; gap: 0; max-width: 360px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 400; font-variant-numeric: tabular-nums; }
.hours-note { font-size: .85rem; color: var(--muted); }
.map { display: block; margin-top: 48px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--linen); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-ph { display: flex; align-items: center; justify-content: center; gap: 16px; text-decoration: none; padding: 24px; text-align: left; color: var(--fg); }
.map-ph > svg { width: 32px; height: 32px; color: var(--sage); }
.map-ph span { display: flex; flex-direction: column; max-width: 40ch; color: var(--muted); font-size: .92rem; }
.map-ph strong { color: var(--fg); font-weight: 500; font-size: 1.05rem; }
@media (max-width: 600px) { .map { height: 300px; } }
.faq-side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
@media (min-width: 761px) { .faq-side { position: sticky; top: 110px; align-self: start; } }
