/* Site de apresentação do studio (servidor/site.js) — mobile-first. Cores pela paleta do studio
   (studio.paleta: rose | oliva, a mesma do app). Desenvolvido por Nexosys. */
:root {
  --bg: #FBF7F3; --bg-2: #F4EAE3; --card: #FFFFFF; --linha: #EADDD4;
  --texto: #3B2A2F; --suave: #6E5A5F; --primaria: #A9665A; --primaria-d: #8E5247; --sobre-p: #FFFFFF;
  --ouro: #B8895F; --ouro-l: #E9D3BD; --sombra: 0 10px 30px rgba(80, 45, 40, .08);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 18px; --topo: 64px;
}
:root[data-paleta="oliva"] {
  --bg: #F6F4EE; --bg-2: #ECE9DE; --card: #FFFFFF; --linha: #E0DCCD;
  --texto: #2A2D23; --suave: #5E6150; --primaria: #565C45; --primaria-d: #414533; --sobre-p: #F7F1DE;
  --ouro: #9C8655; --ouro-l: #E8DFC6; --sombra: 0 10px 30px rgba(40, 45, 30, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--texto); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primaria-d); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.soft { color: var(--suave); }
.centro { text-align: center; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-p { background: var(--primaria); color: var(--sobre-p); }
.btn-p:hover { background: var(--primaria-d); }
.btn-zap { background: #1F8B4C; color: #fff; }
.btn-zap:hover { background: #18733e; }
.btn-l { background: transparent; color: var(--primaria-d); border-color: var(--linha); }
.btn-l:hover { border-color: var(--primaria); }
.btn-g { min-height: 52px; font-size: 16px; padding: 0 24px; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acoes.col { flex-direction: column; }
.acoes.col .btn { width: 100%; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topo.rolou { border-bottom-color: var(--linha); box-shadow: 0 4px 18px rgba(0, 0, 0, .04); }
.topo-in { display: flex; align-items: center; gap: 8px; height: var(--topo); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); font-family: var(--serif); font-size: 1.15rem; min-width: 0; margin-right: auto; }
.marca span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca img, .mono { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.mono { display: grid; place-items: center; background: var(--primaria); color: var(--sobre-p); font: 600 15px var(--sans); }
.ic-insta { display: grid; place-items: center; width: 44px; height: 44px; color: var(--texto); border-radius: 50%; }
.ic-insta svg { width: 22px; height: 22px; }
.hamb { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; color: var(--texto); }
.hamb span, .hamb span::before, .hamb span::after { content: ''; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .2s; }
.hamb span::before { position: absolute; top: -7px; } .hamb span::after { position: absolute; top: 7px; }
.hamb[aria-expanded="true"] span { background: transparent; }
.hamb[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.hamb[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: var(--topo) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--linha); display: flex; flex-direction: column; padding: 8px 16px 20px; gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; box-shadow: var(--sombra); }
.menu.aberto { transform: none; opacity: 1; visibility: visible; }
.menu a:not(.btn) { padding: 14px 4px; color: var(--texto); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--linha); }
.menu .btn { margin-top: 14px; }
@media (min-width: 860px) {
  .hamb { display: none; }
  .menu { position: static; flex-direction: row; align-items: center; padding: 0; gap: 4px; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; }
  .menu a:not(.btn) { border: 0; padding: 10px 12px; border-radius: 999px; }
  .menu a:not(.btn):hover { background: var(--bg-2); }
  .menu .btn { margin: 0 4px 0 8px; min-height: 42px; }
}

/* Hero */
.hero { position: relative; padding: 56px 0 64px; background: radial-gradient(120% 80% at 100% 0%, var(--ouro-l), transparent 60%), var(--bg-2); overflow: hidden; }
.hero.com-foto { min-height: min(86vh, 720px); display: flex; align-items: flex-end; padding: 0 0 40px; color: #fff; background: #2b1d20; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero.com-foto .hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(25, 15, 15, .72) 100%); }
.hero-txt { position: relative; }
.hero h1 { max-width: 15ch; }
.hero-sub { font-size: 1.1rem; max-width: 46ch; opacity: .92; }
.hero.com-foto .sobre-t { color: #fff; opacity: .9; }
.hero.com-foto .btn-p { background: #fff; color: var(--primaria-d); }
@media (min-width: 860px) { .hero { padding: 96px 0; } .hero.com-foto { padding-bottom: 72px; } }

/* Seções */
.sec { padding: 56px 0; }
.sec-top { padding-top: 16px; }
.sec-alt { background: var(--bg-2); }
.sec-h { margin-bottom: 26px; max-width: 640px; }
.sobre-t { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--ouro); margin: 0 0 8px; }
.sobre-t a { color: inherit; text-decoration: none; }
.lead { color: var(--suave); font-size: 1.05rem; }
@media (min-width: 860px) { .sec { padding: 88px 0; } }

/* Categorias */
.grade-cat { display: grid; gap: 14px; }
.card-c { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--sombra); }
.cc-img, .cc-img img, .cc-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-c .cc-img img { transition: transform .6s ease; }
.card-c:hover .cc-img img { transform: scale(1.04); }
.card-c::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 10, 10, .7)); }
.cc-txt { position: absolute; left: 18px; right: 52px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.cc-txt b { font: 500 1.4rem/1.2 var(--serif); }
.cc-txt span { font-size: .9rem; opacity: .9; }
.card-c > svg { position: absolute; right: 18px; bottom: 20px; z-index: 1; width: 22px; height: 22px; }
@media (min-width: 600px) { .grade-cat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grade-cat { grid-template-columns: repeat(3, 1fr); } }

/* Imagem-substituta (sem foto) */
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ouro-l), var(--bg-2)); color: var(--primaria); font: 500 3rem var(--serif); }
.ph-g { aspect-ratio: 4 / 5; border-radius: var(--r); }
.tag-ex { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(255, 255, 255, .88); color: #5b4a4e; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }

/* Sobre */
.sobre { display: grid; gap: 28px; align-items: center; }
.sobre-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sombra); max-width: 460px; }
.sobre-img img { width: 100%; height: 100%; object-fit: cover; }
.sobre-txt p { color: var(--suave); font-size: 1.05rem; }
@media (min-width: 860px) { .sobre { grid-template-columns: 5fr 6fr; gap: 64px; } }

