/* =====================================================
   PODER ORIXÁ — org.br
   Design tokens
   ===================================================== */
:root {
  --near-black: #14100D;
  --charcoal:   #241D18;
  --cream:      #F5F0E8;
  --gold:       #C9A15C;
  --gold-dim:   #C9A15C55;
  --wine:       #7A2E2E;
  --wine-soft:  #7A2E2E33;

  --font: Georgia, 'Times New Roman', serif;

  --max-width: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--near-black);
  color: var(--cream);
  line-height: 1.7;
}

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

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

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

/* ---------- Utility bar (cross-domain links) ---------- */
.utility-bar {
  position: relative;
  z-index: 11;
  background: rgba(20,16,13,0.65);
  border-bottom: 1px solid rgba(201,161,92,0.15);
}

.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px 6%;
  max-width: none;
}

.utility-bar a {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--cream);
  opacity: 0.65;
  transition: opacity 0.25s, color 0.25s;
  white-space: nowrap;
}

.utility-bar a:hover { opacity: 1; color: var(--gold); }

.utility-bar .divider-dot {
  color: var(--gold-dim);
  font-size: 11px;
}

@media (max-width: 600px) {
  .utility-bar a span { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 14px 6%;
  background: rgba(20,16,13,0.92);
  border-bottom: 1px solid var(--gold-dim);
  backdrop-filter: blur(6px);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 84px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font);
  line-height: 1.15;
}

.logo-wordmark .line1 {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.logo-wordmark .line2 {
  display: block;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  flex-wrap: nowrap;
}

.nav a {
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
  white-space: nowrap;
}

.nav a:hover { opacity: 1; color: var(--gold); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding-left: clamp(10px, 1.8vw, 20px);
  border-left: 1px solid var(--gold-dim);
}

.lang-switch a {
  font-size: 11.5px;
  color: var(--gold);
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.lang-switch a:hover { opacity: 1; }

.lang-dot { color: var(--gold-dim); font-size: 11px; }

.nav-toggle { display: none; }

@media (max-width: 1150px) {
  .nav { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--gold-dim);
    color: var(--cream);
    font-family: var(--font);
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 2px;
    flex-shrink: 0;
    cursor: pointer;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--near-black);
    padding: 24px 6% 34px;
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    gap: 20px;
    z-index: 20;
  }

  .nav.is-open .lang-switch {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  background-image: url('/assets/img/hero.png');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,16,13,0.55) 0%, rgba(20,16,13,0.15) 55%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 70px 6%;
}

.hero-tagline {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: normal;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-subtagline {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--gold);
  font-style: italic;
}

/* ---------- Mission (solid bg, watermark artifact) ---------- */
.mission-solid {
  position: relative;
  background: var(--near-black);
  padding: 64px 0;
  overflow: hidden;
}

.mission-watermark {
  position: absolute;
  top: 50%; right: -8%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.35;
  pointer-events: none;
}

.mission-watermark svg { width: 100%; height: 100%; }

.manifesto-quote {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 22px;
  color: var(--cream);
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.mission-solid .section-eyebrow,
.mission-solid .btn { position: relative; z-index: 2; }

/* ---------- Explore grid (4 cards) ---------- */
.explore { padding-bottom: 60px; }

.explore .container { margin-bottom: 30px; }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6%;
}

.explore-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,0.15) 0%, rgba(20,16,13,0.85) 100%);
  transition: background 0.35s ease;
}

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.35s ease;
}

.explore-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 20px;
}

.explore-card-overlay h3 {
  color: var(--cream);
  font-size: 18px;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.explore-card-overlay p {
  color: var(--gold);
  font-size: 13px;
  opacity: 0.85;
}

.explore-card:hover::before {
  background: linear-gradient(180deg, rgba(20,16,13,0.05) 0%, rgba(20,16,13,0.75) 100%);
}

.explore-card:hover::after {
  border-color: var(--gold);
}

.explore-card:hover .explore-card-overlay h3 {
  color: var(--gold);
}

.explore-grid.explore-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .explore-grid.explore-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .mission-watermark { width: 340px; height: 340px; right: -15%; }
}

@media (max-width: 500px) {
  .explore-grid.explore-grid-3 { grid-template-columns: 1fr; }
}
.ring-divider {
  display: flex;
  justify-content: center;
  padding: 56px 0;
}

.ring-divider svg { width: 46px; height: 46px; opacity: 0.6; }

/* ---------- Section divider (linha fina entre blocos) ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: var(--near-black);
}

.section-divider .line {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* ---------- CTA (Redes Sociais) ---------- */
.icon-row {
  display: flex;
  gap: 22px;
  margin-top: 34px;
}

.icon-row a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.icon-row svg { width: 20px; height: 20px; }

.icon-row a:hover {
  background: var(--gold);
  color: var(--near-black);
  border-color: var(--gold);
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--charcoal);
}

.section-eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: 820px;
}

.section-text {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.92;
}

.section-text p { margin-bottom: 18px; }

/* ---------- Content box (caixa cheia, sem espaço morto) ---------- */
.content-box {
  border: 1px solid var(--gold-dim);
  border-left: 3px solid var(--gold);
  padding: 48px 56px;
  width: 100%;
  background: rgba(245,240,232,0.02);
}

.content-box .section-title,
.content-box .section-text { max-width: 820px; }

/* ---------- Lista de mapas (grid dentro da caixa) ---------- */
.maps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  margin-top: 34px;
  margin-bottom: 10px;
}

.maps-list-item {
  border-left: 2px solid var(--gold-dim);
  padding-left: 16px;
}

.maps-list-item h4 {
  color: var(--cream);
  font-size: 16px;
  margin-bottom: 6px;
}

.maps-list-item p {
  color: var(--gold);
  font-size: 13.5px;
  opacity: 0.85;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .maps-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .content-box { padding: 32px 28px; }
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--near-black);
}

/* ---------- Social row ---------- */
.social-row {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-row a {
  font-size: 15px;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 3px;
}

.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--near-black);
  border-top: 1px solid var(--gold-dim);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col p, .footer-col a {
  display: block;
  font-size: 14px;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--gold); opacity: 1; }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.08);
}

/* ---------- Inner page hero (non-home) ---------- */
.page-hero {
  position: relative;
  padding: 64px 6% 40px;
  background: var(--charcoal);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--gold-dim);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,16,13,0.92) 0%, rgba(20,16,13,0.65) 100%);
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(28px, 3.5vw, 38px);
  max-width: 720px;
}

/* ---------- Form (contato) ---------- */
.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.25);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
