/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --parchment:      #F2E0B5;
  --parchment-mid:  #D4A96A;
  --parchment-dark: #C4A050;
  --deep:           #1A0F0A;
  --deep-mid:       #2C1810;
  --deep-light:     #3D2515;
  --gold:           #C8960C;
  --gold-light:     #DAA520;
  --teal:           #0B8A9A;
  --sand:           #C4A882;
  --text-light:     #F5EDD8;
  --text-dark:      #2C1810;
  --text-muted:     #8B7355;

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Lora', serif;

  --container-max: 1200px;
  --section-pad:   5rem 1.5rem;
  --radius:        4px;
  --transition:    0.3s ease;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress-bar {
  position: fixed;
  right: 0; top: 0;
  width: 3px;
  height: 0%;
  background: var(--gold);
  z-index: 9998;
  transition: height 0.08s linear;
  border-radius: 0 0 2px 0;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); background: var(--deep); color: var(--text-light); overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.75; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container        { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.section          { padding: var(--section-pad); }
.section-parchment  { background: var(--parchment); color: var(--text-dark); position: relative; }
.section-dark       { background: var(--deep); color: var(--text-light); }
.section-deep-mid   { background: var(--deep-mid); color: var(--text-light); }

.section-parchment::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(180,140,60,0.03) 2px, rgba(180,140,60,0.03) 4px
  );
  pointer-events: none;
  z-index: 0;
}
.section-parchment > .container { position: relative; z-index: 1; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible    { opacity: 1; transform: translateY(0); }
.fade-in-delay-1    { transition-delay: 0.15s; }
.fade-in-delay-2    { transition-delay: 0.3s; }
.fade-in-delay-3    { transition-delay: 0.45s; }
.fade-in-delay-4    { transition-delay: 0.6s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-gold    { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--deep); transform: translateY(-2px); }
.btn-dark    { background: var(--deep); color: var(--text-light); border-color: var(--deep); }
.btn-dark:hover { background: var(--deep-mid); transform: translateY(-2px); }

/* ============================================================
   SECTION INTRO TEXT
   ============================================================ */
.section-intro {
  text-align: center;
  font-style: italic;
  color: var(--sand);
  max-width: 700px;
  margin: -1.5rem auto 3rem;
  font-size: 1.1rem;
}
.section-intro-dark {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  max-width: 700px;
  margin: -1.5rem auto 3rem;
  font-size: 1.1rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 0;
  background: rgba(26,15,10,0.6);
  backdrop-filter: blur(8px);
}
#navbar.scrolled {
  background: rgba(26,15,10,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  padding: 0;
}
.nav-container {
  width: 100%;
  margin: 0;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  overflow: visible;
}
.nav-logo {
  justify-self: start;
}
.nav-logo img {
  height: 64px !important;
  min-height: 64px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: height var(--transition);
}
#navbar.scrolled .nav-logo img { height: 72px !important; min-height: 72px !important; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-self: center;
}
.lang-switcher {
  justify-self: end;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-cta {
  padding: 0.45rem 1.25rem !important;
  font-size: 0.8rem !important;
  color: var(--deep) !important;
  border-color: var(--gold) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  color: var(--deep) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: rgba(26,15,10,0.55);
  border: 1px solid rgba(200,150,12,0.28);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  font-weight: 600;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.lang-btn:hover {
  color: var(--parchment);
  background: rgba(200,150,12,0.08);
}
.lang-btn.active {
  background: var(--gold);
  color: var(--deep);
  box-shadow: 0 2px 8px rgba(200,150,12,0.3);
}

.lang-code { font-size: 0.67rem; line-height: 1; }

.lang-fi {
  width: 1.25em;
  height: 0.88em;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  vertical-align: middle;
}

.nav-close-item { display: none; }
.nav-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.nav-close:hover { opacity: 1; color: var(--gold); }

@media (max-width: 768px) {
  .nav-container { display: flex; gap: 0.75rem; padding: 0 1rem; }
  .nav-logo { justify-self: unset; }
  .nav-menu { justify-self: unset; }
  .lang-switcher { justify-self: unset; margin-left: auto; }
  .nav-logo img { height: 44px !important; min-height: 44px !important; max-width: 90px !important; }
  #navbar.scrolled .nav-logo img { height: 44px !important; min-height: 44px !important; }
  .nav-close-item {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    list-style: none;
  }
  .nav-toggle { display: flex; order: 10; flex-shrink: 0; }
  .lang-switcher { order: 9; margin-left: 0; flex-shrink: 0; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 300px;
    height: 100vh;
    background: var(--deep-mid);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    border-left: none;
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1.1rem; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ---- Video panel ---- */
.hero-video-panel {
  position: relative;
  overflow: hidden;
  background: var(--deep) url('../img/galeria/subaquatica/capa.jpeg') center/cover no-repeat;
}
.hero-video-wrapper {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vh * 1.7778);
  height: 100vh;
  pointer-events: none;
}
.hero-video-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
}
.hero-video-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,  rgba(26,15,10,0.25) 0%, transparent 30%, rgba(26,15,10,0.85) 100%),
    linear-gradient(to bottom, rgba(26,15,10,0.55) 0%, transparent 22%, transparent 76%, rgba(26,15,10,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-video-badge {
  position: absolute;
  bottom: 1.75rem; left: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.8);
  background: rgba(26,15,10,0.65);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid rgba(200,150,12,0.25);
}
.hero-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0   rgba(200,150,12,0.5); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(200,150,12,0);   }
}
.hero-sound-toggle {
  position: absolute;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.8);
  background: rgba(26,15,10,0.65);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid rgba(200,150,12,0.25);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.hero-sound-toggle:hover,
