/* ==== Composição B: abertura, cílios, sobrancelhas e trabalhos ==== */
/* abertura: moldura em fio rosa deslocada + sombra, como a peça 1 aprovada */
.hero-foto { aspect-ratio: 786 / 1007; overflow: visible; border-radius: 0; isolation: isolate; box-shadow: 0 22px 34px -22px rgba(43,37,41,.55); }
.hero-foto > img { position: static; left: auto; width: 100%; margin: 0; max-width: 100%; height: 100%; object-fit: cover; }
.hero-foto::after { content: ""; position: absolute; left: 3.4%; top: 2.7%; right: -3.4%; bottom: -2.7%; border: 2px solid var(--rosa-fio); z-index: -1; }
@media (min-width: 900px) { .hero-foto { aspect-ratio: 786 / 1007; width: min(540px, 38vw, calc((100vh - 190px) * 0.78)); } }

/* faixa de serviços: régua (fio + ponto) em SVG vetorial, ou foto WA0131 se ?faixa=foto */
.faixa { background: var(--rosa-po); }
.faixa .regua { display: block; width: 100%; aspect-ratio: 800 / 290; height: auto; }
.faixa-foto { aspect-ratio: 800 / 290; object-fit: cover; object-position: 50% 24%; }
.faixa-foto[hidden] { display: none; }
body.faixa-com-foto .regua { display: none; }

/* cílios (WA0094): arco com contorno em fio; ?cilios=reto troca por topo reto com filete vertical */
.cilios-foto { position: relative; isolation: isolate; width: 82%; margin-right: 4%; }
.cilios-foto img { aspect-ratio: 900 / 1260; object-fit: cover; object-position: 50% 35%; border-radius: 50% 50% 0 0 / 35.7% 35.7% 0 0; box-shadow: 0 20px 30px -22px rgba(43,37,41,.5); }
.cilios-foto::after { content: ""; position: absolute; left: 2.7%; top: 1.9%; right: -2.7%; bottom: -1.9%; border: 2px solid var(--rosa-profundo); border-radius: 50% 50% 0 0 / 35.7% 35.7% 0 0; z-index: -1; }
body.cilios-reto .cilios-foto { width: 80%; margin-left: auto; margin-right: 0; }
body.cilios-reto .cilios-foto img { border-radius: 2px; }
body.cilios-reto .cilios-foto::after { left: -9%; right: auto; top: 3%; bottom: 0; width: 2px; border: 0; border-radius: 0; background: var(--rosa-profundo); z-index: 0; }
body.cilios-reto .cilios-foto::before { content: ""; position: absolute; left: calc(-9% - 4px); top: calc(3% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--rosa-profundo); }
@media (min-width: 900px) { .cilios-foto, body.cilios-reto .cilios-foto { width: 88%; margin: 0 0 0 12%; } }

/* sobrancelhas (WA0130): bloco rosa-pó que sangra até a borda da tela, com contraste claro sobre o papel */
.sobr { overflow: hidden; }
.sobr-foto { position: relative; isolation: isolate; margin-bottom: 19%; }
@media (min-width: 900px) { .sobr-foto { margin-bottom: 0; } }
.sobr-foto img { aspect-ratio: 860 / 1075; object-fit: cover; object-position: 50% 20%; border-radius: 2px; box-shadow: 0 20px 30px -22px rgba(43,37,41,.5); }
.sobr-foto::before { content: ""; position: absolute; z-index: -1; left: 28%; right: -50vw; top: 22%; bottom: -15%; background: var(--rosa-po); }