/* Galeria */
.grade-gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.g-it, .car-it { position: relative; display: block; padding: 0; border: 0; background: var(--bg-2); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.g-it img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-it:hover img { transform: scale(1.05); }
.g-it[hidden] { display: none; }
.g-tag { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
@media (min-width: 700px) { .grade-gal { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .grade-gal { grid-template-columns: repeat(4, 1fr); } }
#trabalhos .grade-gal { margin-top: 12px; }
#trabalhos .centro { margin-top: 26px; }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtros button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--card); color: var(--texto); font: 500 14px var(--sans); cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--primaria); border-color: var(--primaria); color: var(--sobre-p); }

/* Antes e depois */
.pares { display: grid; gap: 18px; }
@media (min-width: 760px) { .pares { grid-template-columns: repeat(2, 1fr); } .serv .pares { grid-template-columns: 1fr; } }
.pares figure { margin: 0; }
.pares figcaption { margin-top: 8px; color: var(--suave); font-size: .95rem; text-align: center; }
.ad { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); background: var(--bg-2); touch-action: pan-y; user-select: none; }
.ad-in { position: relative; aspect-ratio: 4 / 5; }
.ad-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ad-linha { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .3); pointer-events: none; }
.ad-linha::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primaria-d); display: grid; place-items: center; font: 700 15px var(--sans); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.ad-r { position: absolute; top: 12px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.ad-ra { left: 12px; } .ad-rd { right: 12px; }
.ad-ctl { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ad-ctl:focus-visible + .tag-ex, .ad:focus-within { outline: 3px solid var(--ouro); outline-offset: 2px; }
.ad .tag-ex { top: auto; bottom: 10px; }

/* Depoimentos */
.deps { display: grid; gap: 14px; }
.dep { margin: 0; background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--sombra); }
.dep blockquote { margin: 8px 0 14px; font: 400 1.08rem/1.55 var(--serif); }
.dep figcaption { color: var(--suave); font-size: .9rem; }
.estrelas { color: var(--ouro); display: flex; gap: 2px; }
@media (min-width: 760px) { .deps { grid-template-columns: repeat(3, 1fr); } }

/* Contato */
.contato { display: grid; gap: 28px; }
.ct-l { display: flex; gap: 10px; align-items: flex-start; color: var(--suave); margin-bottom: 14px; }
.ct-l > svg { margin-top: 4px; color: var(--ouro); }
.ct-l > div { flex: 1; }
.hr { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; max-width: 340px; }
.hr b { font-weight: 600; color: var(--texto); }
.mapa { border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); background: var(--bg-2); aspect-ratio: 4 / 3; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 860px) { .contato { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 56px; } }

