/* ============================================================
   PÁGINA DE AGENDAMENTO — STUDIO GABRIELA MENEZES
   Layout de página de vendas (abertura, serviços, trabalhos, agendar)
   com as cores da logo: taupe #a09078 e marrom-acinzentado #685848.
   Carregado depois de style.css / auth.css / agendar.css, então as
   variáveis abaixo trocam o tema do formulário também.
   ============================================================ */

body.gabi-page {
  --g-taupe: #a09078;
  --g-taupe-claro: #d9cfc0;
  --g-areia: #efe8de;
  --g-creme: #f9f5ef;
  --g-marrom: #5b4d44;
  --g-marrom-forte: #3f342d;

  --bg-primary: var(--g-creme);
  --bg-secondary: var(--g-creme);
  --bg-card: #ffffff;
  --bg-input: #fbf8f4;
  --bg-hover: var(--g-areia);
  --text-primary: var(--g-marrom-forte);
  --text-secondary: #7a6c62;
  --text-muted: #9a8c80;
  --border-color: #e2d8ca;
  --border-light: rgba(91, 77, 68, 0.12);
  --shadow: rgba(91, 77, 68, 0.10);
  --shadow-modal: rgba(91, 77, 68, 0.14);
  --color-accent: #7d6b54;
  --color-accent-hover: #67563f;

  margin: 0;
  background: var(--g-creme);
  color: var(--g-marrom-forte);
  font-family: 'Jost', Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

.gabi-page h1,
.gabi-page h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--g-marrom-forte);
  letter-spacing: 0.01em;
  margin: 0;
}
.gabi-page em { font-style: italic; color: var(--g-taupe); }

.g-env { width: min(1040px, 100% - 40px); margin: 0 auto; }
.g-env-estreito { width: min(560px, 100% - 32px); }

/* ---------- Botões ---------- */
.g-bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  font: 500 0.95rem 'Jost', sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.g-bt-cheio { background: var(--color-accent); color: #fff; }
.g-bt-cheio:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.g-bt-vazio { background: transparent; color: var(--color-accent); }
.g-bt-vazio:hover { background: var(--g-areia); }

/* ---------- Cabeçalho ---------- */
.g-cab {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.g-cab-in {
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.g-cab-marca {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--g-marrom-forte);
  text-decoration: none;
}
.g-cab-marca img { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; display: block; }
.g-cab-nome {
  font: 600 0.78rem 'Jost', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.g-cab-sub { color: var(--color-accent); }
.g-cab-nav { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.g-cab-nav a:not(.g-bt) {
  color: var(--g-marrom);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.g-cab-nav a:not(.g-bt):hover { color: var(--g-taupe); }
.g-cab-nav .g-bt { padding: 11px 26px; border-radius: 10px; font-size: 0.92rem; font-weight: 600; box-shadow: 0 8px 20px rgba(91, 77, 68, 0.22); }
/* Botão do topo em duas linhas ("Agendar / Agora"), mantendo o tamanho de antes. */
.g-cab-nav .g-bt-duas { padding: 8px 26px; font-size: 0.74rem; line-height: 1.2; letter-spacing: 0.06em; text-align: center; }

@media (max-width: 920px) {
  /* telas médias: só o nome, pra não quebrar em duas linhas */
  .g-cab-sub { display: none; }
}

/* ---------- Abertura ---------- */
.g-hero {
  text-align: center;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--g-areia) 0%, var(--g-creme) 100%);
}
/* O PNG da logo tem muita margem em volta; recorta só a área da assinatura. */
.g-hero-logo { margin: 0 auto 18px; width: min(340px, 78vw); aspect-ratio: 430 / 220; overflow: hidden; }
.g-hero-logo img { display: block; width: 116.7%; max-width: none; height: auto; margin-left: -12.8%; margin-top: -32.6%; }
.g-rotulo {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--g-taupe);
  margin-bottom: 14px;
}
.g-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.12; max-width: 14em; margin: 0 auto; }
.g-sub { max-width: 34em; margin: 18px auto 0; color: var(--text-secondary); font-size: 1.05rem; }
/* Em tela larga a frase de abertura fica em uma linha só; no celular quebra normalmente. */
@media (min-width: 820px) { .g-sub { max-width: none; white-space: nowrap; } }
.g-acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Blocos ---------- */
.g-bloco { padding: 68px 0; }
.g-bloco-alt { background: var(--g-areia); }
.g-centro { text-align: center; margin-bottom: 36px; }
.g-centro h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }

/* ---------- Serviços ---------- */
.g-itens {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}
.g-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s ease, padding 0.2s ease;
}
.g-item:first-child { border-top: 1px solid var(--border-color); }
.g-item:hover { background: rgba(160, 144, 120, 0.10); padding-left: 12px; padding-right: 12px; }
.g-item-txt { display: flex; flex-direction: column; gap: 2px; }
.g-item-nome {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--g-marrom-forte);
  line-height: 1.2;
}
.g-item-tempo { font-size: 0.82rem; color: var(--text-secondary); letter-spacing: 0.04em; }
.g-item-tempo b { font-weight: 500; color: var(--g-taupe); }
.g-preco {
  font-variant-numeric: lining-nums;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}
.g-rs { font-size: 0.85rem; font-weight: 500; margin-right: 2px; }
.g-dica { text-align: center; margin: 18px 0 0; font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Trabalhos ---------- */
/* Todos os quadros têm a mesma altura (--g-alt); a largura vem de quantas
   fotos tem o quadro (--n: 1, 2 ou 3 fotos 3:4 lado a lado). */
.g-carrossel { --g-alt: 340px; position: relative; }
.g-trilho {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.g-trilho::-webkit-scrollbar { display: none; }
/* Um quadro por vez: cada figura ocupa a largura toda do carrossel, então nunca
   aparece um pedaço do próximo serviço na borda. */
.g-trilho figure { --n: 1; flex: 0 0 100%; min-width: 0; max-width: 100%; box-sizing: border-box; padding: 0 10px; margin: 0; display: flex; flex-direction: column; align-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.g-trilho figure.g-dupla { --n: 2; }
.g-trilho figure.g-tripla { --n: 3; }
.g-moldura {
  /* --r = largura/altura de cada foto (padrão 3:4); a figure define outro valor quando a foto tem outra proporção.
     Se o carrossel for mais estreito que o quadro, o quadro encolhe mantendo a proporção (as fotos nunca são cortadas dos lados). */
  width: min(calc(var(--g-alt) * var(--r, 0.75) * var(--n)), 100%);
  height: auto;
  aspect-ratio: calc(var(--r, 0.75) * var(--n)) / 1;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 3px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--g-taupe-claro);
  box-shadow: 0 10px 30px var(--shadow);
}
.g-moldura img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; display: block; }

/* Setas: ficam nas laterais do carrossel (por cima da foto em telas menores). */
.g-seta {
  position: absolute;
  top: calc(var(--g-alt) / 2 + 4px);
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--g-marrom);
  cursor: pointer;
  /* contorno claro pra a seta não sumir caso passe por cima de uma foto */
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.85));
  transition: opacity 0.2s ease, color 0.2s ease;
}
.g-seta svg { display: block; }
.g-seta:hover:not(:disabled) { color: var(--color-accent); }
.g-seta:disabled { opacity: 0; pointer-events: none; }
.g-seta-esq { left: 6px; }
.g-seta-dir { right: 6px; }
@media (min-width: 1160px) {
  .g-seta-esq { left: -56px; }
  .g-seta-dir { right: -56px; }
}
@media (max-width: 640px) {
  .g-carrossel { --g-alt: 300px; }
  .g-seta { width: 34px; height: 56px; }
  .g-seta svg { width: 22px; height: 44px; }
}

