/* ============================================
   A∴R∴L∴S∴ Ordem e Sabedoria Nº 4488
   "Templo de Mármore & Ouro"
   ============================================ */

/* --- CSS Variables --- */
:root {
  --marble: #f5f0e8;
  --marble-light: #faf8f3;
  --gold: #b8960c;
  --gold-light: #d4b94e;
  --navy: #0f1b3d;
  --royal-blue: #1e3a7b;
  --charcoal: #2c2c2c;
  --chess-black: #1a1a2e;
  --chess-white: #e8e0d0;
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--marble);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: color 0.3s;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Marble Texture (CSS only) --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 190, 170, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(180, 170, 150, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(190, 180, 160, 0.08) 0%, transparent 45%);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background-color 0.4s, padding 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background-color: var(--navy);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s;
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-name {
  display: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .header-name {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .mobile-menu.active ~ .header .header-name,
  body.menu-open .header-name {
    display: none;
  }
}

.nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

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

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}

.lang-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 150, 12, 0.1);
}

.lang-btn:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 61, 0.97);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s, transform 0.3s;
}

.mobile-nav-link:hover {
  color: var(--gold);
  transform: scale(1.05);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(184, 150, 12, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(30, 58, 123, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 240px;
  max-width: 60vw;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 30px rgba(184, 150, 12, 0.25));
  animation: heroLogoIn 1.2s ease-out;
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(184, 150, 12, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-motto {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 14px 40px;
  transition: all 0.4s;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-hero:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 25px rgba(184, 150, 12, 0.3);
}

/* Hero Chess Strip */
.hero-chess-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: repeating-conic-gradient(var(--chess-black) 0% 25%, var(--chess-white) 0% 50%) 0 0 / 20px 20px;
  opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ORNAMENT DIVIDER
   ============================================ */
.ornament-divider {
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.ornament-svg {
  width: 200px;
  height: 40px;
  color: var(--gold);
}

/* ============================================
   SECTIONS (General)
   ============================================ */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-title.centered {
  text-align: center;
}

.section-title.light {
  color: var(--gold);
}

.section-intro {
  font-size: 1.15rem;
  color: var(--charcoal);
  max-width: 700px;
  margin-bottom: 56px;
  line-height: 1.8;
}

.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   A LOJA (SOBRE)
   ============================================ */
.section-sobre {
  background: var(--marble);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.sobre-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.sobre-card {
  position: relative;
}

.sobre-card-inner {
  border: 1.5px solid var(--gold);
  padding: 36px 32px;
  position: relative;
  background: var(--marble-light);
}

/* Double border effect */
.sobre-card-inner::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184, 150, 12, 0.35);
  pointer-events: none;
}

.sobre-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(184, 150, 12, 0.15);
}

.sobre-card-row:last-child {
  border-bottom: none;
}

.sobre-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.sobre-value {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: right;
}

/* ============================================
   MAÇONARIA
   ============================================ */
.section-maconaria {
  background: var(--marble-light);
  /* Marble texture CSS */
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(200, 190, 170, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(190, 180, 160, 0.12) 0%, transparent 40%);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.title-ornament {
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.title-diamond {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.card {
  background: #fff;
  padding: 40px 32px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.1);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
}

/* ============================================
   PILARES
   ============================================ */
.section-pilares {
  background-color: var(--marble);
  /* Subtle chess pattern */
  background-image: repeating-conic-gradient(
    rgba(26, 26, 46, 0.03) 0% 25%,
    transparent 0% 50%
  );
  background-size: 40px 40px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pilar {
  text-align: center;
  padding: 0 16px;
}

.pilar-cap {
  width: 80%;
  max-width: 160px;
  height: 8px;
  margin: 0 auto 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 4px 4px 0 0;
}

.pilar-icon {
  width: 56px;
  height: 56px;
  margin: 28px auto 20px;
  color: var(--gold);
}

.pilar-icon svg {
  width: 100%;
  height: 100%;
}

.pilar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.pilar-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
}

/* ============================================
   HISTÓRIA
   ============================================ */
.section-historia {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 16px;
  height: 16px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: box-shadow 0.4s, background-color 0.4s;
}

.timeline-item.visible .timeline-marker {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(184, 150, 12, 0.5);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   DIRETORIA
   ============================================ */
.section-diretoria {
  background: var(--marble-light);
}

.diretoria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.diretoria-card {
  text-align: center;
  padding: 36px 24px 32px;
  background: #fff;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.diretoria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
}

.diretoria-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  color: var(--gold);
  opacity: 0.7;
}

.diretoria-avatar svg {
  width: 100%;
  height: 100%;
}

.diretoria-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.diretoria-nome {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.diretoria-cargo {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

/* Staggered reveals for diretoria */
.diretoria-grid .diretoria-card:nth-child(2) { transition-delay: 0.1s; }
.diretoria-grid .diretoria-card:nth-child(3) { transition-delay: 0.2s; }
.diretoria-grid .diretoria-card:nth-child(4) { transition-delay: 0.1s; }
.diretoria-grid .diretoria-card:nth-child(5) { transition-delay: 0.2s; }
.diretoria-grid .diretoria-card:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   GALERIA
   ============================================ */
.section-galeria {
  background: var(--navy);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 150, 12, 0.3);
  transition: transform 0.3s;
}

.galeria-item:hover {
  transform: scale(1.03);
}

.galeria-item:hover .galeria-placeholder {
  border-color: var(--gold);
}

.galeria-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}

.galeria-item:hover .galeria-placeholder {
  background: rgba(255, 255, 255, 0.08);
}

.galeria-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(184, 150, 12, 0.5);
}

.galeria-placeholder span {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Staggered reveals for galeria */
.galeria-grid .galeria-item:nth-child(2) { transition-delay: 0.1s; }
.galeria-grid .galeria-item:nth-child(3) { transition-delay: 0.2s; }
.galeria-grid .galeria-item:nth-child(4) { transition-delay: 0.1s; }
.galeria-grid .galeria-item:nth-child(5) { transition-delay: 0.2s; }
.galeria-grid .galeria-item:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   NOTÍCIAS
   ============================================ */
.section-noticias {
  background: var(--marble);
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.noticia-card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.noticia-img {
  aspect-ratio: 16 / 9;
  background: var(--marble-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--gold);
}

.noticia-img svg {
  width: 48px;
  height: 48px;
  color: rgba(184, 150, 12, 0.4);
}

.noticia-body {
  padding: 28px 24px;
}

.noticia-data {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.noticia-titulo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.noticia-resumo {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.noticia-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s;
}

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

/* Staggered reveals for noticias */
.noticias-grid .noticia-card:nth-child(2) { transition-delay: 0.15s; }
.noticias-grid .noticia-card:nth-child(3) { transition-delay: 0.3s; }

.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Loading skeleton */
.noticias-loading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
}

.noticias-loading-card {
  background: #fff;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.noticias-loading-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 150, 12, 0.06) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Empty / fallback state */
.noticias-empty {
  text-align: center;
  padding: 60px 20px;
  width: 100%;
}

.noticias-empty p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  opacity: 0.7;
}

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

/* ============================================
   FAQ
   ============================================ */
.section-faq {
  background: var(--marble-light);
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(200, 190, 170, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(190, 180, 160, 0.12) 0%, transparent 40%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(184, 150, 12, 0.25);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--gold);
}

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

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  padding: 0 0 24px;
}

/* ============================================
   CONTATO
   ============================================ */
.section-contato {
  background: var(--marble-light);
}

.section-contato > .container > .ornament-divider {
  margin-bottom: 20px;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(184, 150, 12, 0.3);
  padding: 10px 0;
  transition: border-color 0.3s;
  outline: none;
}

.form-group textarea {
  border: 1.5px solid rgba(184, 150, 12, 0.25);
  padding: 12px;
  resize: vertical;
  min-height: 120px;
}

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

.btn-submit {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 14px 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: transparent;
  color: var(--gold);
}

.contato-info {
  padding-top: 8px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 1rem;
  color: var(--charcoal);
}

.info-social {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(184, 150, 12, 0.4);
  color: var(--gold);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.map-container {
  width: 100%;
  border: 1px solid rgba(184, 150, 12, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 200px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 60px 0 36px;
  position: relative;
}

.footer-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

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

.footer-affiliation {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.footer-affiliation a {
  color: var(--gold-light);
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.8rem;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Staggered reveals for pillars */
.pilares-grid .pilar:nth-child(2) { transition-delay: 0.15s; }
.pilares-grid .pilar:nth-child(3) { transition-delay: 0.3s; }

/* Staggered reveals for cards */
.cards-grid .card:nth-child(2) { transition-delay: 0.15s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.3s; }

/* Gold shimmer animation */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.pilar-cap {
  background-size: 200% 100%;
  animation: goldShimmer 4s linear infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 48px;
  }

  .diretoria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .noticias-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-header {
    flex-direction: column;
    gap: 12px;
  }

  .title-line { width: 40px; }
}

/* Timeline mobile */
@media (max-width: 768px) {
  body { font-size: 17px; }

  .section { padding: 72px 0; }

  .hero-logo { width: 180px; }

  .timeline-line {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 36px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: left;
  }

  .timeline-marker {
    left: 0;
  }
}

@media (max-width: 600px) {
  .diretoria-grid {
    grid-template-columns: 1fr;
  }

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

/* Small mobile */
@media (max-width: 480px) {
  body { font-size: 16px; }

  .section { padding: 56px 0; }

  .hero-content { padding: 100px 16px 80px; }

  .hero-logo { width: 150px; }

  .btn-hero, .btn-submit {
    padding: 12px 28px;
    font-size: 13px;
  }

  .card { padding: 28px 20px; }

  .sobre-card-inner { padding: 24px 20px; }
}
