/* =============================================================
   GuiaRB v2 — CSS Customizado
   Acervo Digital de Rio Bonito
   ============================================================= */

/* CUSTOM PROPERTIES */
:root {
  --clr-blue-deep: #1B3764;
  --clr-blue-dark: #234B8A;
  --clr-blue-mid: #3A6DB5;
  --clr-blue-bright: #4A8AD4;
  --clr-blue-light: #6BAAE8;
  --clr-blue-pale: #B8D8F8;
  --clr-blue-wash: #E8F2FC;
  --clr-blue-ice: #F2F7FD;
  --clr-bg: #F5F8FC;
  --clr-bg-warm: #EDF3FA;
  --clr-bg-card: #FFFFFF;
  --clr-text: #1B2A45;
  --clr-text-light: #4A6085;
  --clr-text-muted: #8A9AB5;
  --clr-accent: var(--clr-blue-mid);
  --clr-accent-warm: #D4A017;
  --clr-border: #D6E3F0;
  --clr-border-light: #E8EFF7;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
.nav-guiarb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(27, 55, 100, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all .4s var(--ease-out);
}
.nav-guiarb.scrolled {
  background: rgba(27, 55, 100, 0.97);
  box-shadow: 0 4px 40px rgba(27, 55, 100, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1.1);
  transition: transform .3s var(--ease-out);
}
.nav-logo:hover img { transform: scale(1.04); }
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 100px;
  transition: all .25s var(--ease-out);
  letter-spacing: .01em;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, .15); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 55, 100, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all .2s;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,55,100,.85) 0%, rgba(35,75,138,.7) 35%, rgba(58,109,181,.6) 65%, rgba(27,55,100,.9) 100%),
              url('https://www.guiarb.com.br/guia-v2/imgs/guiarb-rio-bonito-inicial.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 25s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-mountains {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 120px;
}
.hero-mountains svg { width: 100%; height: 100%; display: block; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 24px;
  max-width: 820px;
}
.hero-logo { margin-bottom: 32px; animation: fadeUp 1s .2s var(--ease-out) both; }
.hero-logo img { height: 100px; width: auto; filter: drop-shadow(0 8px 32px rgba(0,0,0,.3)); }

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 1s .35s var(--ease-out) both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  animation: fadeUp 1s .5s var(--ease-out) both;
  text-shadow: 0 2px 40px rgba(0,0,0,.2);
}
.hero h1 em { font-style: italic; color: var(--clr-blue-pale); font-weight: 400; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .6);
  font-weight: 300;
  letter-spacing: .02em;
  margin-bottom: 44px;
  animation: fadeUp 1s .65s var(--ease-out) both;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s .8s var(--ease-out) both;
}
.hero-scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: fadeUp 1s 1.2s var(--ease-out) both;
}
.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, .35);
  animation: bounce 2.5s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* BUTTONS */
.btn-guiarb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 100px;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  border: none;
}
.btn-primary-g { background: #fff; color: var(--clr-blue-deep); }
.btn-primary-g:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2); color: var(--clr-blue-deep); }
.btn-outline-g { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-outline-g:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-blue-g { background: var(--clr-blue-mid); color: #fff; }
.btn-blue-g:hover { background: var(--clr-blue-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(58,109,181,.4); color: #fff; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-blue-mid);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.02rem;
  color: var(--clr-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ABOUT / MUNICIPIO */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(27, 55, 100, .12);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
}
.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--clr-blue-deep);
  letter-spacing: -.01em;
}
.about-text p {
  color: var(--clr-text-light);
  margin-bottom: 16px;
  font-size: .98rem;
  line-height: 1.8;
}

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  transition: all .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-blue-mid), var(--clr-blue-bright));
  opacity: 0;
  transition: opacity .3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27, 55, 100, .1); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-blue-mid);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .78rem; color: var(--clr-text-muted); font-weight: 500; letter-spacing: .02em; }

/* TIMELINE */
.timeline-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--clr-blue-deep);
}
.timeline { position: relative; padding: 0 0 0 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-blue-mid), var(--clr-border));
}
.timeline-item {
  position: relative;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn .6s var(--ease-out) forwards;
}
.timeline-item:nth-child(1) { animation-delay: .1s; }
.timeline-item:nth-child(2) { animation-delay: .2s; }
.timeline-item:nth-child(3) { animation-delay: .3s; }
.timeline-item:nth-child(4) { animation-delay: .4s; }
.timeline-item:nth-child(5) { animation-delay: .5s; }
.timeline-item:nth-child(6) { animation-delay: .6s; }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--clr-blue-mid);
  border-radius: 50%;
  border: 3px solid var(--clr-bg);
  box-shadow: 0 0 0 2px var(--clr-blue-mid);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--clr-blue-mid);
  letter-spacing: .05em;
  margin-bottom: 4px;
  font-weight: 500;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--clr-blue-deep);
}
.timeline-desc { color: var(--clr-text-light); font-size: .9rem; line-height: 1.65; }

