:root {
  --ink-900: #14181F;
  --ink-800: #1F2530;
  --ink-700: #2C333F;
  --paper: #F7F4EF;
  --paper-warm: #EFE9DF;
  --gold-600: #B8975A;
  --gold-400: #D4B888;
  --text-on-dark: #E8E4DD;
  --text-on-light: #1F2530;
  --muted: #8A8275;
  --line: rgba(184, 151, 90, 0.25);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --section-y: 7rem;
  --section-y-mobile: 4rem;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--text-on-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* Header */
.header {
  background: var(--ink-900);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header .logo {
  height: 50px;
}

.header .nav a {
  color: var(--text-on-dark);
  margin-left: 24px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color .25s ease;
}

.header .nav a:hover {
  color: var(--gold-400);
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 600px;
  background:
    linear-gradient(rgba(20,24,31,0.85), rgba(20,24,31,0.9)),
    var(--hero-bg, transparent);
  background-size: cover;
  background-position: center;
}

/* Section */
.section {
  padding: var(--section-y) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-y-mobile) 0;
  }
}

/* Eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

/* Fio dourado */
.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-600);
  margin-bottom: 1rem;
}

/* Button gold */
.btn-gold {
  background: var(--gold-600);
  color: var(--ink-900);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--ink-900);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid var(--line);
  transition: all .25s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  background: var(--ink-700);
  color: var(--text-on-dark);
  border-color: var(--gold-600);
}

/* Card */
.card-premium {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all .25s ease;
}

.card-premium:hover {
  border-color: var(--gold-600);
}

.card-premium--light {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all .25s ease;
}

.card-premium--light:hover {
  border-color: var(--gold-600);
}

/* Sections backgrounds */
.section-ink {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.section-ink-alt {
  background: var(--ink-800);
  color: var(--text-on-dark);
}

.section-paper {
  background: var(--paper);
}

.section-paper-warm {
  background: var(--paper-warm);
}

/* Authority bar */
.authority-bar {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.authority-bar__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
}

.authority-bar__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* 404 page */
.page-404 {
  min-height: calc(100vh - 76px);
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: 2rem;
}

.page-404__code {
  display: block;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404__title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-404__text {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-404__code {
    font-size: 5rem;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  z-index: 9999;
  color: var(--text-on-dark);
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--gold-400);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--gold-600);
}

.cookie-banner .btn-gold {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.cookie-banner .btn-sm-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--line);
  padding: 10px 24px;
  font-size: 0.875rem;
  border-radius: 2px;
  transition: all .25s ease;
}

.cookie-banner .btn-sm-ghost:hover {
  border-color: var(--gold-600);
  color: var(--gold-400);
}

.cookie-banner .btn-gold:focus-visible,
.cookie-banner .btn-sm-ghost:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

@media (max-width: 576px) {
  .cookie-banner .row > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-banner .btn-sm-ghost {
    margin-right: 0 !important;
  }
}

/* Footer */
.footer {
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease;
}

.footer a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Hero section */
.bg-dark-hero {
  background-color: var(--ink-900);
  color: var(--text-on-dark);
}

.bg-dark-card {
  background-color: var(--ink-700);
  color: var(--text-on-dark);
}

.text-gold {
  color: var(--gold-600);
}

.text-muted-footer {
  color: var(--muted);
}

/* Depoimento aspas */
.depoimento-aspa {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold-600);
}

/* CSWP */
.cswp-p {
  filter: saturate(.85);
}

/* Breadcrumb overrides */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb-item.active {
  color: var(--text-on-light);
  font-weight: 600;
}