.hero-sound-toggle.unmuted { border-color: var(--gold); color: var(--gold); }
.hero-sound-toggle svg { width: 16px; height: 16px; }
.hero-sound-toggle .icon-sound { display: none; }
.hero-sound-toggle.unmuted .icon-muted { display: none; }
.hero-sound-toggle.unmuted .icon-sound { display: block; }

/* ---- Content panel ---- */
.hero-content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--deep-mid) 0%, var(--deep) 100%);
  border-left: 1px solid rgba(200,150,12,0.2);
  box-shadow: -16px 0 50px rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
}
.hero-content-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(200,150,12,0.3) 60%, transparent 100%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3rem 4rem;
  position: relative;
}
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(0.6rem, 0.9vw, 0.75rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-tagline span {
  display: block;
  flex: 0 0 25px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
/* Linha 1 — chamada introdutória, serifa de corpo em itálico */
.hero-title .title-kicker {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  letter-spacing: 0.02em;
  color: var(--sand);
  margin-bottom: 0.15em;
}
/* Linha 2 — a palavra-monumento, gravada em folha de ouro */
.hero-title .title-feature {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0.05em 0 0.1em -0.02em;
  background: linear-gradient(100deg,
    #EBD49C 0%, #C8960C 26%, #F6E7BB 50%, #C8960C 74%, #DAA520 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,0.6))
          drop-shadow(0 0 22px rgba(200,150,12,0.25));
  animation: foilShine 7s linear infinite;
}
@keyframes foilShine {
  to { background-position: 220% center; }
}
/* Linha 3 — desfecho, com marcador-diamante de cartografia */
.hero-title .title-tail {
  display: block;
  position: relative;
  margin-top: 1.1rem;
  padding-top: 1.15rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  color: rgba(245,237,216,0.74);
}
.hero-title .title-tail::before {
  content: '';
  position: absolute;
  top: 0; left: 17px;
  width: 64px; height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(200,150,12,0.15) 100%);
}
.hero-title .title-tail::after {
  content: '';
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 11px rgba(200,150,12,0.65);
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  color: var(--sand);
  margin-bottom: 2.5rem;
  font-style: italic;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 27.5%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 22px; height: 22px;
  border-right: 2px solid rgba(245,237,216,0.45);
  border-bottom: 2px solid rgba(245,237,216,0.45);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 1;   }
  50%       { transform: rotate(45deg) translateY(8px); opacity: 0.4; }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-video-panel { height: 56vw; }
  .hero-video-wrapper { width: 100vw; height: 56.25vw; }
  .hero-video-vignette {
    background: linear-gradient(to bottom, rgba(26,15,10,0.4) 0%, transparent 40%, rgba(26,15,10,0.85) 100%);
  }
  .hero-content { padding: 2.5rem 1.5rem 3rem; justify-content: flex-start; }
  .hero-scroll-indicator { display: none; }
}
@media (max-width: 580px) {
  .hero-title { font-size: 1.6rem; }
  .hero-content { padding: 2rem 1.25rem 2.5rem; }
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sobre-text p { margin-bottom: 1.25rem; }
.sobre-badge {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--deep-light);
}
.sobre-badge span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.sobre-media   { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.sobre-img-frame img, .sobre-img-secondary img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--deep-light);
  object-fit: cover;
}
.sobre-img-frame img     { height: 260px; }
.sobre-img-secondary img { height: 160px; }

