/* =========================================================
   Studio Adriana Machado — estilos
   Paleta tirada da logo: preto + branco, com um toque champanhe.
   ========================================================= */
:root {
  --preto: #0f0e0d;
  --preto-2: #1a1816;
  --papel: #f8f7f5;
  --areia: #ece4d9;
  --areia-2: #ddd1c1;
  --champanhe: #b8966a;          /* decoração e textos sobre fundo escuro */
  --dourado: #7d5f37;            /* textos pequenos dourados sobre a textura clara */
  --dourado-grande: #8a6a3f;     /* títulos em itálico e números grandes sobre a textura */
  --texto: #2a2724;
  --suave: #5c554e;
  --linha: rgba(15, 14, 13, .12);
  --linha-clara: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largura: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --secao: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  /* textura de folhas em relevo (tile contínuo de 900px exibido em 450px, nítido em telas retina) */
  background: var(--papel) url("../img/textura-folhas.jpg") 0 0 / 450px repeat;
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height: auto mantém a proporção quando a largura encolhe (sem isso o atributo height do HTML "amassa" a imagem) */
img { max-width: 100%; height: auto; display: block; }
.topo__marca img, .sobre__selo, .citacao img { object-fit: contain; }
a { color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--preto);
}
h2 em, .hero__frase em, .cta h2 em { font-style: italic; color: var(--dourado-grande); }
h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--preto); }

.rotulo {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--dourado);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 14px;
}
.rotulo::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.rotulo--claro { color: rgba(255,255,255,.7); }

