/* Seções. Cada bloco tem o mesmo nome do comentário no index.html. */

/* ABERTURA: texto à esquerda; a fachada à direita, fundida no escuro, acende ao abrir e um brilho dourado passa por ela */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--noite); }
.hero__foto { position: absolute; top: calc(var(--faixa) + 80px); right: 0; bottom: 0; width: 60%; margin: 0; overflow: hidden; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 40%; }
.hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noite) 0%, rgba(14, 13, 11, .7) 26%, rgba(14, 13, 11, 0) 62%), linear-gradient(0deg, var(--noite) 0%, rgba(14, 13, 11, 0) 30%), linear-gradient(180deg, rgba(14, 13, 11, .75) 0%, rgba(14, 13, 11, 0) 26%); }
.hero__brilho { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(236, 199, 110, .28) 48%, transparent 58%); transform: translateX(-100%); mix-blend-mode: screen; }
@keyframes acender { from { filter: brightness(0) saturate(.4); } to { filter: brightness(1) saturate(1); } }
@keyframes brilho { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.parado) .hero__foto img { animation: acender 2.8s ease-out both; }
  .js:not(.parado) .hero__brilho { animation: brilho 1.8s 2.2s var(--ease) both; }
}
.hero__texto { position: relative; z-index: 2; padding-top: calc(var(--faixa) + 120px); padding-bottom: 80px; }
.hero__slogan { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; font: 800 clamp(26px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: .02em; color: var(--ouro); }
.hero__slogan::before { content: ""; width: 44px; height: 3px; background: var(--costura); }
.hero h1 { max-width: 9.5ch; font-size: clamp(60px, min(8.4vw, 14vh), 124px); line-height: .9; }
.hero__lead { margin-top: 26px; max-width: 44ch; font-size: 18px; color: var(--texto); }
.hero__acoes { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.fatos { list-style: none; margin: 34px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 30px; font-size: 14.5px; color: var(--nevoa); border-top: 1px solid var(--linha); }
.fatos li:first-child { color: var(--ouro-claro); font-weight: 700; }

/* A MENDES */
.mendes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.mendes__texto { display: grid; gap: 20px; }
.mendes__texto p { color: var(--texto); max-width: 50ch; }
.mendes__texto p:first-of-type { font-size: 19px; color: var(--creme); }
.mendes__fotos { position: relative; padding-bottom: 60px; }
.mendes__foto { margin: 0; overflow: hidden; border-radius: 4px; }
.mendes__foto img { width: 100%; height: 100%; object-fit: cover; }
.mendes__foto--grande { width: 78%; height: 560px; margin-left: auto; }
.mendes__foto--pequena { position: absolute; left: 0; bottom: 0; width: 44%; height: 300px; border: 6px solid var(--noite); }

/* SERVIÇOS: grupos; o serviço tocado abre embaixo do grupo */
.servicos { background: var(--noite-2); }
.grupos { display: grid; max-width: 1080px; }
.grupo { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 14px 40px; padding: 28px 0; border-top: 1px solid var(--linha); }
.grupo:last-child { border-bottom: 1px solid var(--linha); }
.grupo__cabeca h3 { margin-bottom: 6px; }
.grupo__cabeca p { color: var(--nevoa); font-size: 15.5px; }
.grupo__chips { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.chip { min-height: 46px; padding: 0 18px; font: 600 15.5px var(--sans); color: var(--creme); background: transparent; border: 1px solid var(--linha); border-radius: 4px; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s; }
.chip:hover { border-color: var(--ouro); }
.chip[aria-expanded="true"] { background: var(--ouro); color: var(--noite); border-color: var(--ouro); }
.servico { grid-column: 1 / -1; scroll-margin-top: 90px; }
.servico:not([hidden]) { animation: abrir .5s var(--ease); }
@keyframes abrir { from { opacity: 0; transform: translateY(-10px); } }
.servico__painel { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 40px; align-items: start; padding: 16px 0 8px; }
.servico__painel figure { margin: 0; height: 440px; overflow: hidden; border-radius: 4px; background: var(--noite-3); }
.servico__painel figure img, .servico__painel video { width: 100%; height: 440px; object-fit: cover; }
.servico__texto { display: grid; gap: 18px; align-content: start; }
.servico__expl { font-size: 18px; line-height: 1.6; max-width: 58ch; }
.servico__botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.precos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.precos li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--linha); border-radius: 4px; background: var(--noite-3); }
.precos b { font-size: 15.5px; }
.precos span { font-size: 13.5px; color: var(--nevoa); }
.precos strong { font: 800 32px/1 var(--display); color: var(--ouro-claro); margin-top: 6px; }
.tabela { width: 100%; max-width: 560px; border-collapse: collapse; }
.tabela caption { text-align: left; font-size: 14px; font-weight: 700; color: var(--nevoa); padding-bottom: 6px; }
.tabela th, .tabela td { padding: 12px 0; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
.tabela th { font-weight: 600; padding-right: 16px; }
.tabela th small, .tabela td small { display: block; font-weight: 400; font-size: 13px; color: var(--nevoa); }
.tabela td { font: 800 24px/1.1 var(--display); color: var(--ouro-claro); text-align: right; white-space: nowrap; }
.tabela td small { font-family: var(--sans); white-space: normal; }
.destaque-preco { font: 800 52px/1 var(--display); color: var(--ouro-claro); }
.destaque-preco small { display: block; font: 600 14px var(--sans); color: var(--nevoa); margin-bottom: 4px; }
.nota-nao { margin-top: 26px; font-size: 14.5px; color: var(--nevoa); }

/* MONTE SEU ORÇAMENTO: o simulador */
.simulador { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.simulador__passos { display: grid; gap: 30px; }
.passo { margin: 0; padding: 0; border: 0; min-width: 0; }
.passo[hidden] { display: none; }
.passo legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font: 700 24px/1 var(--display); }
.passo legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ouro); color: var(--ouro); font-size: 17px; }
.passo legend em { font-style: normal; }
.cor-nome { font: 600 15px var(--sans); color: var(--ouro-claro); }
.opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.opcao { position: relative; display: grid; gap: 2px; min-height: 52px; padding: 10px 16px; text-align: left; font: 600 15.5px/1.25 var(--sans); color: var(--creme); background: var(--noite-2); border: 1px solid var(--linha); border-radius: 4px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.opcao small { font-weight: 500; font-size: 12.5px; color: var(--nevoa); }
.opcao:hover { border-color: var(--ouro); }
.opcao[aria-pressed="true"] { background: var(--ouro); border-color: var(--ouro); color: var(--noite); }
.opcao[aria-pressed="true"] small { color: rgba(14, 13, 11, .7); }
.cores { display: grid; grid-template-columns: repeat(6, 52px); gap: 10px; margin-bottom: 10px; }
.cor { width: 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 50%; background-size: cover; background-position: center; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .25s var(--ease), border-color .25s; }
.cor:hover { transform: scale(1.08); }
.cor[aria-pressed="true"] { border-color: var(--ouro); transform: scale(1.1); box-shadow: 0 0 0 3px var(--noite), 0 0 0 5px var(--ouro); }
.passo--dados { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; margin: 0; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--nevoa); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--creme); background: var(--noite-2); border: 1px solid var(--linha); border-radius: 4px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(212, 161, 46, .25); }
.resumo { position: sticky; top: 96px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); background: var(--noite-2); border: 1px solid var(--linha); border-radius: 6px; }
.resumo::before { content: ""; height: 3px; background: var(--costura); margin: -4px 0 6px; }
.resumo__rotulo { font-size: 14px; font-weight: 700; color: var(--nevoa); }
.resumo__valor { font: 800 clamp(40px, 5vw, 56px)/1 var(--display); color: var(--ouro-claro); font-variant-numeric: tabular-nums; }
.resumo__detalhe { font-size: 14.5px; color: var(--texto); }
.previa { padding: 14px 16px; border-radius: 12px 12px 12px 3px; background: #d9f5c5; color: #10210f; }
.previa__titulo { font-size: 12.5px; font-weight: 700; color: #1a7148; margin-bottom: 4px; }
.previa__texto { white-space: pre-line; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.aviso { font-size: 13px; color: var(--nevoa); }
.pagamento { margin-top: clamp(40px, 5vw, 64px); padding-top: 30px; border-top: 1px solid var(--linha); display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 14px 40px; }
.pagamento ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--texto); }
.pagamento b { color: var(--creme); }

/* TRABALHOS */
.gallery { background: var(--noite-2); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filtros button { min-height: 42px; padding: 0 16px; font: 600 14.5px var(--sans); background: transparent; border: 1px solid var(--linha); border-radius: 4px; cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--ouro); color: var(--noite); border-color: var(--ouro); }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__grid li[hidden] { display: none; }
.gallery__grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.gallery__grid img { width: 100%; height: 340px; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__grid button:hover img { transform: scale(1.05); }

/* AVALIAÇÕES */
.reviews__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; }
.numeros { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 0; }
.numeros div { display: flex; flex-direction: column-reverse; }
.numeros dd { margin: 0; font: 800 64px/1 var(--display); color: var(--ouro-claro); font-variant-numeric: tabular-nums; }
.numeros dt { margin-top: 8px; font-size: 14px; color: var(--nevoa); }
.reviews__links { margin-top: 24px; }

/* ONDE FICA */
.directions { background: var(--noite-2); }
.directions__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.directions__grid > div:first-child { display: grid; gap: 18px; }
.horario { margin: 6px 0; display: grid; gap: 10px; }
.horario div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--linha); }
.horario dt { color: var(--nevoa); }
.horario dd { margin: 0; text-align: right; }
.directions__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--linha); border-radius: 4px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) sepia(.25); }

/* DÚVIDAS */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq__list details { border-top: 1px solid var(--linha); }
.faq__list details:last-child { border-bottom: 1px solid var(--linha); }
.faq__list summary { cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-weight: 700; font-size: 17px; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--ouro); transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { padding-bottom: 20px; color: var(--texto); max-width: 60ch; }

/* RODAPÉ */
.footer { padding: 64px 0 120px; border-top: 1px solid var(--linha); background: #0a0908; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1.2fr; gap: 32px; }
.footer__marca img { width: 200px; }
.footer__marca p { margin-top: 14px; font: 700 19px/1.2 var(--display); color: var(--ouro-claro); }
.footer h3 { font: 700 14px var(--sans); color: var(--nevoa); margin-bottom: 10px; }
.footer__grid p { color: var(--texto); font-size: 15px; overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ouro-claro); text-decoration: underline; }
.footer__bottom { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--nevoa); }