@media (max-width: 768px) { .sobre-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   CARDS GRID — Areas de Pesquisa
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.research-card {
  background: white;
  border: 1px solid var(--parchment-mid);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(200,150,12,0.2);
  border-color: var(--gold);
}
.card-icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; color: var(--gold); }
.card-icon svg { width: 100%; height: 100%; }
.research-card h3 { color: var(--text-dark); margin-bottom: 0.75rem; }
.research-card p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DESCOBERTAS — Magazine Editorial Grid
   ============================================================ */
.descobertas-header {
  text-align: center;
  margin-bottom: 3rem;
}
.descobertas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.descobertas-eyebrow::before,
.descobertas-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}
/* Grade de dossiês de pesquisa — Modelo A: imagem limpa + legenda abaixo */
.pesquisa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
}
.pesquisa-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(165deg, #20120a 0%, #18100a 100%);
  border: 1px solid rgba(200,150,12,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.pesquisa-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,150,12,0.5);
  box-shadow: 0 24px 56px rgba(0,0,0,0.6);
}
/* Área da imagem — proporção fixa, foto sempre 100% visível */
.pesquisa-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.pesquisa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.94) saturate(1.04);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}
.pesquisa-card:hover .pesquisa-img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}
/* Selo de época — único elemento sobre a imagem */
.pesquisa-era {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment);
  background: rgba(20,11,6,0.6);
  border: 1px solid rgba(200,150,12,0.5);
  padding: 0.32em 0.7em;
  border-radius: 2px;
  backdrop-filter: blur(3px);
}
/* Painel de informações — abaixo da imagem, nunca a cobre */
.pesquisa-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(200,150,12,0.18);
}
.pesquisa-cat {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  padding-left: 1.6rem;
  position: relative;
}
.pesquisa-cat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.05rem;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.pesquisa-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.25;
  margin-bottom: 0.45rem;
}
.pesquisa-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(245,237,216,0.72);
  line-height: 1.55;
}

@media (max-width: 680px) {
  .pesquisa-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .pesquisa-title { font-size: 1rem; }
  .pesquisa-desc { font-size: 0.82rem; }
  .pesquisa-body { padding: 0.8rem 0.85rem 0.95rem; }
}
@media (max-width: 430px) {
  .pesquisa-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MUNICÍPIOS — Expedition Territory Map
   ============================================================ */
.municipios-section { position: relative; overflow: hidden; }

/* Dot-grid navigation chart texture */
.municipios-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(200,150,12,0.07) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
.municipios-section .container { position: relative; z-index: 1; }

.municipios-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.municipios-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.municipios-eyebrow::before,
.municipios-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* Main three-column layout: Estado | Divisor | Estado */
.territorio-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: start;
  max-width: 900px;
  margin: 0 auto 3rem;
}

/* Ghost compass rose centred behind layout */
.territorio-compass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  color: rgba(200,150,12,0.065);
  pointer-events: none;
  z-index: 0;
}
.territorio-compass svg { width: 100%; height: 100%; }

/* Estado column */
.territorio-estado {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem;
}
.estado-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(200,150,12,0.2);
}
.estado-sigla {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: rgba(200,150,12,0.18);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  user-select: none;
}
.estado-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.estado-info strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
.estado-info span {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
}