/* Serviços (cards) */
.grade-s { display: grid; gap: 16px; }
@media (min-width: 640px) { .grade-s { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grade-s { grid-template-columns: repeat(3, 1fr); } }
.cat-h { margin: 34px 0 16px; font-size: 1.6rem; } .cat-h a { color: inherit; text-decoration: none; }
.card-s { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.cs-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-txt { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.cs-txt h3 { margin-bottom: 6px; } .cs-txt h3 a { color: var(--texto); text-decoration: none; }
.cs-txt p { color: var(--suave); font-size: .95rem; }
.cs-meta { display: flex; justify-content: space-between; align-items: center; margin: auto 0 14px; padding-top: 6px; color: var(--suave); font-size: .92rem; }
.cs-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cs-meta b { color: var(--primaria-d); font-size: 1rem; }

/* Trilha (breadcrumb) */
.trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 16px 0 0; margin: 0 auto; font-size: .85rem; color: var(--suave); }
.trilha li + li::before { content: '›'; margin-right: 4px; }
.trilha a { color: var(--suave); }

/* Página do serviço */
.serv { display: grid; gap: 28px; }
@media (min-width: 900px) { .serv { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } .serv-info { position: sticky; top: calc(var(--topo) + 20px); } }
.carrossel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: var(--r); scrollbar-width: none; overscroll-behavior-x: contain; }
.carrossel::-webkit-scrollbar { display: none; }
.car-it { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; border-radius: var(--r); }
.car-it img { width: 100%; height: 100%; object-fit: cover; }
.car-pontos { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; }
.car-pontos span { width: 7px; height: 7px; border-radius: 50%; background: var(--linha); transition: background .2s, width .2s; }
.car-pontos span.on { background: var(--primaria); width: 18px; border-radius: 4px; }
.mini-h { font: 600 .82rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--ouro); margin: 28px 0 12px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.chips span { display: inline-flex; gap: 6px; align-items: center; background: var(--bg-2); border-radius: 999px; padding: 6px 12px; font-size: .92rem; }
.chips b { color: var(--primaria-d); font-size: 1.15rem; }
.texto p { color: var(--suave); font-size: 1.05rem; }
.cuidados ul { margin: 0; padding-left: 20px; color: var(--suave); }
.cuidados li { margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--linha); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 28px 12px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; color: var(--ouro); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--suave); }

/* Rodapé */
.rodape { background: #2b1d20; color: #EADFDB; padding: 48px 0 92px; margin-top: 0; }
:root[data-paleta="oliva"] .rodape { background: #262920; color: #E7E4D6; }
.rod-in { display: grid; gap: 26px; }
.rodape .marca { color: #fff; margin-bottom: 10px; }
.rodape p { display: flex; gap: 10px; align-items: flex-start; color: inherit; opacity: .88; }
.rodape .hr b { color: #fff; }
.rodape .soft { color: inherit; opacity: .75; }
.rod-links { display: flex; flex-direction: column; gap: 12px; }
.rod-links a, .assina a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.assina { font-size: .8rem; opacity: .6; margin-top: 30px; }
@media (min-width: 860px) { .rod-in { grid-template-columns: 1.2fr 1fr 1fr; } .rodape { padding-bottom: 48px; } }

/* WhatsApp flutuante */
.zap-flut { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.zap-flut:hover { transform: scale(1.06); }
.zap-flut svg { width: 30px; height: 30px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(15, 10, 10, .94); display: flex; flex-direction: column; color: #fff; }
.lb[hidden] { display: none; }
.lb-palco { flex: 1; position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lb-palco > img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s ease; transform-origin: center; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb-palco.zoom > img { cursor: grab; transition: none; }
.lb-palco .ad { width: min(92vw, 560px); }
.lb-barra { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.lb-leg { flex: 1; font-size: .95rem; opacity: .9; text-align: center; }
.lb button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb-fechar { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 2; }

/* Animação ao rolar (discreta; desligada para quem prefere menos movimento) */
.js .rev { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rev.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rev { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
