/* Base compartilhada das páginas de serviço. Mesmos tokens da home. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gold: #B8860B;
  --gold-light: #d4a220;
  --gold-dark: #8b6508;
  --dark: #141414;
  --dark-2: #1e1e1e;
  --cream: #faf8f4;
  --cream-2: #f3efe6;
  --sand: #ede6d8;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --text-light: #736d66;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --gutter: 4rem;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
::selection { background: rgba(184,134,11,0.22); color: var(--text); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* NAV */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem var(--gutter);
  background: rgba(250,248,244,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-item { position: relative; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 10px;
  background: rgba(250,248,244,0.98);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 20px; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a { display: block; padding: 11px 12px; letter-spacing: 1.4px; }
.nav-dropdown a:hover { background: var(--cream-2); }

/* BOTÕES */
.btn-dark, .nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.16s ease-out;
}
.nav-cta { padding: 10px 22px; }
.btn-dark { padding: 14px 28px; box-shadow: 0 16px 34px rgba(20,20,20,0.16); }
.btn-dark:hover, .nav-cta:hover { background: var(--gold-dark); }
.btn-dark:active, .nav-cta:active { transform: scale(0.97); }
.btn-ghost {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }

/* TIPOGRAFIA DE SEÇÃO */
.section-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.12;
  text-wrap: balance;
}
.section-title em { font-style: italic; }
.section-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  max-width: 60ch;
  margin-top: 1.1rem;
}

/* TRILHA */
.breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 1.6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.breadcrumb a:hover { color: var(--text); border-color: var(--text); }

/* FOOTER */
.site-footer {
  background: var(--dark);
  padding: 3rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; list-style: none; }
.footer-links a, .footer-social a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-social a:hover { color: var(--gold); }
.footer-right { text-align: right; }
.footer-social { display: flex; gap: 1rem; justify-content: flex-end; margin-bottom: 0.5rem; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.5); }

/* REVEAL (só com JS ativo; sem JS o conteúdo aparece normal) */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover::after { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 0.2s ease; }
  .btn-dark:active, .nav-cta:active, .btn-ghost:hover::after { transform: none; }
}

@media (max-width: 1100px) {
  .site-footer { grid-template-columns: 1fr; text-align: center; padding: 2.5rem var(--gutter); }
  .footer-links { justify-content: center; gap: 0.9rem 1.5rem; }
  .footer-social, .footer-right { text-align: center; justify-content: center; }
}
@media (max-width: 900px) {
  :root { --gutter: 2rem; }
  .site-nav { padding: 1.2rem var(--gutter); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .section-title { font-size: 36px; }
}