.secao {
  padding: var(--secao) var(--gutter);
  max-width: calc(var(--largura) + 2 * var(--gutter));
  margin: 0 auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--claro { background: #fff; color: var(--preto); }
.btn--claro:hover { background: var(--champanhe); color: #fff; }
.btn--fantasma { color: #fff; border-color: var(--linha-clara); }
.btn--fantasma:hover { border-color: #fff; }
.btn--escuro { background: var(--preto); color: #fff; }
.btn--escuro:hover { background: var(--champanhe); }
.btn--linha { color: #fff; border-color: rgba(255,255,255,.5); padding: 11px 22px; }
.btn--linha:hover { background: #fff; color: var(--preto); }
.btn--linha-escura { color: var(--preto); border-color: var(--preto); }
.btn--linha-escura:hover { background: var(--preto); color: #fff; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
/* fundo em pseudo-elemento: backdrop-filter no próprio .topo prenderia o menu mobile (position: fixed) dentro do cabeçalho */
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(15,14,13,.92); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--linha-clara);
  opacity: 0; transition: opacity .4s;
}
.topo.rolou { padding: 10px 0; }
.topo.rolou::before { opacity: 1; }
.topo__marca, .topo__menu { position: relative; z-index: 2; }
.topo__inner {
  max-width: calc(var(--largura) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topo__marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.topo__marca img { width: 40px; height: 40px; }
.topo__marca span {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; line-height: 1.3;
  display: flex; flex-direction: column;
}
.topo__marca small { font-size: .6rem; letter-spacing: .5em; opacity: .65; }
.topo__nav { display: flex; align-items: center; gap: 30px; }
.topo__nav a:not(.btn) {
  color: rgba(255,255,255,.8); text-decoration: none;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.topo__nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--champanhe); transition: width .3s;
}
.topo__nav a:not(.btn):hover { color: #fff; }
.topo__nav a:not(.btn):hover::after { width: 100%; }
.topo__menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, #24211e 0%, var(--preto) 70%);
  color: #fff;
  text-align: center;
  padding: 120px var(--gutter) 100px;
  overflow: hidden;
}
.hero__brilho {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 220px at 50% 38%, rgba(255,255,255,.07), transparent 70%);
  animation: respirar 6s ease-in-out infinite;
}
@keyframes respirar { 50% { opacity: .35; } }
.hero__conteudo { position: relative; max-width: 900px; }
.hero__logo {
  width: min(600px, 86vw, 95svh); margin: 0 auto 44px;
  position: relative;
  /* reflexo de luz passando, como no vídeo da logo */
  -webkit-mask-image: linear-gradient(100deg, #000 40%, rgba(0,0,0,.55) 50%, #000 60%);
  -webkit-mask-size: 300% 100%;
  mask-image: linear-gradient(100deg, #000 40%, rgba(0,0,0,.55) 50%, #000 60%);
  mask-size: 300% 100%;
  animation: reflexo 7s ease-in-out infinite;
  opacity: 0; animation: entrar 1.6s .2s ease forwards, reflexo 7s 2s ease-in-out infinite;
}
@keyframes reflexo { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 40%, to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes entrar { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.hero__frase {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15; margin: 0 0 14px;
  opacity: 0; animation: entrar 1.2s .9s ease forwards;
}
.hero__frase em { color: #d9c4a3; }
.hero__sub {
  margin: 0 auto 40px; color: rgba(255,255,255,.66);
  font-size: 1rem; letter-spacing: .04em;
  opacity: 0; animation: entrar 1.2s 1.1s ease forwards;
}
.hero__acoes {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: entrar 1.2s 1.3s ease forwards;
}
.hero__rolar {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 1px; height: 56px; background: var(--linha-clara); overflow: hidden;
}
.hero__rolar span {
  position: absolute; inset: 0 0 auto 0; height: 40%; background: #fff;
  animation: descer 2.2s ease-in-out infinite;
}
@keyframes descer { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Números ---------- */
.numeros {
  background: var(--preto-2); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linha-clara);
}
.numeros__item {
  padding: 38px 20px; text-align: center;
  border-right: 1px solid var(--linha-clara);
}
.numeros__item:last-child { border-right: 0; }
.numeros strong {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1;
}
.numeros strong i { font-style: normal; color: var(--champanhe); font-size: .6em; vertical-align: .25em; }
.numeros span {
  display: block; margin-top: 10px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* ---------- Placeholder de foto ----------
   Troque cada <div class="ph"> por <img src="img/sua-foto.jpg" alt="..."> */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, var(--areia) 0%, var(--areia-2) 100%);
  aspect-ratio: 4 / 5;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/monograma-preto.png") center / 34% no-repeat;
  opacity: .07;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 16px; bottom: 14px;
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--suave);
}
img.foto { width: 100%; height: 100%; object-fit: cover; }
.moldura { overflow: hidden; background: var(--areia); }
.moldura--retrato { aspect-ratio: 4 / 5; }

/* ---------- Sobre ---------- */
.sobre {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.sobre__foto { position: relative; }
.ph--retrato { aspect-ratio: 4 / 5; }
.sobre__selo {
  position: absolute; right: -36px; bottom: -36px;
  width: 120px; height: 120px; padding: 18px;
  background: var(--papel); border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.sobre__texto h2 { margin-bottom: 28px; }
.sobre__texto p:not(.rotulo) { margin: 0 0 18px; color: var(--suave); }
.sobre__assinatura {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  color: var(--preto) !important; margin-top: 32px !important;
  display: flex; flex-direction: column; line-height: 1.2;
}
.sobre__assinatura span {
  font-family: var(--sans); font-style: normal; font-size: .66rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--dourado); margin-top: 8px;
}

/* ---------- Serviços ---------- */
.servicos { border-top: 1px solid var(--linha); }
.cabecalho-secao { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.cabecalho-secao h2 { margin-bottom: 18px; }
.cabecalho-secao > p:last-child { color: var(--suave); margin: 0; }
.cabecalho-secao--linha {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.servicos__grade {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px);
}
.servico { background: #fff; display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.servico:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(15,14,13,.25); }
.servico { border-top: 2px solid var(--preto); position: relative; overflow: hidden; }
.servico::after {
  content: ""; position: absolute; right: -28px; bottom: -28px; width: 130px; height: 130px;
  background: url("../img/monograma-preto.png") center / contain no-repeat; opacity: .05;
  transition: opacity .4s, transform .6s;
}
.servico:hover::after { opacity: .1; transform: rotate(-8deg) scale(1.05); }
.servico__foto { aspect-ratio: 4 / 3; overflow: hidden; background: var(--areia); }
.servico__foto img { transition: transform 1s ease; }
.servico:hover .servico__foto img { transform: scale(1.05); }
.servico__corpo { padding: 40px 32px 36px; display: flex; flex-direction: column; flex: 1; }
.servico__num {
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: 0;
  color: var(--dourado-grande); margin-bottom: 22px;
}
.servico h3 { margin-bottom: 10px; }
.servico p { margin: 0 0 22px; color: var(--suave); font-size: .96rem; flex: 1; }
.servico__link {
  align-self: flex-start;
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--preto); padding-bottom: 6px; border-bottom: 1px solid var(--preto);
  transition: color .3s, border-color .3s, gap .3s; display: inline-flex; gap: 8px;
}
.servico__link:hover { color: var(--dourado); border-color: var(--dourado); gap: 14px; }

/* ---------- Citação ---------- */
.citacao {
  background: var(--preto); color: #fff; text-align: center;
  padding: clamp(80px, 11vw, 150px) var(--gutter);
}
.citacao img { width: 64px; margin: 0 auto 36px; opacity: .8; }
.citacao blockquote { margin: 0 auto 28px; max-width: 860px; }
.citacao blockquote p {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.3;
}
.citacao .rotulo { justify-content: center; }
.citacao .rotulo::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Galeria ---------- */
.galeria__grade {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
.galeria__item {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--areia);
}
.galeria__item:nth-child(even) { transform: translateY(40px); }
.galeria__item img { transition: transform 1s ease; }
.galeria__item:hover img { transform: scale(1.04); }
.galeria__item::after {
  content: ""; position: absolute; inset: 55% 0 0 0;
  background: linear-gradient(transparent, rgba(15,14,13,.65));
  pointer-events: none;
}
.galeria__item figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  color: #fff; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
}
.galeria { padding-bottom: calc(var(--secao) + 40px); }

/* ---------- Depoimentos ---------- */
.depoimentos { border-top: 1px solid var(--linha); }
.depoimentos__nota { display: flex; align-items: center; gap: 12px; color: var(--suave); font-size: .92rem; }
.estrelas { color: var(--dourado-grande); letter-spacing: .18em; font-size: 1rem; }
.depoimentos__trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--areia-2) transparent;
}
.depo {
  margin: 0; background: #fff; padding: 36px 32px; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  border-top: 2px solid var(--champanhe);
}
.depo blockquote { margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; color: var(--preto); }
.depo figcaption { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--suave); }
.depoimentos__mais { margin: 28px 0 0; }
.depoimentos__mais a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid; padding-bottom: 4px; }
.depoimentos__mais a:hover { color: var(--dourado); }

/* ---------- Visite ---------- */
.visite {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--linha);
}
.visite__info h2 { margin-bottom: 40px; }
.visite__bloco { padding: 22px 0; border-top: 1px solid var(--linha); }
.visite__bloco h3 {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--dourado); margin-bottom: 10px; font-weight: 400;
}
.visite__bloco p { margin: 0; }
.visite__bloco a { text-decoration: none; }
.visite__bloco a:hover { color: var(--dourado); }
.horarios { margin: 0; }
.horarios div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.horarios dt, .horarios dd { margin: 0; }
.horarios dd { color: var(--suave); }
.horarios__hoje { margin-top: 10px !important; font-size: .86rem; display: flex; align-items: center; gap: 8px; }
.horarios__hoje::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cor, #5a9a6b); }
.visite__acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* moldura tipo quadro: passe-partout branco + filete + sombra, para o mapa não se misturar ao fundo claro */
.visite__mapa {
  position: relative; min-height: 420px;
  background: #fff;
  border: 1px solid var(--linha);
  border-top: 2px solid var(--preto);
  box-shadow: 0 24px 50px -28px rgba(15,14,13,.35);
}
.visite__mapa iframe {
  position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px);
  border: 1px solid var(--linha); filter: grayscale(1) contrast(1.05);
}

/* ---------- CTA final ---------- */
.cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, #2a2521 0%, var(--preto) 70%);
  color: #fff; text-align: center;
  padding: clamp(90px, 12vw, 160px) var(--gutter);
}
.cta .rotulo { justify-content: center; }
.cta .rotulo::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.cta h2 { color: #fff; margin-bottom: 20px; }
.cta h2 em { color: #d9c4a3; }
.cta p:not(.rotulo) { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 40px; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--preto); color: rgba(255,255,255,.6);
  text-align: center; padding: 70px var(--gutter) 40px;
  border-top: 1px solid var(--linha-clara);
}
.rodape__logo { width: 260px; margin: 0 auto 36px; opacity: .9; }
.rodape__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 26px; }
.rodape__nav a { text-decoration: none; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; }
.rodape__nav a:hover { color: #fff; }
.rodape__end { font-size: .9rem; margin: 0 0 30px; }
.rodape__copy { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; opacity: .5; }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--preto); color: #fff;
  border: 1px solid var(--linha-clara);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s, background .3s;
}
.wa-flutuante:hover { transform: scale(1.06); background: #25d366; }

/* ---------- Animação ao rolar ---------- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.revelar.visivel { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .servicos__grade { grid-template-columns: repeat(2, 1fr); }
  .sobre, .visite { grid-template-columns: 1fr; }
  .sobre__foto { max-width: 520px; }
  .sobre__selo { right: 16px; bottom: -36px; }
  .galeria__grade { grid-template-columns: repeat(2, 1fr); }
  .galeria__item:nth-child(even) { transform: translateY(32px); }
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .numeros__item:nth-child(2) { border-right: 0; }
  .numeros__item:nth-child(-n+2) { border-bottom: 1px solid var(--linha-clara); }
}

@media (max-width: 820px) {
  .topo__menu {
    display: grid; gap: 7px; place-content: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
  }
  .topo__menu span { display: block; width: 26px; height: 1px; background: #fff; transition: transform .3s; }
  .topo__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .topo__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .topo__nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--preto);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .topo__nav.aberto { opacity: 1; visibility: visible; }
  .topo__nav a:not(.btn) { font-size: .9rem; }
  .topo__nav .btn { margin-top: 12px; padding: 15px 32px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topo__marca span { display: none; }
  .servicos__grade { grid-template-columns: 1fr; }
  .servico__corpo { padding: 24px 22px 28px; }
  .hero__acoes .btn { width: 100%; }
  .galeria__grade { gap: 10px; }
  .galeria__item figcaption { left: 12px; bottom: 12px; font-size: .58rem; letter-spacing: .2em; }
  .depoimentos__trilho { grid-auto-columns: 86%; }
  .visite__mapa { min-height: 320px; }
  .visite__acoes .btn { flex: 1; }
  .numeros__item { padding: 28px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__logo, .hero__frase, .hero__sub, .hero__acoes { opacity: 1; }
  .revelar { opacity: 1; transform: none; }
}