/* City list */
.territorio-pontos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.territorio-ponto {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: 1px solid rgba(200,150,12,0.06);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.28s ease, background 0.28s ease, transform 0.28s ease;
  cursor: default;
}
.territorio-ponto:hover {
  border-color: rgba(200,150,12,0.28);
  background: rgba(200,150,12,0.042);
  transform: translateX(5px);
}
.territorio-ponto.is-sede {
  border-color: rgba(200,150,12,0.18);
  background: rgba(200,150,12,0.048);
}
.territorio-ponto.is-sede:hover {
  border-color: rgba(200,150,12,0.42);
  background: rgba(200,150,12,0.09);
}

/* Sonar pin */
.ponto-pin {
  position: relative;
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ponto-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(200,150,12,0.35);
  transition: border-color 0.28s ease;
}
.territorio-ponto.is-sede .ponto-pin::before {
  border-color: rgba(200,150,12,0.65);
}
.territorio-ponto:hover .ponto-pin::before {
  border-color: var(--gold);
}
.ponto-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200,150,12,0.35);
  animation: ponto-sonar 2.8s ease-out infinite;
  opacity: 0;
}
.territorio-ponto:nth-child(1) .ponto-pulse { animation-delay: 0.0s; }
.territorio-ponto:nth-child(2) .ponto-pulse { animation-delay: 0.4s; }
.territorio-ponto:nth-child(3) .ponto-pulse { animation-delay: 0.8s; }
.territorio-ponto:nth-child(4) .ponto-pulse { animation-delay: 1.2s; }
.territorio-ponto:nth-child(5) .ponto-pulse { animation-delay: 1.6s; }

@keyframes ponto-sonar {
  0%   { transform: scale(0.7); opacity: 0.65; }
  100% { transform: scale(2.4); opacity: 0; }
}

.ponto-num {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* City data */
.ponto-dados {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.ponto-nome {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
}
.is-sede .ponto-nome { color: var(--gold-light); }
.ponto-coord {
  font-family: 'Courier New', 'Lucida Console', monospace;
  font-size: 0.6rem;
  color: rgba(200,150,12,0.38);
  letter-spacing: 0.04em;
}
.ponto-tag {
  display: inline-block;
  margin-top: 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--deep);
  padding: 0.1em 0.6em;
  border-radius: 2px;
  font-weight: 700;
  width: fit-content;
}

/* Central state-border divider */
.territorio-divisor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}
.divisor-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.divisor-tag {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,150,12,0.45);
}
.divisor-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(200,150,12,0.28), transparent);
}
.divisor-globe {
  width: 34px; height: 34px;
  border: 1px solid rgba(200,150,12,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(200,150,12,0.45);
  flex-shrink: 0;
}
.divisor-globe svg { width: 17px; height: 17px; }

/* Bottom stats strip */
.municipios-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(200,150,12,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(200,150,12,0.025);
}
.mstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 1.2rem 0.75rem;
}
.mstat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.mstat-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.45);
}
.mstat-sep {
  width: 1px;
  height: 36px;
  background: rgba(200,150,12,0.18);
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .territorio-layout {
    grid-template-columns: 1fr;
  }
  .territorio-divisor { padding: 0.25rem 0; }
  .divisor-bar {
    flex-direction: row;
    gap: 0.65rem;
  }
  .divisor-line {
    width: 56px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(200,150,12,0.28), transparent);
  }
  .territorio-estado { padding: 1.25rem 0.5rem; }
  .territorio-compass { display: none; }
  .estado-sigla { font-size: 2.4rem; }
}
@media (max-width: 420px) {
  .municipios-stats { flex-direction: column; gap: 0; }
  .mstat-sep { width: 80px; height: 1px; }
}

/* ============================================================
   MISSAO
   ============================================================ */
.missao-section { position: relative; overflow: hidden; }
.missao-bg {
  position: absolute; inset: 0;
  background-image: url('../img/galeria/campo/capa.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.missao-overlay { position: absolute; inset: 0; background: var(--deep); opacity: 0.75; }
.missao-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--sand);
  max-width: 700px;
  margin: 0 auto 3.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  line-height: 1.8;
}
.missao-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: rgba(44,24,16,0.8);
  border: 1px solid var(--deep-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition);
}
.pillar:hover { transform: translateY(-4px); }
.pillar-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pillar h3   { font-size: 0.95rem; color: var(--gold); margin-bottom: 0.75rem; }
.pillar p    { font-size: 0.9rem; color: var(--sand); line-height: 1.6; }

