* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0c0a08;
  --card: #171310;
  --border: #2a221a;
  --amber: #e8a24b;
  --amber-soft: #c9995f;
  --text: #f3ede4;
  --muted: #a89a88;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 96px; /* espaço pro botão fixo do WhatsApp */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Topo com o nome e o menu */
.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 10, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topo .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.marca {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.marca span { color: var(--amber); }
.menu { display: flex; gap: 20px; font-size: 14px; }
.menu a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.menu a:hover { color: var(--text); }
.menu a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }

@media (max-width: 560px) {
  .topo .container { justify-content: center; }
  /* No celular o menu vira uma faixa que desliza pro lado;
     a borda esmaece só do lado onde ainda tem item escondido (classes postas pelo site.js) */
  .menu {
    --esmaece-esq: #000;
    --esmaece-dir: #000;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, var(--esmaece-esq), #000 15%, #000 85%, var(--esmaece-dir));
    mask-image: linear-gradient(90deg, var(--esmaece-esq), #000 15%, #000 85%, var(--esmaece-dir));
  }
  .menu.tem-antes { --esmaece-esq: transparent; }
  .menu.tem-mais { --esmaece-dir: transparent; }
  .menu::-webkit-scrollbar { display: none; }
}

/* Abertura de cada página */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  text-align: center;
}
.hero-foto {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.3;
  filter: saturate(0.8);
}
.hero-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.2) 0%, rgba(12, 10, 8, 0.8) 65%, var(--bg) 100%);
}
.hero .container {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero { padding: 88px 0; text-align: left; }
  .hero .container { grid-template-columns: 1.25fr 0.75fr; }
}
/* Abertura sem vídeo ao lado: texto centralizado */
.hero.so-texto { text-align: center; }
.hero.so-texto .container { grid-template-columns: 1fr; max-width: 760px; }
.hero.so-texto .sub { margin-left: auto; margin-right: auto; }

