/* Studio Caju v3: só o que o kit não traz (composições, vídeo, encerramento). */
.nav__logo .logo-img { height: 56px; width: auto; }
section.alt { background: var(--p-surface); }
.t-label { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* vídeo da abertura + botão de pausa */
.hero__video { object-fit: cover; }
.video-toggle { background: none; border: 0; padding: 0 4px; min-height: 48px; font: 500 15px/1 var(--font-text); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); cursor: pointer; }
.video-toggle:hover { text-decoration-color: currentColor; }

/* picture-develops: a fachada, na coluna direita da visita */
.develop { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: min(640px, 70svh); }
.develop > img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .develop { height: auto; aspect-ratio: 4 / 3; margin-top: var(--s-7); } }

/* fotos e vídeos com link: moldura, zoom suave no hover */
.ph { display: block; margin: 0; overflow: hidden; border-radius: var(--r-md, 12px); background: #eee5dc; }
.ph img, .ph video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .ph--link:hover img, .ph--link:hover video { transform: scale(1.03); } }

/* cabelos: alta + pequena (tall-small) */
.comp-tall { align-items: start; }
.ph--tall { aspect-ratio: 4 / 5; width: 100%; height: auto; align-self: start; }
.comp-tall__side { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); align-self: stretch; }
.ph--square { aspect-ratio: 1; width: 58%; }
@media (max-width: 1023px) { .comp-tall__side { margin-top: var(--s-7); } .ph--square { width: 50%; } }

/* unhas: faixa de detalhes */
.strip { margin-bottom: var(--s-6); }
.strip .ph { aspect-ratio: 1; }
@media (max-width: 639px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip .ph { grid-column: auto; } }

/* galerias internas e pares */
.wall { row-gap: var(--s-5); }
.wall .ph { aspect-ratio: 4 / 5; }
@media (max-width: 639px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wall .ph { grid-column: auto; } }
.pair .socia .ph { aspect-ratio: 4 / 5; }
.socia h3 { font: var(--display-weight) var(--t-h3, 28px)/1.15 var(--font-display); letter-spacing: var(--display-tracking); margin-top: var(--s-5); }
.socia__role { color: var(--p-accent); font-weight: 500; margin-top: var(--s-2); }
.socia p { max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.tags li { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

/* lista de serviços: texto de lista a 16px */
.rows .rows__name { font-size: 18px; }
.rows .rows__name small { display: block; font-weight: 400; color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 4px; }

/* perguntas */
.faq details { border-bottom: 1px solid var(--line); padding: var(--s-4) 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin-top: var(--s-3); color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 65ch; }

/* encerramento com o nome grande (close-word) */
.close-name { font: var(--display-weight) clamp(64px, 12vw, 170px)/.95 var(--font-display); letter-spacing: -0.045em; color: var(--p-accent); margin: 0; white-space: nowrap; }
.foot-address { font-style: normal; line-height: 1.6; }

/* mapa, trilha, links */
.map iframe { width: 100%; height: min(520px, 60svh); border: 0; border-radius: var(--r-lg); display: block; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: var(--s-5); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.links-page .wrap { max-width: 560px; }
.links-page .btn { width: 100%; justify-content: center; }
.links-title { font: var(--display-weight) clamp(40px, 6vw, 64px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); }
.prose p { max-width: 70ch; }

@media (prefers-reduced-motion: reduce) { .ph img, .ph video { transition: none; } }
/* frase das sócias (word-highlight) centralizada na tela, letra grande */
.statement .mo-wh__text { font: var(--display-weight) clamp(28px, 3.2vw, 46px)/1.2 var(--font-display); letter-spacing: -0.025em; max-width: 30ch; margin-top: var(--s-5); }
.statement .mo-wh__text strong { font-weight: inherit; }
/* nome do encerramento atravessando a largura */
.close-name { font-size: clamp(64px, 15.4vw, 222px); }
@media (max-width: 1023px) { .close-name { font-size: 15.6vw; } }
/* v3.1: unhas em faixa de fotos, sócias numa tela, cargo com contraste, botão final de ponta a ponta */
.strip__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md, 12px); }
@media (max-width: 639px) { .strip .strip__img { grid-column: auto; } }
.duo { row-gap: var(--s-6); align-items: start; }
.duo .ph { aspect-ratio: 4 / 5; }
.duo .socia p:not(.socia__role) { font-size: 16px; line-height: 1.6; }
.socia h3 { margin-top: 0; }
.socia__role { color: #8f3a10; }
@media (max-width: 1023px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .duo > * { grid-column: auto; } }
@media (max-width: 639px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.btn--wide { width: 100%; justify-content: center; }
/* v3.2 */
.comp-tall .ph--tall { aspect-ratio: auto; height: min(680px, 74svh); }
@media (max-width: 1023px) { .comp-tall .ph--tall { height: auto; aspect-ratio: 4 / 5; } }
.duo { align-items: stretch; }
.socia-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.socia-row .ph { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo > * { grid-column: auto; } }
@media (max-width: 639px) { .socia-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .close-name { font-size: 13.5vw; } }
.statement { padding-bottom: calc(var(--s-9, 96px) * 1.4); }
/* v3.3: uma altura de botão; nome do rodapé quebra em telas estreitas; respiro após a frase */
:root[data-type="place"] .btn { height: 48px; }
.nav .btn { height: 44px; }
@media (max-width: 400px) { .close-name { white-space: normal; font-size: 13vw; } .btn--wide { white-space: normal; height: auto; min-height: 48px; } }
.statement { padding-bottom: 38svh; }
/* v3.4: celular: unhas e sócias cabem na tela; contatos do rodapé */
.foot-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
@media (max-width: 639px) {
  #unhas .strip-rows { display: none; }
  .duo .socia p:not(.socia__role) { display: none; }
  .socia-row { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .socia-row .ph { aspect-ratio: 1; }
}
/* v3.2: o rodapé cresce com o conteúdo, então o nome grande nunca cobre as colunas */
footer.closing { height: auto; min-height: 100vh; min-height: 100svh; }
footer.closing > .wrap { height: auto; grid-template-rows: auto auto; }
.closing__cta, .closing__links { min-height: auto; }
.close-name { line-height: .9; padding-bottom: .08em; }
/* v3.3: antes e depois com linha de arrastar */
.compare { --pos: 50%; position: relative; aspect-ratio: 3 / 4; height: min(680px, 74svh); max-width: 100%; justify-self: end; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25); }
.compare__line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--p-accent, #c2551f); font: 700 20px/52px var(--font-body, sans-serif); text-align: center; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .2s; }
.compare:hover .compare__line::after { transform: translate(-50%, -50%) scale(1.08); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--p-accent, #c2551f); outline-offset: 4px; }
.compare__tag { position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: #242424; font-size: 14px; font-weight: 600; pointer-events: none; }
.compare__tag--a { left: 16px; } .compare__tag--d { right: 16px; }
@media (max-width: 1023px) { .compare { height: auto; width: 100%; justify-self: stretch; } }
@media (max-width: 639px) { .compare { aspect-ratio: 4 / 5; } }
#antes-depois .wrap.grid { align-content: center; height: 100%; } #antes-depois .grid > .span-5 { align-self: center; }
@media (max-width: 1023px) { #antes-depois .stack-6 { gap: var(--s-5); } #antes-depois .compare { margin-top: var(--s-6); } }
