@font-face {
  font-family: "DM Sans";
  src: url("../../fontes/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --polish: #8c1230;
  --sobre: #fff;
  --ink: #24121c;
  --porcelain: #f6f2f1;
  --muted: #665058;
  --line: #ddd0d0;
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--porcelain);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(calc(100% - 80px), 1200px); margin-inline: auto; }

/* topo e hero: a cor escolhida pinta o palco inteiro */
.palco { background: var(--polish); color: var(--sobre); padding-top: 84px; border-radius: 0 0 3rem 3rem; transition: background-color .5s ease, color .5s ease; }
.palco :focus-visible, .header :focus-visible { outline-color: var(--sobre); }
.header { position: absolute; z-index: 3; inset: 0 0 auto; left: 50%; translate: -50% 0; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--sobre); transition: color .5s ease; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.unha { display: block; width: .8rem; height: 1.15rem; border-radius: 50% 50% 35% 35% / 45% 45% 25% 25%; background: currentColor; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1.5px solid transparent; border-radius: 100px; padding: .7rem 1.4rem; text-decoration: none; font: 700 .92rem/1.25 "DM Sans", system-ui, sans-serif; text-align: center; cursor: pointer; }
.outline { background: transparent; color: inherit; border-color: currentColor; }
.outline:hover { background: #ffffff1f; }
.resto .outline:hover, .booking .outline:hover { background: #f0e6e6; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #4a2535; }
.palco .primary, .contact .light { background: var(--sobre); color: var(--polish); transition: background-color .5s ease, color .5s ease; }
.palco .primary:hover, .contact .light:hover { opacity: .88; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 6vw, 90px); padding-block: 40px 72px; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.7rem); max-width: 12ch; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.intro { max-width: 44ch; margin: 22px 0 28px; font-size: 1.1rem; }
.palco .intro { opacity: .92; }
.appointment .intro { color: var(--muted); }
.actions { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.text-link { font-size: .95rem; font-weight: 700; text-underline-offset: .3em; }

.cores { margin-top: 38px; }
.cores-titulo { margin: 0 0 12px; font-size: .95rem; }
.cores-lista { display: flex; flex-wrap: wrap; gap: 12px; }
.cor { position: relative; width: 2.75rem; height: 3.35rem; padding: 0; border: 0; border-radius: 50% 50% 35% 35% / 45% 45% 25% 25%; background: var(--cor); cursor: pointer; box-shadow: inset 0 -.5rem .8rem #0003, 0 .35rem .8rem #0003; transition: transform .2s ease; }
.cor::after { content: ""; position: absolute; left: 24%; top: 12%; width: 22%; height: 46%; border-radius: 999px; background: #ffffff59; transform: rotate(8deg); }
.cor:hover { transform: translateY(-3px); }
.cor[aria-pressed="true"] { outline: 3px solid var(--sobre); outline-offset: 4px; }

/* foto em formato de unha, com reflexo de esmalte */
.hero-visual { position: relative; margin: 0; width: min(100%, 27rem); justify-self: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 1.75rem 1.75rem / 36% 36% 1.75rem 1.75rem; background: #dbada0; box-shadow: 0 2rem 3.5rem #0004; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 32%, #ffffff40 40%, #ffffff12 48%, transparent 56%); }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-photo-detail { position: absolute; inset: 0; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.hero-visual.show-detail .hero-photo-detail { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo-toggle { position: absolute; z-index: 2; bottom: 18px; left: 50%; translate: -50% 0; min-height: 44px; background: var(--ink); color: #fff; box-shadow: 0 4px 16px #24121c55; white-space: nowrap; }
.hero-photo-toggle[hidden] { display: none; }
.hero-photo-toggle:hover { background: #4a2535; }

/* tabela de serviços */
.servicos { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(36px, 7vw, 100px); padding-block: 96px 40px; }
.servicos-foto { margin: 0; border-radius: 1.5rem; background: #dbada0; box-shadow: 14px 14px 0 var(--polish); transition: box-shadow .5s ease; }
.servicos-foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: inherit; }
.menu { list-style: none; margin: 28px 0 0; padding: 0; }
.menu li { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 6px 22px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.menu li:first-child { border-top: 1px solid var(--line); }
.menu h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.menu p { margin: .3rem 0 0; color: var(--muted); max-width: 38ch; }
.tempo { color: var(--muted); font-size: .92rem; }
.menu b { font-size: 1.6rem; letter-spacing: -.03em; }

.appointment { display: grid; grid-template-columns: 1fr minmax(360px, .85fr); gap: clamp(34px, 7vw, 100px); align-items: center; padding-block: 80px 96px; }
.booking { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 1rem 3rem #24121c14; }
.booking-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; padding: 18px 24px; }
.booking-head strong { font-size: 1.25rem; letter-spacing: -.02em; }
.booking-head span { font-size: .88rem; opacity: .85; }
form, noscript { padding: 20px 24px 24px; }
.step-number { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 0 0 5px; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
legend, form h3 { font: 700 1.25rem/1.3 "DM Sans", system-ui, sans-serif; letter-spacing: -.02em; padding: 0; margin: 0 0 15px; }
.service { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.service:has(:checked) { background: #f4ecec; border-color: var(--ink); }
.service input { margin: 0; accent-color: var(--ink); width: 18px; height: 18px; }
.service small { display: block; color: var(--muted); font-size: .875rem; }
.wide { width: 100%; margin-top: 9px; }
.field { display: grid; gap: 5px; font-weight: 650; margin-bottom: 14px; }
.availability-note { margin: 0 0 20px; padding: 12px 14px; border-inline-start: 4px solid var(--ink); border-radius: 0 10px 10px 0; background: #f4ecec; }
.availability-note strong { display: block; margin-bottom: 3px; }
.field input { font: inherit; color: inherit; background: #fff; width: 100%; min-width: 0; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.message { padding: 15px; background: #f4ecec; border-radius: 12px; }

.contact { background: var(--polish); color: var(--sobre); padding-block: 72px; border-radius: 3rem 3rem 0 0; transition: background-color .5s ease, color .5s ease; }
.contact :focus-visible { outline-color: var(--sobre); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px; }
.contact p { max-width: 52ch; margin: 14px 0 0; opacity: .92; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px 90px; font-size: .875rem; }
.agency { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.agency small, .agency strong { display: block; }
.agency:hover strong { text-decoration: underline; }
.whatsapp-float { position: fixed; z-index: 4; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #137443; color: #fff; box-shadow: 0 4px 18px #16281c44; }
.whatsapp-float:hover { background: #0d5c33; }

@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .header nav { display: none; }
  .hero { gap: 40px; }
}
@media (max-width: 650px) {
  .palco { padding-top: 69px; border-radius: 0 0 2rem 2rem; }
  .header { min-height: 69px; gap: 10px; }
  .header .button { padding-inline: .9rem; }
  .brand { font-size: 1.1rem; }
  .hero, .servicos, .appointment, .contact-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 28px 52px; }
  .servicos { padding-block: 64px 24px; }
  .servicos-foto { max-width: 20rem; }
  .appointment { padding-block: 56px 64px; }
  .contact { padding-block: 52px; border-radius: 2rem 2rem 0 0; }
  .contact .button { justify-self: start; }
  .menu li { grid-template-columns: 1fr auto; }
  .tempo { grid-column: 1; grid-row: 2; }
  .menu li b { grid-column: 2; grid-row: 1; }
  form, .booking-head { padding-inline: 16px; }
}

@keyframes hero-photo-preview {
  0%, 100% { clip-path: polygon(100% 0, 130% 0, 168% 100%, 138% 100%); }
  37%, 68% { clip-path: polygon(-38% 0, 130% 0, 168% 100%, 0 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo-detail { transition: clip-path .7s cubic-bezier(.65, 0, .24, 1); }
  .hero-visual:not(.show-detail) .hero-photo-detail { clip-path: polygon(100% 0, 130% 0, 168% 100%, 138% 100%); }
  .hero-visual.show-detail .hero-photo-detail { clip-path: polygon(-38% 0, 130% 0, 168% 100%, 0 100%); }
  .hero-visual.preview-photo .hero-photo-detail { animation: hero-photo-preview 2.6s .55s cubic-bezier(.65, 0, .24, 1); }
  [data-step]:not([hidden]) { animation: passo-entra .22s ease-out both; }
  .button, .whatsapp-float { transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease; }
}
@keyframes passo-entra { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .palco, .header, .contact, .servicos-foto, .cor { transition: none; }
}
.aviso-demo { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 8px; font-size: .875rem; background: #00000033; }
