/* ================== BASE ================== */

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

:root {
  --bg: #050505;
  --bg-soft: #101010;
  --gold: #c9a562;
  --gold-soft: #e2c685;
  --text: #f7f3e8;
  --muted: #b3a899;
  --radius-card: 18px;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.65);
  --transition: 0.25s ease;
  --max-width: 1100px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #141414 0, #050505 40%, #000 100%);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ================== CONTAINER ================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ================== TRANSLATE BAR ================== */

.translate-bar {
  background: #000;
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
}

.translate-bar span {
  font-weight: 500;
}

/* ================== HEADER / NAV ================== */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.9) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.1rem 0.6rem;
}

.home-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
}

.star-animated {
  width: 36px;
  height: 36px;
  transform-origin: center;
  animation: starSpin 12s linear infinite;
  filter: drop-shadow(0 0 10px rgba(201, 165, 98, 0.6));
}

@keyframes starSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo-area {
  flex: 1;
  text-align: left;
  text-decoration: none;
}

.logo-text {
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

.nav-toggle {
  margin-left: 0.6rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
}

/* menu mobile */

.nav {
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(0, 0, 0, 0.97);
  display: none;
  flex-direction: column;
  padding: 0.6rem 1.2rem 2rem;
  gap: 0.8rem;
  overflow-y: auto;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.3rem 0;
}

.nav a[aria-current="page"] {
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

body.nav-open .nav {
  display: flex;
}

/* desktop */

@media (min-width: 900px) {
  .header {
    padding: 0.6rem 2rem 0.9rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 1.6rem;
  }

  .nav a {
    font-size: 0.98rem;
  }
}

/* ================== HERO / SECTIONS ================== */

.page-hero {
  padding: 2.5rem 1.2rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.lead {
  margin: 0;
  font-size: 1.03rem;
  color: var(--muted);
}

/* conteúdo geral */

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.2rem 3.5rem;
}

.about-block {
  margin-bottom: 2rem;
  background: radial-gradient(circle at top, #161515 0, #060606 55%, #020202 100%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.4rem 2.1rem;
}

.about-block h2 {
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.about-block p {
  font-size: 0.98rem;
}

/* ================== HERO PRINCIPAL (INDEX) ================== */

.hero-main {
  padding: 40px 16px 30px;
  text-align: center;
}

.hero-main-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-main-logo {
  max-width: 420px;
  width: 90%;
  height: auto;
}

.hero-tagline {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-subtagline {
  font-size: 1rem;
  color: #d8d8d8;
}

/* ================== QR SECTION ================== */

.qr-section {
  padding: 10px 16px 32px;
}

.qr-card {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  background: #0f0f0f;
  border-radius: 16px;
  border: 1px solid rgba(201,165,98,0.35);
  padding: 24px 20px;
}

.qr-text h2 {
  color: #C9A562;
  margin-bottom: 8px;
}

.qr-phone a {
  color: #C9A562;
  text-decoration: none;
}

.qr-image-wrapper {
  text-align: center;
}

.qr-image {
  max-width: 210px;
  width: 100%;
  height: auto;
  background:#fff;
  border-radius: 12px;
  padding: 6px;
}

.qr-caption {
  font-size: 0.85rem;
  margin-top: 6px;
  color: #d8d8d8;
}

.btn-primary {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,#c9a562,#f2d181);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .qr-card {
    grid-template-columns: 1fr;
  }
}

/* ================== CARDS ================== */

.cards-3 {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: linear-gradient(150deg, #151515, #050505);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid rgba(201, 165, 98, 0.3);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

.card p {
  font-size: 0.96rem;
  color: var(--text);
}

@media (min-width: 768px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ================== BOOKING (WHATSAPP + FORM) ================== */

.booking-whatsapp-inner {
  display: grid;
  gap: 1.3rem;
}

.booking-contact {
  font-size: 0.98rem;
}

.booking-contact a {
  color: var(--gold-soft);
}

.booking-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-qr-box {
  justify-self: center;
  text-align: center;
}

.booking-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.small {
  font-size: 0.85rem;
}

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

@media (min-width: 768px) {
  .booking-whatsapp-inner {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.booking-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.booking-grid label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.booking-grid input,
.booking-grid select,
.booking-grid textarea {
  width: 100%;
  padding: 0.54rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #444;
  background: #050505;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.booking-grid textarea {
  border-radius: 16px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at top, #f3d58e, #c9a562);
  color: #1a1203;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.97rem;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* ================== PAYMENT ICONS ================== */

.pay-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.pay-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201,165,98,0.35);
  background: #0f0f0f;
  text-decoration: none;
}

.pay-icon img {
  width: 38px;
  height: 38px;
  display: block;
}

.pay-icon span {
  font-size: 0.85rem;
  color: #f5f5f5;
}

@media (max-width: 600px) {
  .pay-icons-row {
    justify-content: center;
  }
}

/* (mantemos também estes para eventuais usos) */

.payments-logos {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.pay-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--text);
  background: #050505;
  border-radius: 18px;
  padding: 0.6rem 0.9rem 0.7rem;
  border: 1px solid rgba(201, 165, 98, 0.4);
}

.pay-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ================== FAQ ================== */

.faq-item {
  border-radius: 16px;
  background: #050505;
  border: 1px solid #323232;
  margin-bottom: 0.8rem;
  padding: 0.6rem 1rem 0.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--gold-soft);
}

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

.faq-body {
  margin-top: 0.4rem;
  font-size: 0.96rem;
}

/* ================== PARTNERS FORMS ================== */

.upload-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.upload-form label {
  display: block;
  font-size: 0.9rem;
}

.upload-form input,
.upload-form textarea,
.upload-form select {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #444;
  background: #050505;
  color: var(--text);
  font-size: 0.95rem;
}

.upload-form textarea {
  border-radius: 16px;
  resize: vertical;
}

/* ================== GALERIA ================== */

.gallery-grid {
  display: grid;
  gap: 0.7rem;
}

.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================== TRIBUTO AGAPITO ================== */

.tribute-block {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.tribute-title {
  color: #C9A562;
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.tribute-photo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.tribute-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A562, transparent);
  max-width: 220px;
}

.tribute-figure {
  margin: 0;
  text-align: center;
}

.tribute-figure img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C9A562;
  box-shadow: 0 0 18px rgba(201,165,98,0.45);
}

.tribute-figure figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #C9A562;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tribute-box {
  border: 1px solid #C9A562;
  padding: 30px;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 18px rgba(201,165,98,0.25);
}

.tribute-box p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.tribute-box strong {
  color: #C9A562;
}

.tribute-quote {
  font-style: italic;
  font-size: 1.2rem;
  color: #C9A562;
  margin-top: 25px;
}

/* ajuste mobile */

@media (max-width: 640px) {
  .tribute-photo-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .tribute-line {
    max-width: 140px;
  }

  .tribute-box {
    padding: 22px 18px;
  }
}

/* ================== FOOTER ================== */

.footer {
  border-top: 1px solid #222;
  padding: 1.2rem 1.2rem 1.8rem;
  background: #020202;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer a {
  color: var(--gold-soft);
  text-decoration: none;
}

.footer .rnaat {
  margin-top: 0.15rem;
}
/* ===== LIGHTBOX GALERIA ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
/* ===== LIGHTBOX GALERIA ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
