@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --creme: #f7f1ea;
  --creme-2: #efe5d9;
  --papel: #fffbf6;
  --tinta: #3f2d22;
  --tinta-2: #6b5243;
  --ouro: #a97c55;
  --ouro-texto: #87603f;
  --linha: #ddcdbb;
  --borda: #9a7f63; /* borda de botão: 3,35:1 no creme (WCAG 1.4.11) */
  --verde: #2c4636;
  --verde-hover: #233a2c;
  --radius: 0.75rem;
  --sombra: 0 1px 2px rgba(63, 45, 34, .06), 0 8px 24px -12px rgba(63, 45, 34, .18);
  --curva: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Onest", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--creme);
  min-height: 100dvh;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: var(--radius); }

.pagina { display: grid; min-height: 100dvh; }

/* Foto do salão */
.foto { position: relative; height: 46vh; min-height: 280px; max-height: 440px; overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(247, 241, 234, 0) 45%, var(--creme) 100%);
}

.coluna { width: 100%; max-width: 30rem; margin: 0 auto; padding: 0 1.25rem 2.5rem; }

/* Marca */
.marca { position: relative; text-align: center; margin-top: -5.5rem; z-index: 1; }
.selo {
  width: 7.5rem; height: 7.5rem; margin: 0 auto; border-radius: 50%;
  background: var(--papel); box-shadow: var(--sombra);
  display: grid; place-items: center; border: 1px solid var(--linha);
}
.selo img { width: 4.6rem; height: auto; }
h1 {
  font-family: "Newsreader", Georgia, serif; font-weight: 500;
  font-size: 2.75rem; line-height: 1; letter-spacing: -.01em;
  color: var(--tinta); margin-top: 1rem;
}
.sub {
  font-size: .75rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ouro-texto); margin-top: .6rem;
}
.frase {
  font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.4;
  color: var(--tinta-2); margin: 1.1rem auto 0; max-width: 22rem;
}

/* Ações principais */
.acoes { display: grid; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; padding: .9rem 1.25rem; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--curva), transform .18s var(--curva), border-color .18s var(--curva);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.3rem; height: 1.3rem; flex: none; }
.btn-principal { background: var(--verde); color: var(--papel); border: 0; box-shadow: var(--sombra); }
.btn-principal:hover { background: var(--verde-hover); }
.btn-principal small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }
.btn-principal span { text-align: left; line-height: 1.25; }
.par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 359px) { .par { grid-template-columns: 1fr; } }
.btn-linha {
  background: var(--papel); color: var(--tinta); border: 1px solid var(--borda);
  font-size: .95rem; font-weight: 500; min-height: 3.25rem; padding: .75rem .6rem; gap: .45rem; white-space: nowrap;
}
.btn-linha:hover { border-color: var(--tinta); }
.btn-linha svg { color: var(--ouro-texto); width: 1.15rem; height: 1.15rem; }

/* Serviços */
section { margin-top: 2.75rem; }
h2 {
  font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 1.6rem; line-height: 1.15;
  color: var(--tinta);
}
.dica { color: var(--tinta-2); font-size: .95rem; margin-top: .35rem; }
.servicos { list-style: none; padding: 0; margin-top: 1.1rem; border-top: 1px solid var(--linha); }
.servicos a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem .25rem; border-bottom: 1px solid var(--linha); text-decoration: none;
  transition: background-color .18s var(--curva), padding .18s var(--curva);
}
.servicos a:hover { background: var(--creme-2); padding-left: .6rem; padding-right: .6rem; }
.servicos strong { font-weight: 500; font-size: 1.02rem; display: block; }
.servicos .o-que { font-size: .85rem; color: var(--tinta-2); display: block; margin-top: .1rem; }
.servicos .seta { color: var(--ouro-texto); flex: none; width: 1.1rem; height: 1.1rem; }

/* Onde */
.onde {
  margin-top: 1.1rem; padding: 1.25rem; border-radius: var(--radius);
  background: var(--papel); border: 1px solid var(--linha);
}
.onde address { font-style: normal; font-size: 1.02rem; line-height: 1.45; }
.onde address span { color: var(--tinta-2); font-size: .95rem; }
.onde .par { margin-top: 1rem; }

/* Redes */
.redes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.1rem; }
.redes a {
  display: grid; justify-items: center; gap: .35rem; padding: 1rem .5rem; border-radius: var(--radius);
  background: var(--papel); border: 1px solid var(--borda); text-decoration: none;
  font-size: .85rem; font-weight: 500; color: var(--tinta);
  transition: border-color .18s var(--curva), transform .18s var(--curva);
}
.redes a:hover { border-color: var(--tinta); transform: translateY(-1px); }
.redes svg { width: 1.5rem; height: 1.5rem; color: var(--ouro-texto); }

footer { margin-top: 2.75rem; text-align: center; font-size: .85rem; color: var(--tinta-2); }
footer button {
  font: inherit; color: var(--tinta); background: none; border: 1px solid var(--borda);
  border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer; min-height: 2.75rem;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: border-color .18s var(--curva);
}
footer button:hover { border-color: var(--tinta); }
footer button svg { width: 1rem; height: 1rem; }
footer p { margin-top: 1rem; }
footer .ornamento { width: 2.25rem; height: auto; margin: 0 auto 1rem; opacity: .7; }
.aviso { min-height: 1.25rem; margin-top: .5rem; font-size: .85rem; color: var(--verde); }

/* Entrada suave */
@media (prefers-reduced-motion: no-preference) {
  .marca, .acoes, section { animation: subir .5s var(--curva) both; }
  .acoes { animation-delay: .06s; }
  section { animation-delay: .12s; }
  @keyframes subir { from { opacity: 0; transform: translateY(10px); } }
}

/* Computador: foto à esquerda, conteúdo à direita */
@media (min-width: 960px) {
  .pagina { grid-template-columns: 1fr 1fr; }
  .foto { position: sticky; top: 0; height: 100dvh; max-height: none; }
  .foto::after { background: linear-gradient(to right, rgba(247, 241, 234, 0) 70%, rgba(247, 241, 234, .35) 100%); }
  .coluna { padding: 4rem 2.5rem; }
  .marca { margin-top: 0; }
}

/* Página 404 */
.erro { padding-top: 6rem; }
.erro .marca { margin-top: 0; }