@media (max-width: 900px) { .missao-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .missao-pillars { grid-template-columns: 1fr; } }

/* ============================================================
   GALERIA
   ============================================================ */
/* --- Grade de álbuns --- */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.album-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: linear-gradient(160deg, var(--deep-light) 0%, var(--deep-mid) 100%);
  border: 1px solid rgba(200,150,12,0.22);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: visible;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), box-shadow 0.45s ease, border-color 0.45s ease;
  box-shadow: 0 12px 34px rgba(0,0,0,0.4);
}
.album-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,150,12,0.55);
  box-shadow: 0 26px 60px rgba(0,0,0,0.6);
}
.album-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Efeito de pilha de fotos atrás do card */
.album-stack { position: absolute; inset: 0; z-index: -1; border-radius: 6px; }
.album-stack::before,
.album-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 1px solid rgba(200,150,12,0.18);
  background: var(--deep-mid);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.album-stack::before { transform: rotate(-2.5deg) translateY(6px); }
.album-stack::after  { transform: rotate(2deg) translateY(4px); }
.album-card:hover .album-stack::before { transform: rotate(-4deg) translateY(10px) translateX(-6px); }
.album-card:hover .album-stack::after  { transform: rotate(3.5deg) translateY(8px) translateX(6px); }

.album-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}
.album-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,15,10,0.85) 0%, rgba(26,15,10,0.15) 45%, transparent 100%);
}
.album-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.album-card:hover .album-cover img { transform: scale(1.07); }

.album-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.4rem 0.6rem;
}
.album-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.album-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
  color: var(--text-light);
}
.album-count {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--sand);
}
.album-count-num { font-style: normal; color: var(--gold-light); font-weight: 700; }

.album-open {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.9rem 1.4rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity var(--transition), gap var(--transition);
}
.album-card:hover .album-open { opacity: 1; gap: 0.85rem; color: var(--gold-light); }
.album-open svg { transition: transform var(--transition); }
.album-card:hover .album-open svg { transform: translateX(3px); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(12,7,4,0.94);
  backdrop-filter: blur(6px);
}
.lb-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(12,7,4,0.85), transparent);
}
.lb-album {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  color: var(--text-light);
}
.lb-counter {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(200,150,12,0.35);
  border-radius: 20px;
}
.lb-close {
  margin-left: auto;
  background: rgba(245,237,216,0.06);
  border: 1px solid rgba(245,237,216,0.18);
  color: var(--text-light);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.lb-close:hover { background: rgba(200,150,12,0.25); border-color: var(--gold); transform: rotate(90deg); }

.lb-stage {
  position: relative;
  z-index: 2;
  max-width: min(88vw, 1100px);
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.7);
  border: 1px solid rgba(200,150,12,0.25);
  animation: lbFade 0.4s ease;
}
@keyframes lbFade { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.lb-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,237,216,0.06);
  border: 1px solid rgba(245,237,216,0.18);
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
}
.lb-nav:hover { background: rgba(200,150,12,0.3); border-color: var(--gold); }
.lb-prev { left: clamp(0.75rem, 3vw, 2.5rem); }
.lb-next { right: clamp(0.75rem, 3vw, 2.5rem); }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