.g-vazia {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--g-taupe-claro), #c9bca9);
  color: rgba(91, 77, 68, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.g-trilho figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g-marrom);
}
.g-arraste { text-align: center; margin: 4px 0 0; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Agendamento em 4 etapas (js/agendar-gabi.js) ---------- */
.g-sub-sec { margin: 12px auto 0; max-width: 34em; color: var(--text-secondary); }

.ag-aviso {
  margin: 0 auto 20px;
  max-width: 640px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff7e6;
  border: 1px solid #f0d9a8;
  color: #6b5320;
  font-size: 0.92rem;
  text-align: center;
}
.ag-aviso a { color: #1a7f4b; font-weight: 600; white-space: nowrap; }

/* Indicador das etapas */
.ag-passos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}
.ag-passo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font: 500 0.82rem 'Jost', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ag-passo:disabled { cursor: default; opacity: 0.55; }
.ag-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 0.8rem;
  letter-spacing: 0;
}
.ag-passo.is-ativo { border-color: var(--color-accent); color: var(--g-marrom-forte); background: #fff; }
.ag-passo.is-ativo .ag-num { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.ag-passo.is-feito .ag-num { background: var(--g-taupe); border-color: var(--g-taupe); color: #fff; }
.ag-passo.is-feito { color: var(--g-marrom); }

.ag-painel { max-width: 1040px; margin: 0 auto; }
.ag-painel h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--g-marrom-forte);
}
.ag-ajuda { margin: 0 0 22px; color: var(--text-secondary); font-size: 0.95rem; }
.ag-hint { color: var(--text-secondary); font-size: 0.92rem; }

/* 1 — serviços */
.ag-servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 128px;
  padding: 18px 18px 14px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--g-marrom-forte);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ag-card:hover { border-color: var(--g-taupe); box-shadow: 0 8px 22px var(--shadow); transform: translateY(-1px); }
.ag-card-nome {
  padding-right: 34px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}