/* TURISMO CARDS */
.turismo-bg {
  background: linear-gradient(180deg, var(--clr-blue-ice) 0%, var(--clr-bg) 100%);
  position: relative;
}
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card-guiarb {
  background: var(--clr-bg-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--clr-border-light);
  transition: all .35s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card-guiarb:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(27, 55, 100, .12);
  border-color: var(--clr-blue-pale);
  color: inherit;
}
.card-img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s var(--ease-out); }
.card-guiarb:hover .card-img { transform: scale(1.05); }
.card-img-wrap { overflow: hidden; }
.card-body-g { padding: 22px; }
.card-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-blue-mid);
  margin-bottom: 8px;
  display: inline-block;
  background: var(--clr-blue-wash);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.card-title-g {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--clr-blue-deep);
}
.card-desc { font-size: .88rem; color: var(--clr-text-light); line-height: 1.65; }

/* ARQUIVO / NEWS */
.arquivo-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all .25s var(--ease-out);
  text-decoration: none;
}
.filter-btn:hover,
.filter-btn.active { background: var(--clr-blue-mid); color: #fff; border-color: var(--clr-blue-mid); }

.search-bar { max-width: 520px; margin: 0 auto 36px; position: relative; }
.search-bar input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .92rem;
  padding: 15px 24px 15px 52px;
  border: 2px solid var(--clr-border);
  border-radius: 100px;
  background: var(--clr-bg-card);
  color: var(--clr-text);
  outline: none;
  transition: all .3s;
}
.search-bar input:focus { border-color: var(--clr-blue-mid); box-shadow: 0 0 0 4px rgba(58,109,181,.1); }
.search-bar input::placeholder { color: var(--clr-text-muted); }
.search-bar svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--clr-text-muted);
}

.news-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin: 0 auto; }
.news-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-item:hover {
  transform: translateX(6px);
  border-color: var(--clr-blue-mid);
  box-shadow: 0 4px 24px rgba(27, 55, 100, .08);
  color: inherit;
}
.news-date {
  flex-shrink: 0;
  text-align: center;
  padding-right: 20px;
  border-right: 2px solid var(--clr-border-light);
  min-width: 70px;
}
.news-date-day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-blue-mid);
  line-height: 1;
}
.news-date-month {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--clr-text-muted);
}
.news-content { flex: 1; }
.news-source {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent-warm);
  margin-bottom: 3px;
  font-weight: 500;
}
.news-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
  color: var(--clr-blue-deep);
}
.news-excerpt { font-size: .84rem; color: var(--clr-text-light); line-height: 1.5; }
.news-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.news-item:hover .news-arrow { background: var(--clr-blue-mid); }
.news-item:hover .news-arrow svg { stroke: #fff; }
.news-arrow svg { width: 14px; height: 14px; stroke: var(--clr-blue-mid); }

/* PAGINATION */
.pagination-guiarb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination-guiarb a,
.pagination-guiarb span {
  font-family: var(--font-mono);
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  color: var(--clr-text-light);
  text-decoration: none;
  transition: all .25s var(--ease-out);
}
.pagination-guiarb a:hover { background: var(--clr-blue-wash); border-color: var(--clr-blue-mid); color: var(--clr-blue-mid); }
.pagination-guiarb .active-page { background: var(--clr-blue-mid); color: #fff; border-color: var(--clr-blue-mid); }

/* GALLERY */
.gallery-bg { background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-blue-ice) 100%); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,55,100,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.gallery-overlay-date { color: rgba(255,255,255,.65); font-size: .7rem; font-family: var(--font-mono); margin-top: 2px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(27,55,100,.94);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
  animation: fadeIn .3s;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,.3);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-close svg { width: 20px; height: 20px; stroke: #fff; }
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: center;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev svg, .lightbox-next svg { width: 24px; height: 24px; stroke: #fff; }
.lightbox-prev[disabled], .lightbox-next[disabled] { opacity: .25; pointer-events: none; }
.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
}
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* VIDEOS */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.video-card {
  background: var(--clr-bg-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--clr-border-light);
  transition: all .35s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(27,55,100,.1); color: inherit; }
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--clr-blue-deep);
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s; }
.video-card:hover .video-thumb img { opacity: .9; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease-spring);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.video-card:hover .video-play-btn { transform: scale(1.1); }
.video-play-btn svg { width: 22px; height: 22px; fill: var(--clr-blue-deep); margin-left: 2px; }
.video-info { padding: 20px 22px; }
.video-year {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--clr-blue-mid);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.video-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--clr-blue-deep);
}
.video-desc { font-size: .84rem; color: var(--clr-text-light); }