.lb-thumbs {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.25rem;
  overflow-x: auto;
  justify-content: center;
  background: linear-gradient(to top, rgba(12,7,4,0.85), transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(200,150,12,0.5) transparent;
}
.lb-thumbs::-webkit-scrollbar { height: 6px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(200,150,12,0.5); border-radius: 3px; }
.lb-thumb {
  flex: 0 0 auto;
  width: 64px; height: 48px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.lb-thumb.active { opacity: 1; border-color: var(--gold); }

@media (max-width: 860px) {
  .album-grid { grid-template-columns: 1fr; gap: 2.25rem; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .lb-nav { width: 44px; height: 44px; }
  .lb-thumbs { display: none; }
  .lb-stage { max-height: 78vh; }
  .lb-img { max-height: 78vh; }
}

/* ============================================================
   VIDEOS
   ============================================================ */
.videos-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep-mid);
  border: 1px solid var(--deep-light);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-main { display: flex; flex-direction: column; gap: 0.75rem; }
.video-main-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--sand);
  letter-spacing: 0.06em;
}
.video-badge-inline {
  background: var(--gold);
  color: var(--deep);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.videos-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.video-cta { text-align: center; }

@media (max-width: 900px) {
  .videos-layout { grid-template-columns: 1fr; }
  .videos-side   { flex-direction: row; }
  .videos-side .video-side-item { flex: 1; }
}
@media (max-width: 580px) {
  .videos-side { flex-direction: column; }
}

/* ============================================================
   REDES SOCIAIS
   ============================================================ */
.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.social-card {
  background: var(--deep-mid);
  border: 1px solid var(--deep-light);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.social-card:hover { transform: translateY(-5px); }
.social-card--instagram:hover { border-color: #e6683c; box-shadow: 0 14px 40px rgba(230,104,60,0.2); }
.social-card--youtube:hover   { border-color: #FF4444; box-shadow: 0 14px 40px rgba(255,68,68,0.15); }
.social-card--facebook:hover  { border-color: #1877F2; box-shadow: 0 14px 40px rgba(24,119,242,0.15); }
.social-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--deep-light);
}
.social-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-icon svg { width: 26px; height: 26px; }
.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.youtube   { background: #FF0000; color: white; }
.facebook  { background: #1877F2; color: white; }
.social-platform-info { display: flex; flex-direction: column; gap: 0.2rem; }
.social-card h3  { font-family: var(--font-heading); color: var(--text-light); font-size: 1.1rem; }
.social-handle   { color: var(--gold); font-family: var(--font-heading); font-size: 0.78rem; letter-spacing: 0.04em; }
.social-desc     { color: var(--sand); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.social-btn {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--deep-light);
  margin-top: auto;
  transition: color var(--transition);
}
.social-card:hover .social-btn { color: var(--gold-light); }

@media (max-width: 768px) { .social-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ============================================================
   APOIO (CTA)
   ============================================================ */
.section-apoio {
  background:
    radial-gradient(ellipse at 72% 18%, rgba(245,224,181,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 18% 92%, rgba(139,105,20,0.55) 0%, transparent 60%),
    linear-gradient(135deg, var(--gold) 0%, #A87C12 55%, #8B6914 100%);
  color: var(--deep);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.apoio-deco {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(26,15,10,0.035) 40px, rgba(26,15,10,0.035) 41px
  );
  pointer-events: none;
  z-index: 0;
}
/* Rosa-dos-ventos de marca-d'água */
.apoio-compass {
  position: absolute;
  top: 50%; right: -60px;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  color: rgba(26,15,10,0.07);
  pointer-events: none;
  z-index: 0;
}
.apoio-compass svg { width: 100%; height: 100%; }

/* Moldura estilo convite */
.apoio-frame {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 3.25rem;
  border: 1px solid rgba(26,15,10,0.28);
  border-radius: 6px;
  background: rgba(245,224,181,0.06);
}
.apoio-frame::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(26,15,10,0.16);
  border-radius: 3px;
  pointer-events: none;
}
.apoio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.apoio-left { display: flex; flex-direction: column; gap: 1.4rem; }
.apoio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(26,15,10,0.72);
}
.apoio-eyebrow span {
  display: block;
  width: 34px; height: 1px;
  background: rgba(26,15,10,0.5);
}
.apoio-title {
  font-size: clamp(2.1rem, 3.7vw, 3.3rem);
  color: var(--deep);
  line-height: 1.12;
}
.apoio-subtitle {
  font-size: 1.08rem;
  color: rgba(26,15,10,0.82);
  font-style: italic;
  line-height: 1.7;
  max-width: 38ch;
}
.apoio-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--deep);
  padding: 0.95rem 1.9rem;
  border-radius: 4px;
  border: 1px solid var(--deep);
  margin-top: 0.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.apoio-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(218,165,32,0.22), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.apoio-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26,15,10,0.35);
}
.apoio-cta:hover::before { transform: translateX(100%); }
.apoio-cta svg { position: relative; }
.apoio-cta-wa { width: 17px; height: 17px; }
.apoio-cta-arrow {
  width: 15px; height: 15px;
  transition: transform 0.3s ease;
}
.apoio-cta:hover .apoio-cta-arrow { transform: translateX(4px); }

.apoio-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.apoio-tipos-label {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,15,10,0.6);
  padding-left: 0.1rem;
}
.apoio-tipos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  width: 100%;
}
.apoio-tipo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(26,15,10,0.06);
  border: 1px solid rgba(26,15,10,0.16);
  border-radius: 6px;
  padding: 1rem 1rem;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.apoio-tipo::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--deep);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.apoio-tipo:hover {
  background: rgba(26,15,10,0.1);
  border-color: rgba(26,15,10,0.32);
  transform: translateY(-3px);
}
.apoio-tipo:hover::before { transform: scaleY(1); }
.apoio-tipo-ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(26,15,10,0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.apoio-tipo:hover .apoio-tipo-ic {
  background: var(--deep);
  color: var(--gold-light);
  border-color: var(--deep);
}
.apoio-tipo-ic svg { width: 22px; height: 22px; }
.apoio-tipo p {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--deep-mid);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .apoio-frame { padding: 2.25rem 1.5rem; }
  .apoio-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .apoio-compass { right: -120px; opacity: 0.7; }
}
@media (max-width: 460px) {
  .apoio-tipos { grid-template-columns: 1fr; }
}

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