/* trabalhos: fotos grandes escalonadas (sem carrossel); WA0096 inteira, sem corte */
.m-extra { display: none; }
body.trab3 .m-d, body.trab3c .m-e { display: block; }
.mosaico { display: flex; flex-direction: column; gap: 28px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
.mosaico li { flex: none; width: 80%; }
.mosaico li:nth-child(even) { align-self: flex-end; }
.mosaico li:nth-child(2)::before { content: ""; position: absolute; left: -12%; top: 0; bottom: 0; width: 2px; background: var(--rosa-profundo); }
.ampliar img { aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 18px 28px -20px rgba(43,37,41,.55); }
.m-c img { object-position: 50% 50%; }
@media (min-width: 900px) {
  .mosaico { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: space-between; gap: 28px 80px; }
  body.trab3 .mosaico, body.trab3c .mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 56px; }
  .mosaico li { width: 100%; }
  .mosaico li:nth-child(2) { margin-top: 90px; }
  .mosaico li:nth-child(2)::before { display: none; }
  .mosaico li:nth-child(even) { align-self: auto; }
  body.trab3 .m-d, body.trab3c .m-e { margin-top: 30px; }
}

/* ==== Composição B: faixa de serviços (régua) e cílios com topo reto ==== */

/* peça 2: régua (fio, marcas e ponto) direto sobre o papel, sem tarja e sem foto */
.faixa-regua { margin: 6px 0 4px; }
.regua { position: relative; display: block; width: 100%; height: 34px;
  background:
    linear-gradient(var(--rosa-profundo), var(--rosa-profundo)) 0 0 / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--rosa-fio) 0 1.5px, transparent 1.5px 12px) 0 2px / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, var(--rosa-profundo) 0 1.5px, transparent 1.5px 60px) 0 2px / 100% 24px no-repeat; }
.regua::after { content: ""; position: absolute; left: 66%; top: 1px; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--rosa-profundo); }
@media (min-width: 900px) {
  .faixa-regua { grid-column: 1 / 9; grid-row: 2; max-width: 800px; width: 100%; margin: 0; align-self: center; }
}

/* peça 3: topo reto (3B) como padrão */
.cilios-foto { width: 80%; margin: 0 0 34px auto; }
.cilios-foto img { border-radius: 2px; }
.cilios-foto::after { left: -9%; right: auto; top: 3%; bottom: 0; width: 2px; border: 0; border-radius: 0; background: var(--rosa-profundo); z-index: 0; }
.cilios-foto::before { content: ""; position: absolute; left: calc(-9% - 4px); top: calc(3% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--rosa-profundo); }
@media (min-width: 900px) { .cilios-foto { width: 88%; margin: 0 0 0 12%; } }

/* ==== Espaço inferior de Sobrancelhas no computador ==== */
/* O bloco rosa-pó (cor, tamanho e posição) fica a distância clara da seção Trabalhos, que tem o mesmo rosa-pó de fundo. */
@media (min-width: 900px) {
  .sobr { padding-bottom: clamp(120px, calc(120px + (100vw - 1000px) * 0.3), 215px); }
}

/* ==== Seções Agendamento e Cuidados (novas; mesmos tokens, fios e ritmo de cor da vitrine) ==== */
.regras { background: var(--papel); padding: 56px var(--m) 72px; }
.cuidados { background: var(--rosa-claro); padding: 56px var(--m) 72px; }
.regras-in, .cuidados-in { max-width: var(--max); margin: 0 auto; }
.regras h2, .cuidados h2 { font-size: clamp(36px, 10vw, 56px); line-height: 1.04; }
.lista-fio { list-style: none; margin: 30px 0 0; padding: 0; border-top: var(--fio) solid var(--fio-cor); }
.lista-fio li { padding: 18px 0; border-bottom: var(--fio) solid rgba(138,58,84,.3); }
.regras .lista-fio li { display: grid; gap: 4px; }
.regras .lista-fio strong { font: 400 clamp(22px, 6vw, 26px)/1.2 var(--f-titulo); }
.regras .lista-fio span { color: var(--texto-apoio); max-width: 62ch; }
.cuidados .lista-fio li { position: relative; padding-left: 24px; }
.cuidados .lista-fio li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--fio-cor); }
@media (min-width: 900px) {
  .regras, .cuidados { padding: 110px var(--m) 120px; }
  .regras-in { display: grid; grid-template-columns: 4fr 7fr; gap: 0 clamp(48px, 7vw, 120px); align-items: start; }
  .regras .lista-fio { margin-top: 0; }
  .cuidados .lista-fio { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
  .cuidados .lista-fio li { border-top: var(--fio) solid var(--fio-cor); border-bottom: 0; }
}
