/* fontes alojadas no próprio site (subconjunto latino, cobre o português) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/jost.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/playfair-display.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/bodoni-moda.woff2") format("woff2"); }

:root {
  --bg: #f7faf6;
  --mint-50: #eef5ec;
  --mint-100: #e2eedf;
  --mint-200: #cfe3cb;
  --sage: #8fb08a;
  --sage-text: #4a6946;
  --green: #2e4a3b;
  --green-hover: #3b5d4a;
  --ink: #1f2a24;
  --muted: #55665c;
  --gold: #a67c3d;
  --white: #ffffff;

  --font: "Jost", system-ui, sans-serif;
  --display: "Bodoni Moda", "Didot", Georgia, serif; /* só no logótipo */
  --heading: "Playfair Display", Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius-lg: 1.5rem;
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(31, 42, 36, .04), 0 8px 24px rgba(46, 74, 59, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.125rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
/* <picture> como bloco: o "display: contents" falha no Safari dentro de grelhas */
picture { display: block; }
.tile picture, .post picture, .person picture { height: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0; font-family: var(--heading); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--green);
}
h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--green); color: var(--white); border-radius: .5rem; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), 74rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.tint { background: var(--mint-50); }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 44ch; }
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); max-width: 56ch; }
.section-head.row { align-items: end; justify-items: start; }
@media (min-width: 52rem) {
  .section-head.row { grid-template-columns: 1fr auto; }
}

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; border: 0;
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.btn-sm { min-height: 2.75rem; padding: 0 1.15rem; font-size: .9375rem; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost { background: var(--white); color: var(--green); box-shadow: inset 0 0 0 1px var(--mint-200); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--mint-100); }
.btn-outline-light { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--green);
  text-decoration: none; border-bottom: 1px solid var(--mint-200); padding-bottom: .15rem;
}
.link svg { width: 1.05rem; height: 1.05rem; fill: currentColor; transition: transform .2s; }
.link:hover { border-color: var(--green); }
.link:hover svg { transform: translateX(3px); }
.icon-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  color: var(--green); box-shadow: inset 0 0 0 1px var(--mint-200); background: var(--white);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

/* cabeçalho */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 246, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-color: var(--mint-200); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: inline-grid; justify-items: center; gap: .1rem; color: var(--green); text-decoration: none; line-height: 1; }
.brand-name { font: 600 2rem/1 var(--display); letter-spacing: .02em; }
.brand-sub { font: 500 .625rem/1 var(--font); letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; color: var(--sage-text); }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.menu ul a { text-decoration: none; font-size: 1rem; color: var(--ink); }
.menu ul a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sage); }
.menu-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: var(--mint-100); cursor: pointer; place-items: center;
}
.bars, .bars::before, .bars::after { display: block; width: 1.1rem; height: 1.5px; background: var(--green); border-radius: 2px; transition: transform .2s, background-color .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 56rem) {
  .menu { display: flex; align-items: center; gap: 2.5rem; }
}
@media (max-width: 55.99rem) {
  .menu-toggle { display: grid; }
  .menu {
    display: none; position: absolute; inset: 4.5rem 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--mint-200);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .menu.open { display: grid; gap: 1.25rem; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--mint-100); font-size: 1.125rem; }
  .menu-cta { justify-self: start; }
}

/* hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero h1 { max-width: 12ch; text-wrap: balance; }
.stars { display: inline-flex; gap: .1rem; color: var(--gold); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.address { display: flex; align-items: center; gap: .4rem; font-size: .9375rem; color: var(--muted); }
.address svg { width: 1.1rem; height: 1.1rem; fill: var(--sage); flex: none; }
.collage {
  position: relative; display: grid; gap: .75rem;
  grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, 1fr);
  height: clamp(26rem, 95vw, 36rem); margin-top: 1.6rem;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--mint-100); animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.03); }
.t-mass  { grid-column: 1; grid-row: 1 / 5; }
.t-mass img { object-position: 38% 50%; }
.t-nails { grid-column: 1; grid-row: 5 / 7; animation-delay: .3s; }
.t-hifu  { grid-column: 2; grid-row: 1 / 3; animation-delay: .1s; }
.t-laser { grid-column: 2; grid-row: 3 / 7; animation-delay: .2s; }
.t-laser img { object-position: 30% 50%; }
.label {
  position: absolute; left: .75rem; bottom: .75rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--green); font-size: .875rem; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.rating-card {
  position: absolute; left: 50%; top: -1.6rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(46,74,59,.16);
  text-decoration: none; font-size: .875rem; color: var(--muted); white-space: nowrap;
  animation: rise-card .8s .45s cubic-bezier(.2,.8,.2,1) both;
}
.rating-card strong { font: 500 2rem/1 var(--heading); color: var(--green); }
.rating-card > span { display: grid; gap: .2rem; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-card { from { opacity: 0; transform: translateX(-50%) translateY(14px); } to { opacity: 1; transform: translateX(-50%); } }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
  .collage { height: min(36rem, calc(100svh - 8rem)); }
}

/* tratamentos */
.cards { display: grid; gap: 1.5rem; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.card-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.card-body > p:not(.tag) { color: var(--muted); flex: 1; }
.tag {
  align-self: flex-start; padding: .3rem .75rem; border-radius: 999px;
  background: var(--mint-100); color: var(--green); font-size: .875rem; font-weight: 500;
}
.card .link { align-self: flex-start; margin-top: .5rem; }
@media (min-width: 56rem) { .cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* unhas */
.split { display: grid; gap: 3rem; align-items: center; }
.split-copy { display: grid; gap: 1.5rem; justify-items: start; }
.split-copy h2 { max-width: 13ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; align-items: center; gap: .75rem; }
.checks li::before {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%232e4a3b'/%3E%3C/svg%3E") center / .9rem no-repeat;
}
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-bottom: 1.5rem; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.mosaic picture:nth-child(even) img { transform: translateY(1.5rem); }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* avaliações */
.score { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; color: var(--muted); }
.score strong { font: 500 2rem/1 var(--heading); color: var(--green); }
.score .stars svg { width: 1.2rem; height: 1.2rem; }
.reviews { display: grid; gap: 1.25rem; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between;
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow);
}
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.review figcaption small { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.avatar {
  flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--mint-100); color: var(--green); font-weight: 500;
}
@media (min-width: 40rem) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .reviews { grid-template-columns: repeat(6, 1fr); }
  .review { grid-column: span 2; }
  .review:nth-child(1), .review:nth-child(2) { grid-column: span 3; }
}

/* equipa */
.team { display: grid; gap: 1.5rem; }
.person {
  display: grid; overflow: hidden; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.person img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.person-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; }
.person-body > p:not(.role) { color: var(--muted); }
.role { color: var(--sage-text); font-weight: 500; }
.person .actions { margin-top: auto; padding-top: .75rem; align-items: center; }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .person { grid-template-columns: 1fr 1.2fr; }
  .person img { aspect-ratio: auto; min-height: 100%; }
}
@media (min-width: 64rem) {
  .team { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .person { grid-template-columns: 1fr 1.1fr; }
  .person img { aspect-ratio: auto; min-height: 24rem; }
}

/* instagram */
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.post { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--mint-100); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover img { transform: scale(1.03); }
@media (min-width: 56rem) { .feed { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* faixa de marcação */
.cta { padding: 0 0 clamp(4.5rem, 9vw, 7rem); background: var(--mint-50); }
.cta-box {
  display: grid; gap: 2rem; align-items: center;
  background: var(--green); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-box h2 { color: var(--white); }
.cta-box p { margin-top: .75rem; color: rgba(255,255,255,.8); max-width: 44ch; }
@media (min-width: 56rem) { .cta-box { grid-template-columns: 1fr auto; } }

/* rodapé */
.footer { padding: 4rem 0 6rem; font-size: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--mint-200); }
.footer .brand { margin-bottom: 1rem; }
.footer h3 { font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .75rem; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer ul a { color: var(--muted); text-decoration: none; }
.footer ul a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.footer .social { display: inline-flex; align-items: center; gap: .6rem; }
.footer .social svg { flex: none; width: 1.25rem; height: 1.25rem; fill: var(--green); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--white);
  box-shadow: 0 8px 24px rgba(46, 74, 59, .3); transition: transform .2s;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 2rem; height: 2rem; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .rating-card { animation: none; }
  .btn, .fab, .post img, .tile img, .link svg, .bars, .bars::before, .bars::after { transition: none; }
}