/* Ornamento superior */
.footer-ornament {
  display: flex;
  align-items: center;
  gap: 0;
}
.footer-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold) 60%);
}
.footer-ornament-line:last-child { --dir: left; }
.footer-ornament-icon {
  width: 26px; height: 26px;
  color: var(--gold);
  flex-shrink: 0;
  margin: 0 0.75rem;
  opacity: 0.85;
}

#footer {
  background: var(--deep-mid);
  padding: 0 0 0;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.3fr;
  gap: 3rem;
  padding: 3.5rem 0 3rem;
  margin-bottom: 0;
  align-items: start;
}

/* Marca */
.footer-logo { width: 90px; margin-bottom: 1.25rem; }
.footer-tagline { color: var(--sand); font-style: italic; font-size: 0.88rem; line-height: 1.65; margin-bottom: 1rem; }
.footer-est {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

/* Cabeçalho de coluna */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(200,150,12,0.18);
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 28px; height: 1px;
  background: var(--gold);
}

/* Lista de contato */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--sand);
  font-size: 0.87rem;
  line-height: 1.5;
}
.fc-icon {
  width: 30px; height: 30px;
  min-width: 30px;
  border: 1px solid rgba(200,150,12,0.22);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,150,12,0.05);
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition);
}
.fc-icon svg { width: 13px; height: 13px; }
.footer-contact-list li:hover .fc-icon {
  background: rgba(200,150,12,0.12);
  border-color: rgba(200,150,12,0.5);
}
.footer-contact-list a {
  color: var(--sand);
  transition: color var(--transition);
  word-break: break-all;
}
.footer-contact-list a:hover { color: var(--gold); }

/* Redes sociais — cards */
.footer-social-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.fsocial-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(200,150,12,0.14);
  border-radius: 8px;
  color: var(--sand);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.02);
  transition: all 0.25s ease;
}
.fsocial-card svg { width: 16px; height: 16px; flex-shrink: 0; }
.fsocial-card:hover { transform: translateX(5px); }
.fsocial-ig:hover { border-color: #C13584; color: #E1306C; background: rgba(193,53,132,0.07); }
.fsocial-yt:hover { border-color: #FF0000; color: #FF4444; background: rgba(255,0,0,0.06); }
.fsocial-fb:hover { border-color: #1877F2; color: #4A9AF5; background: rgba(24,119,242,0.07); }

/* Rodapé inferior */
.footer-bottom {
  border-top: 1px solid rgba(200,150,12,0.12);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   SCROLLBAR & SELECTION
   ============================================================ */
::selection { background: var(--gold); color: var(--deep); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 9997;
  width: 42px; height: 42px;
  background: var(--deep-mid);
  border: 1px solid rgba(200,150,12,0.35);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
#back-to-top svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