.ag-card-marca {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--g-creme);
}
.ag-card-rodape {
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.ag-card.is-selecionado { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.ag-card.is-selecionado .ag-card-marca { background: var(--color-accent); border-color: var(--color-accent); box-shadow: inset 0 0 0 5px #fff; }

/* 2 — dias (faixa que arrasta pro lado) */
.ag-dias {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
}
.ag-dia {
  flex: 0 0 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 12px 6px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--g-marrom-forte);
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ag-dia:hover:not(:disabled) { border-color: var(--g-taupe); }
.ag-dia:disabled { cursor: default; background: transparent; color: #b3a79b; }
.ag-dia-sem { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; }
.ag-dia-num { font-variant-numeric: lining-nums; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 600; line-height: 1.1; }
.ag-dia-mes { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-secondary); }
.ag-dia:disabled .ag-dia-mes { color: #b3a79b; }
.ag-dia-vaga { margin-top: 4px; font-size: 0.7rem; color: var(--color-accent); }
.ag-dia:disabled .ag-dia-vaga { color: #b3a79b; }
.ag-dia.is-selecionado { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }

/* 3 — horários */
.ag-horarios { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ag-horarios .ag-hint { grid-column: 1 / -1; }
.ag-hora {
  padding: 14px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--g-marrom-forte);
  font: 600 1rem 'Jost', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ag-hora:hover:not(:disabled) { border-color: var(--color-accent); }
.ag-hora:disabled { cursor: default; background: transparent; border-color: transparent; color: #b3a79b; text-decoration: line-through; font-weight: 400; }
.ag-hora.is-selecionado { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* 4 — dados */
.ag-painel[data-painel="4"] { max-width: 560px; }
.ag-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 14px 40px var(--shadow);
}
.ag-form label { display: flex; flex-direction: column; gap: 8px; }
.ag-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--g-marrom); }
.ag-form input[type="text"],
.ag-form input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--g-marrom-forte);
  font: 400 1rem 'Jost', sans-serif;
}
.ag-form input[type="text"]:focus,
.ag-form input[type="tel"]:focus { outline: none; border-color: var(--g-taupe); box-shadow: 0 0 0 3px rgba(160, 144, 120, 0.22); }
.ag-resumo { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--border-color); display: grid; gap: 8px; }
.ag-resumo > div { display: flex; justify-content: space-between; gap: 16px; }
.ag-resumo dt { color: var(--text-secondary); }
.ag-resumo dd { margin: 0; font-weight: 600; text-align: right; color: var(--g-marrom-forte); }
.ag-form .ag-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.8rem; line-height: 1.45; color: var(--text-secondary); }
.ag-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-accent); }
.ag-consent a { color: var(--color-accent); font-weight: 600; }
.ag-erro { padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #a12d22; font-size: 0.9rem; }
.ag-enviar { width: 100%; padding: 15px 20px; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ag-enviar:disabled { opacity: 0.7; cursor: default; }

.ag-sucesso {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 14px 40px var(--shadow);
}
.ag-sucesso h3 { margin: 0 0 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; }
.ag-sucesso p { margin: 8px 0; color: var(--text-secondary); }
.ag-sucesso .ag-sucesso-resumo { color: var(--g-marrom-forte); font-weight: 600; }
.ag-whats { text-align: center; margin: 26px 0 0; font-size: 1.1rem; color: var(--text-secondary); }
.ag-whats a { display: block; margin-top: 6px; color: #1a7f4b; font-weight: 600; }

@media (max-width: 860px) {
  .ag-servicos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ag-servicos { grid-template-columns: 1fr; }
  .ag-card { min-height: 0; gap: 12px; }
  /* No celular só a etapa atual mostra o nome; as outras ficam só com o número. */
  .ag-passos { gap: 4px; margin-bottom: 24px; flex-wrap: nowrap; }
  .ag-passo { padding: 4px; }
  .ag-passo:not(.is-ativo) .ag-rot { display: none; }
  .ag-passo.is-ativo { padding-right: 14px; }
  .ag-painel h3 { font-size: 1.5rem; }
  .ag-dia { flex-basis: 78px; }
  .ag-horarios { grid-template-columns: repeat(3, 1fr); }
  .ag-form { padding: 20px 16px; }
}

/* ---------- Rodapé ---------- */
.g-rodape {
  text-align: center;
  padding: 36px 16px 44px;
  background: var(--g-areia);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.g-rodape img { width: 130px; height: 130px; object-fit: contain; margin: -14px 0 -10px; } /* o PNG da logo tem margem em volta, por isso a margem negativa */
.g-rodape p { margin: 6px 0 0; }
.g-rodape a { color: var(--color-accent); }
.g-rodape .g-rodape-app { margin-top: 34px; }
/* O texto do endereço fica centralizado na página; o ícone fica à esquerda dele, fora do centro. */
.g-endereco { margin: 16px 0 6px; font-size: 1rem; }
.g-endereco a { position: relative; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.g-endereco .g-pin { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 12px; width: 30px; height: 30px; }
@media (max-width: 700px) {
  /* celular: o endereço quebra em linhas, então o ícone volta pra dentro, ao lado do texto */
  .g-endereco a { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
  .g-endereco .g-pin { position: static; transform: none; margin-right: 0; flex: 0 0 auto; }
}

@media (max-width: 640px) {
  .g-cab-nav a:not(.g-bt) { display: none; }
  .g-cab-in { min-height: 68px; }
  .g-cab-marca img { width: 46px; height: 46px; }
  .g-cab-nome { font-size: 0.7rem; letter-spacing: 0.12em; }
  .g-cab-sub { display: none; }
  .g-cab-nav .g-bt, .g-cab-nav .g-bt-duas { padding: 7px 18px; }
  .g-bloco { padding: 52px 0; }
  .g-item-nome { font-size: 1.2rem; }
  .g-preco { font-size: 1.35rem; }
}

/* ---------- Tela do sinal por Pix (entre "Dados" e a mensagem final) ---------- */
.ag-sinal {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 14px 40px var(--shadow);
  overflow: hidden;
}
.ag-sinal-topo { padding: 28px 24px 22px; text-align: center; border-bottom: 1px dashed var(--border-color); }
.ag-sinal-selo { display: block; margin-bottom: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g-marrom); }
.ag-sinal-topo h3 { margin: 0 0 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.7rem; font-weight: 600; line-height: 1.2; }
.ag-sinal-topo p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.ag-sinal-resumo { margin: 0; padding: 18px 24px 4px; display: grid; gap: 12px; }
.ag-sinal-resumo > div { display: flex; justify-content: space-between; gap: 16px; }
.ag-sinal-resumo dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-secondary); align-self: center; }
.ag-sinal-resumo dd { margin: 0; text-align: right; color: var(--g-marrom-forte); }
.ag-pix {
  margin: 18px 24px 0;
  padding: 16px;
  text-align: center;
  border: 1px dashed var(--color-accent);
  border-radius: 14px;
}
.ag-pix-rot { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary); }
.ag-pix-chave { display: block; margin: 8px 0 12px; font-size: 1.15rem; letter-spacing: 0.04em; color: var(--g-marrom-forte); word-break: break-all; }
.ag-pix-copiar {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--g-marrom-forte);
  font: 600 0.95rem 'Jost', sans-serif;
  cursor: pointer;
}
.ag-pix-copiar:hover { border-color: var(--g-taupe); }
.ag-sinal-whats {
  display: block;
  margin: 18px 24px 0;
  padding: 15px 20px;
  text-align: center;
  border-radius: 999px;
  background: #1a7343;
  color: #fff;
  font: 600 1rem 'Jost', sans-serif;
  text-decoration: none;
}
.ag-sinal-whats:hover { background: #15603a; }
.ag-sinal-depois {
  display: block;
  margin: 14px auto 22px;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font: 400 0.88rem 'Jost', sans-serif;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 560px) {
  .ag-sinal-topo { padding: 24px 16px 18px; }
  .ag-sinal-resumo { padding: 16px 16px 4px; }
  .ag-pix, .ag-sinal-whats { margin-left: 16px; margin-right: 16px; }
}

.ag-pix-titular { display: block; margin: -4px 0 12px; font-size: 0.88rem; color: var(--text-secondary); }

/* ---------- Pop-up com os detalhes do serviço ---------- */
body.g-modal-aberto { overflow: hidden; }
.g-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.g-modal-fundo { position: absolute; inset: 0; background: rgba(63, 52, 45, 0.55); backdrop-filter: blur(3px); }
.g-modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 100%;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(63, 52, 45, 0.35);
}
.g-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--g-marrom);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(63, 52, 45, 0.18);
}
.g-modal-x:hover { color: var(--color-accent); }
/* foto inteira, sem cortar (object-fit: contain) */
.g-modal-foto { background: var(--g-areia); display: grid; place-items: center; }
.g-modal-foto img { display: block; width: 100%; max-height: 52vh; object-fit: contain; }
.g-modal-corpo { padding: 22px 24px 26px; text-align: center; }
.g-modal-corpo h3 { margin: 0 0 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; font-weight: 600; line-height: 1.15; color: var(--g-marrom-forte); }
.g-modal-meta { margin: 0 0 14px; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--color-accent); font-weight: 500; }
.g-modal-desc { margin: 0 0 20px; text-align: left; color: var(--text-secondary); font-size: 0.98rem; line-height: 1.6; }
.g-modal-desc p { margin: 0 0 10px; }
.g-modal-desc p:last-child { margin-bottom: 0; }
.g-modal-agendar { width: 100%; padding: 14px 20px; font-size: 1rem; }
@media (max-width: 560px) {
  .g-modal { padding: 10px; }
  .g-modal-foto img { max-height: 44vh; }
  .g-modal-corpo { padding: 18px 18px 22px; }
}

.ag-final-whats { margin: 20px auto 0; max-width: 420px; }
