/* Estilos das páginas de serviço (abertura escura, cards, FAQ, chamadas). */
/* ── ABERTURA (palco escuro: muda a percepção de página em relação à home) ── */
.p-hero {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: min(680px, calc(100vh - 72px));
  background: var(--dark);
  color: var(--cream);
}
.p-hero-text {
  padding: 4rem var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-hero .breadcrumb, .p-hero .breadcrumb a { color: rgba(250,248,244,0.65); border-color: rgba(250,248,244,0.25); }
.p-hero .breadcrumb a:hover { color: var(--cream); border-color: var(--cream); }
.p-hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.04;
  max-width: 16ch;
  text-wrap: balance;
  animation: fadeUp 0.5s var(--ease-out) both;
}
.p-hero h1 em { font-style: italic; font-weight: 600; color: var(--gold-light); }
.p-hero-desc {
  font-size: 16px;
  color: rgba(250,248,244,0.75);
  line-height: 1.8;
  font-weight: 300;
  max-width: 46ch;
  margin: 1.4rem 0 1.6rem;
  animation: fadeUp 0.5s 0.06s var(--ease-out) both;
}
.p-hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s 0.1s var(--ease-out) both;
}
.p-hero-chips a {
  display: inline-block;
  font-size: 13px;
  color: var(--cream);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(250,248,244,0.22);
  border-radius: 999px;
  transition: border-color 0.2s, background-color 0.2s;
}
.p-hero-chips a:hover { border-color: var(--gold-light); background: rgba(212,162,32,0.1); }
.p-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.14s var(--ease-out) both;
}
.btn-gold {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: var(--gold-light);
  color: var(--dark);
  text-decoration: none;
  padding: 15px 28px;
  display: inline-block;
  transition: background-color 0.2s, transform 0.16s ease-out;
}
.btn-gold:hover { background: #e2b236; }
.btn-gold:active { transform: scale(0.97); }
.p-hero .btn-ghost { color: rgba(250,248,244,0.75); }
.p-hero .btn-ghost:hover { color: var(--cream); }
.p-hero-facts {
  display: flex;
  gap: 2.25rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(250,248,244,0.14);
  font-size: 13px;
  color: rgba(250,248,244,0.65);
  animation: fadeUp 0.5s 0.18s var(--ease-out) both;
}
.p-hero-facts strong { display: block; color: var(--cream); font-weight: 500; font-size: 15px; }
.p-hero-photo { position: relative; overflow: hidden; background: var(--dark-2); }
.p-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── BLOCOS ── */
.block { padding: 5.5rem var(--gutter); }
.block-inner { max-width: 1140px; margin: 0 auto; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }

/* ── EVENTOS: o que o visitante procura primeiro ── */
.eventos { background: var(--sand); }
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
}
.evento {
  background: #fff;
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(20,20,20,0.04), 0 10px 30px rgba(20,20,20,0.05);
}
.evento-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.evento-icon svg { width: 21px; height: 21px; }
.evento h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.15; margin-bottom: 0.5rem; }
.evento > p { font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; margin-bottom: 1.2rem; }
.evento-temas { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.evento-temas span { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 0.5rem; }
.evento-temas ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.evento-temas a { font-size: 14px; color: var(--text); text-decoration: none; line-height: 1.4; display: inline-flex; gap: 0.4rem; }
.evento-temas a::before { content: '→'; color: var(--gold-dark); }
.evento-temas a:hover { color: var(--gold-dark); }

/* ── TEMAS: cards filtráveis por assunto ── */
.temas { background: var(--cream); }
.filtros { display: none; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.25rem; }
.js .filtros { display: flex; }
.filtros button {
  font-family: var(--sans);
  font-size: 13px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filtros button:hover { border-color: var(--text); }
.filtros button[aria-pressed="true"] { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.filtros button:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.temas-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.tema {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.7rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.tema[hidden] { display: none; }
.temas-grid.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tema-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(184,134,11,0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tema h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.18; margin-bottom: 0.6rem; text-wrap: balance; }
.tema p { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-weight: 300; }

/* ── CHAMADA NO MEIO ── */
.cta-meio { background: var(--gold-light); padding: 3rem var(--gutter); }
.cta-meio .block-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta-meio h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.15; color: var(--dark); max-width: 22ch; }
.cta-meio p { font-size: 15px; color: rgba(20,20,20,0.78); margin-top: 0.4rem; }
.cta-meio .btn-dark { box-shadow: none; }
.cta-meio .btn-dark:hover { background: var(--dark-2); }

/* COMO FUNCIONA */
.etapas-list {
  list-style: none;
  counter-reset: etapa;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.etapas-list li { counter-increment: etapa; border-top: 1px solid var(--border-strong); padding-top: 1.4rem; }
.etapas-list li::before {
  content: counter(etapa);
  display: block;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
.etapas-list h3 { font-size: 16px; font-weight: 500; margin-bottom: 0.5rem; }
.etapas-list p { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-weight: 300; }


/* DEPOIMENTOS */
.depos { background: var(--dark); color: var(--cream); }
.depos .section-title { color: var(--cream); }
.depos-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.depos-grid blockquote { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.5rem; }
.depos-grid p { font-size: 15px; line-height: 1.8; font-weight: 300; color: rgba(250,248,244,0.78); }
.depos-grid blockquote:first-child p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--cream); }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
.faq-list { border-top: 1px solid var(--border-strong); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem; top: 1.25rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 24px;
  color: var(--gold-dark);
  transition: transform 0.25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 300; padding: 0 2.5rem 1.5rem 0; max-width: 62ch; }

/* CHAMADA FINAL */
.cta-final { background: var(--dark); color: var(--cream); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cta-final .section-title { color: var(--cream); }
.cta-final .section-title em { color: var(--gold-light); }
.cta-final .section-lead { color: rgba(250,248,244,0.75); margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.outros { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; color: rgba(250,248,244,0.65); }
.outros ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; margin-top: 0.75rem; }
.outros a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(250,248,244,0.3); transition: border-color 0.2s; }
.outros a:hover { border-color: var(--gold-light); }

/* BARRA FIXA NO CELULAR */
.mobile-cta { display: none; }

@media (hover: hover) and (pointer: fine) {
  .tema:hover { border-color: var(--gold); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .p-hero h1, .p-hero-desc, .p-hero-chips, .p-hero-actions, .p-hero-facts { animation-name: fadeIn; }
  .tema:hover, .btn-gold:active { transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1000px) {
  .eventos-grid { grid-template-columns: 1fr 1fr; }
  .temas-grid.tres { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; min-height: 0; margin-top: 64px; }
  .p-hero-text { padding: 2.75rem var(--gutter) 2.5rem; }
  .p-hero h1 { font-size: 44px; }
  .p-hero-photo { aspect-ratio: 4 / 5; max-height: 520px; }
  .block { padding: 4rem var(--gutter); }
  .temas-grid, .temas-grid.tres { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .etapas-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .depos-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(20,20,20,0.96);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transform: translateY(110%);
    transition: transform 0.3s var(--ease-out);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta span { font-size: 13px; color: rgba(250,248,244,0.8); line-height: 1.35; }
  .mobile-cta .btn-gold { padding: 12px 18px; flex-shrink: 0; }
  .site-footer { padding-bottom: 6rem; }
}
@media (max-width: 640px) {
  .p-hero h1 { font-size: 39px; }
  .p-hero-facts { gap: 1.25rem; flex-wrap: wrap; }
  .eventos-grid { grid-template-columns: 1fr; }
  .tema { padding: 1.5rem 1.35rem; }
  .tema h3 { font-size: 25px; }
  .cta-meio h2 { font-size: 29px; }
  .faq-list summary { font-size: 21px; }
  .depos-grid blockquote:first-child p { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
}
