:root {
  --bg-primary: #0b0b0d;
  --bg-surface: #141418;
  --bg-elevated: #1c1c22;
  --border-subtle: rgba(212, 175, 55, 0.18);
  --border-strong: rgba(212, 175, 55, 0.45);
  --text-primary: #f5f5f4;
  --text-muted: #a1a1aa;
  --gold: #d4af37;
  --gold-light: #f3d576;
  --gold-dark: #9e7b18;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.text-gold {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0b0b0d;
  box-shadow: 0 8px 24px -6px rgba(212, 175, 55, 0.45);
}

.btn-gold:hover {
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.6);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(20, 20, 24, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: var(--transition);
}

/* HERO / CAPA COM JORNAL */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 22%;
  filter: brightness(1.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 11, 13, 0.68) 0%,
      rgba(11, 11, 13, 0.42) 36%,
      rgba(11, 11, 13, 0.06) 68%,
      rgba(11, 11, 13, 0) 100%),
    linear-gradient(180deg,
      rgba(11, 11, 13, 0.12) 0%,
      rgba(11, 11, 13, 0) 58%,
      rgba(11, 11, 13, 0.35) 85%,
      var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 490px;
  margin-left: clamp(1.25rem, 4vw, 4.5rem);
  margin-right: auto;
  padding-block: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: #e4e4e7;
  margin-bottom: 2rem;
  max-width: 52ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* SECTIONS */
.section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

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

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.frame-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(11, 11, 13, 0.92));
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.about-text strong {
  color: var(--text-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.pillar-title {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* SERVICES */
.services {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.service-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.5rem;
}

.service-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* GALLERY */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #0b0b0d;
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--bg-surface);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(11, 11, 13, 0.9));
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* FAQ */
.faq {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* LOCATION */
.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  min-height: 360px;
  background: var(--bg-surface);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-subtle);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.info-text {
  font-size: 0.9rem;
  color: #9ca3af;
}

.info-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* CONTACT */
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-text {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 48ch;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-details strong {
  color: var(--gold-light);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: color var(--transition);
}

.legal-link:hover {
  color: var(--gold-light);
}

.legal-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
}

/* LEGAL MODAL */
.legal-modal {
  margin: auto;
  border: none;
  background: transparent;
  max-width: min(600px, 92vw);
  color: var(--text-primary);
}

.legal-modal::backdrop {
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(6px);
}

.legal-modal-box {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-height: 88vh;
  overflow-y: auto;
}

.legal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.legal-close:hover {
  color: var(--gold-light);
}

.legal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  padding-right: 1.5rem;
}

.legal-body {
  display: grid;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.55;
}

.legal-subtitle {
  color: var(--text-primary);
  font-size: 0.84rem;
}

.legal-intro {
  color: #9ca3af;
  font-size: 0.82rem;
}

.legal-cards {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.legal-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}

.legal-card p {
  color: var(--text-primary);
  font-size: 0.8rem;
  line-height: 1.55;
}

.legal-highlight {
  color: var(--gold-light);
}

/* LIGHTBOX */
.lightbox {
  margin: auto;
  border: none;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
  overflow: visible;
  color: var(--text-primary);
}

.lightbox::backdrop {
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-stage img {
  max-height: 80vh;
  max-width: 85vw;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  object-fit: contain;
}

.lightbox-caption {
  font-size: 0.95rem;
  color: var(--gold-light);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(20, 20, 24, 0.85);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* REVEAL ANIMATION */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .about-grid,
  .services-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.98);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .hero-content {
    width: min(490px, 92%);
    margin-inline: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(11, 11, 13, 0.28) 0%,
        rgba(11, 11, 13, 0.48) 62%,
        var(--bg-primary) 100%);
  }

  .location-map,
  .location-map iframe {
    min-height: 280px;
  }
}