.local {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.script {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(34px, 8vw, 44px);
  color: var(--amber);
  transform: rotate(-2.5deg);
  text-shadow: 0 2px 18px rgba(232, 162, 75, 0.35);
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  margin: 10px 0 16px;
}
h1 em, h2 em { font-style: italic; color: var(--amber); }
.sub {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
}
@media (min-width: 880px) { .sub { margin-left: 0; } }

/* Botão principal do WhatsApp */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(140deg, #201812, #17110b) padding-box,
    linear-gradient(135deg, var(--amber), #6b4a20 45%, #f2c07a 70%, var(--amber)) border-box;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 16px 28px;
  color: var(--amber);
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(232, 162, 75, 0.18);
  transition: color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.cta svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
@media (max-width: 400px) {
  .cta { gap: 10px; padding: 16px 20px; font-size: 16px; letter-spacing: 0.01em; }
}
.cta:hover {
  background:
    linear-gradient(140deg, #f2c07a, #cf8c36) padding-box,
    linear-gradient(135deg, #f2c07a, #a86c28) border-box;
  color: #1c1206;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(232, 162, 75, 0.45);
}
.cta-nota { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Botão do WhatsApp sempre visível */
.cta-fixa {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--amber);
  color: #1c1206;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.cta-fixa svg { width: 20px; height: 20px; fill: currentColor; }
.cta-fixa:hover { background: #f2c07a; }
@media (min-width: 880px) {
  .cta-fixa { left: auto; right: 24px; bottom: 24px; padding: 14px 24px; }
}

/* Seções */
.secao { padding: 72px 0; border-top: 1px solid var(--border); }
.rotulo {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.texto { max-width: 620px; color: var(--muted); }
.texto p + p { margin-top: 14px; }
.centro { text-align: center; }
.centro .texto { margin: 0 auto; }

/* Onde falta material de vocês */
.falta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  border: 2px dashed rgba(201, 153, 95, 0.55);
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(232, 162, 75, 0.06) 0 12px, transparent 12px 24px);
  color: var(--amber-soft);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.falta strong {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.falta.retrato { aspect-ratio: 4 / 5; width: 100%; max-width: 360px; margin: 0 auto; }
.falta.video { aspect-ratio: 9 / 16; width: 100%; max-width: 300px; margin: 0 auto; }

/* Quem somos / blocos de duas colunas */
.bloco { display: grid; gap: 36px; align-items: center; }
@media (min-width: 880px) { .bloco { grid-template-columns: 0.8fr 1.2fr; } }
.assinatura {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Great Vibes', cursive;
  font-size: 34px;
  color: var(--amber);
  transform: rotate(-2.5deg);
}

/* Cartões dos serviços */
.servicos { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 720px) {
  .servicos { grid-template-columns: 1fr 1fr; }
  /* número ímpar de cartões: o último ocupa a linha toda */
  .servicos > .servico:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
}
@media (min-width: 880px) {
  .servicos:has(> .servico:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .servicos:has(> .servico:nth-child(3):last-child) > .servico:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
.servico {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
}
.servico img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.5s ease; }
.servico:hover img { transform: scale(1.04); }
.servico-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 22px 20px;
  background: linear-gradient(0deg, rgba(12, 10, 8, 0.95), transparent);
}
.servico-info h3 { font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1.2; }
.servico-info span { color: var(--amber); font-size: 14px; font-weight: 600; }
.tambem { margin-top: 22px; color: var(--muted); text-align: center; }
.tambem a { color: var(--amber); }
.tambem strong { color: var(--text); font-weight: 600; }

/* Dois públicos lado a lado (15 anos) */
.pra-quem { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 720px) { .pra-quem { grid-template-columns: 1fr 1fr; } }
.pra-quem div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.pra-quem h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 8px; }
.pra-quem p { color: var(--muted); }

/* Como funciona */
.passos {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 32px;
  counter-reset: passo;
}
@media (min-width: 880px) { .passos { grid-template-columns: repeat(5, 1fr); } }
.passos li {
  counter-increment: passo;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}
@media (min-width: 880px) { .passos li { flex-direction: column; align-items: flex-start; } }
.passos li::before {
  content: counter(passo);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.aviso-data { margin-top: 24px; color: var(--amber-soft); text-align: center; }

/* Avaliações */
.nota { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; text-align: left; line-height: 1.3; }
.nota b { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--text); }
.estrelas { color: var(--amber); letter-spacing: 2px; font-size: 16px; }
.depoimentos { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
@media (min-width: 880px) { .depoimentos { grid-template-columns: repeat(3, 1fr); } }
.depoimentos figure {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.depoimentos blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px; line-height: 1.5; }
.depoimentos figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.link-google { display: inline-block; margin-top: 22px; color: var(--amber); font-size: 14px; }

/* Cidades */
.cidades {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.cidades li { border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: 14px; }

/* Galeria de fotos */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}
@media (min-width: 720px) {
  /* 3 por fileira; se a última fileira ficar incompleta, ela fica centralizada */
  .galeria { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .galeria > * { flex: 0 0 calc((100% - 28px) / 3); max-width: 320px; }
}
@media (max-width: 719px) {
  /* Número ímpar de fotos: a última ocupa a linha toda */
  .galeria > button:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
.galeria button {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: var(--card);
  cursor: zoom-in;
}
.galeria button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galeria button:hover img { transform: scale(1.04); }
.galeria .falta { aspect-ratio: 4 / 5; border-radius: 12px; padding: 12px; font-size: 12px; }

/* Foto ampliada */
.ampliada {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080604;
}
.ampliada[hidden] { display: none; }
.ampliada img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.ampliada button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(23, 19, 16, 0.85);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ampliada .fechar { top: 16px; right: 16px; font-size: 20px; }
.ampliada .anterior { left: 12px; top: 50%; transform: translateY(-50%); }
.ampliada .proxima { right: 12px; top: 50%; transform: translateY(-50%); }
.ampliada .contador { position: absolute; left: 0; right: 0; bottom: 20px; color: var(--muted); font-size: 13px; text-align: center; }

/* Chamada final */
.final .texto { margin-bottom: 28px; }

/* Rodapé */
.rodape { border-top: 1px solid var(--border); padding: 36px 0; color: #8a7c6a; font-size: 13px; text-align: center; }
.rodape a { color: var(--amber-soft); text-decoration: none; }
.rodape p + p { margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