/* WEATHER */
.weather-section {
  background: linear-gradient(135deg, var(--clr-blue-deep) 0%, var(--clr-blue-dark) 50%, var(--clr-blue-mid) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.weather-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.weather-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center; }
.weather-current { text-align: center; }
.weather-icon { font-size: 4.5rem; margin-bottom: 8px; line-height: 1; }
.weather-temp { font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.weather-cond { font-size: 1.02rem; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.weather-feel { font-size: .82rem; color: rgba(255,255,255,.45); }
.weather-forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.forecast-day {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  transition: all .3s;
}
.forecast-day:hover { background: rgba(255,255,255,.12); }
.forecast-name { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.forecast-icon { font-size: 1.5rem; margin-bottom: 10px; }
.forecast-temps { font-family: var(--font-display); font-size: .95rem; font-weight: 600; }
.forecast-temps span { color: rgba(255,255,255,.35); font-weight: 400; }

/* IMOVEIS */
.imoveis-banner {
  background: var(--clr-bg-warm);
  border-top: 1px solid var(--clr-border-light);
  border-bottom: 1px solid var(--clr-border-light);
}
.imoveis-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0;
  flex-wrap: wrap;
}
.imoveis-text { flex: 1; }
.imoveis-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent-warm);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.imoveis-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--clr-blue-deep);
}
.imoveis-desc { color: var(--clr-text-light); font-size: .92rem; }
.imoveis-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.imoveis-tag {
  font-size: .82rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  color: var(--clr-text-light);
  transition: all .2s;
  text-decoration: none;
}
.imoveis-tag:hover { border-color: var(--clr-accent-warm); color: var(--clr-accent-warm); background: rgba(212,160,23,.06); }

/* FOOTER */
.footer-guiarb {
  background: var(--clr-blue-deep);
  color: rgba(255,255,255,.5);
  padding: 64px 0 40px;
  position: relative;
}
.footer-guiarb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,75,138,.15) 0%, transparent 100%);
}
.footer-guiarb > .container { position: relative; z-index: 2; }
.footer-top { display: flex; align-items: center; justify-content: center; margin-bottom: 48px; }
.footer-top img { height: 50px; width: auto; filter: brightness(1.1); opacity: .8; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,.35); max-width: 320px; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--clr-blue-pale); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: .76rem; color: rgba(255,255,255,.25); }
.footer-credit { font-size: .76rem; color: rgba(255,255,255,.25); }
.footer-credit a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-credit a:hover { color: var(--clr-blue-pale); }

/* ARTICLE DETAIL */
.article-header { margin-bottom: 40px; }
.article-source {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent-warm);
  margin-bottom: 12px;
  font-weight: 500;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-blue-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--clr-text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--clr-text-light);
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}
.article-body p { margin-bottom: 16px; }
.article-photo {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 40px rgba(27,55,100,.1);
}
.article-photo img { width: 100%; height: auto; display: block; }

/* BREADCRUMB */
.breadcrumb-guiarb {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--clr-text-muted);
  padding: 20px 0;
  margin-top: 72px;
}
.breadcrumb-guiarb a {
  color: var(--clr-blue-mid);
  text-decoration: none;
}
.breadcrumb-guiarb a:hover { text-decoration: underline; }

/* MUNICIPIO CONTENT SECTIONS */
.municipio-section { padding: 60px 0; border-bottom: 1px solid var(--clr-border-light); }
.municipio-section:last-child { border-bottom: none; }
.municipio-section h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-blue-deep);
  margin-bottom: 20px;
}
.municipio-section .content-text {
  color: var(--clr-text-light);
  font-size: .98rem;
  line-height: 1.8;
}
.municipio-section .content-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .weather-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-logo img { height: 72px; }
  .hero-sub { font-size: .95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-scroll { bottom: 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { max-height: 360px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.8rem; }
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .weather-forecast { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .forecast-day { padding: 14px 4px; }
  .forecast-name { font-size: .62rem; }
  .imoveis-inner { flex-direction: column; text-align: center; }
  .imoveis-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .news-item { flex-direction: column; align-items: flex-start; }
  .news-date { border-right: none; border-bottom: 1px solid var(--clr-border-light); padding: 0 0 10px; width: 100%; }
  .news-arrow { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

@media (max-width: 480px) {
  .weather-forecast { grid-template-columns: repeat(3, 1fr); }
  .weather-forecast .forecast-day:nth-child(n+4) { display: none; }
  .arquivo-filters { gap: 6px; }
  .filter-btn { font-size: .72rem; padding: 7px 12px; }
  .hero-mountains { height: 60px; }
}
