/* ===== VARIÁVEIS ===== */
:root {
  --bg: #f0f4f8;
  --surface: #ffffff;
  --primary: #0f3460;
  --primary-dark: #0a2540;
  --primary-light: #1a5276;
  --accent: #00c2a8;
  --accent-dark: #009b87;
  --warm: #ff6b6b;
  --hero-bg: #060c18;
  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --s1: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --s2: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --s3: 0 12px 32px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.06);
  --s4: 0 24px 64px rgba(0,0,0,.14);
  --glow: 0 0 32px rgba(0, 194, 168, .35);
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .22s var(--ease);
  --t-slow: .4s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute;
  top: -100px; left: 20px;
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: 0 0 8px 8px;
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===== BANNER ===== */
.banner-top {
  background: linear-gradient(90deg, var(--primary) 0%, #1a5276 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: banner-shimmer 8s linear infinite;
  color: #fff;
  padding: 10px 24px;
  text-align: center;
  font-size: .88rem;
}
.banner-top.hidden { display: none; }
.banner-top__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto;
}
.banner-top__text { font-weight: 500; opacity: .95; }
.banner-top__cta {
  background: var(--accent); color: #fff !important;
  padding: 5px 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .8rem;
  letter-spacing: .03em; text-transform: uppercase;
  transition: background var(--t), transform var(--t);
}
.banner-top__cta:hover { background: var(--accent-dark); transform: scale(1.04); }
.banner-top__close {
  background: transparent; border: none; color: rgba(255,255,255,.7);
  font-size: 1.3rem; cursor: pointer; padding: 0 4px; line-height: 1;
  transition: color var(--t);
}
.banner-top__close:hover { color: #fff; }
@keyframes banner-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ===== HEADER ===== */
.header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 24px; min-height: 140px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--primary); font-weight: 800;
  font-size: 1.18rem; letter-spacing: -.01em;
  text-decoration: none !important;
}
.logo__img {
  height: 112px;
  width: auto;
  max-width: min(520px, 90vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}
.logo:hover { opacity: .85; }
.logo__icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 6px 14px; border-radius: var(--r-pill);
  color: var(--text-2); font-weight: 500; font-size: .92rem;
  transition: background var(--t), color var(--t);
}
.nav a:hover { background: #f3f4f6; color: var(--primary); }
.header__menu-btn {
  display: none; background: none;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 1.1rem; cursor: pointer; padding: 6px 10px;
  color: var(--text-2); line-height: 1; align-items: center;
}
@media (max-width: 768px) {
  .nav { display: none; }
  .header__menu-btn { display: flex; }
  .header__inner { min-height: 112px; padding: 10px 16px; }
  .logo__img { height: 88px; max-width: min(400px, 92vw); }
}
.footer__brand .logo__img {
  height: 96px;
  max-width: min(480px, 100%);
}

/* ===== HERO ===== */
.hero {
  background: var(--hero-bg);
  overflow: hidden; position: relative; color: #fff;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(0,194,168,.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(15,52,96,.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  text-align: center;
  padding: 80px 24px 52px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,194,168,.12);
  border: 1px solid rgba(0,194,168,.28);
  color: var(--accent);
  padding: 6px 16px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.025em; margin: 0 0 18px; color: #fff;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #6ee7e0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.08rem; color: rgba(255,255,255,.6);
  margin: 0 0 36px; max-width: 520px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}
.hero-search {
  display: flex; gap: 0; max-width: 500px; margin: 0 auto 32px;
  border-radius: var(--r-pill); overflow: hidden;
  box-shadow: var(--s3), var(--glow);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.hero-search__input {
  flex: 1; padding: 16px 22px;
  background: transparent; border: none;
  font-family: var(--font); font-size: 1rem; color: #fff; outline: none;
}
.hero-search__input::placeholder { color: rgba(255,255,255,.4); }
.hero-search__btn {
  padding: 14px 26px; background: var(--accent); color: #fff;
  border: none; font-family: var(--font); font-size: .92rem;
  font-weight: 700; cursor: pointer;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  transition: background var(--t); white-space: nowrap;
}
.hero-search__btn:hover { background: var(--accent-dark); }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.75);
  padding: 7px 16px; border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 500;
  transition: all var(--t); cursor: pointer;
}
.hero__tag:hover {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.24);
}
.hero__stats {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.22);
  border-top: 1px solid rgba(255,255,255,.07);
}
.hero__stats-inner {
  display: flex; justify-content: center;
  max-width: 700px; margin: 0 auto;
}
.hero__stat {
  flex: 1; text-align: center;
  padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-value {
  display: block; font-size: 1.65rem; font-weight: 900;
  color: var(--accent); letter-spacing: -.025em;
  line-height: 1; margin-bottom: 4px;
}
.hero__stat-label {
  font-size: .73rem; color: rgba(255,255,255,.45);
  font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 600px) {
  .hero__content { padding: 56px 20px 40px; }
  .hero-search { flex-direction: column; border-radius: var(--r-lg); }
  .hero-search__input { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .hero-search__btn { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero__stats-inner { flex-wrap: wrap; }
  .hero__stat { flex: 0 0 50%; }
}

/* ===== HIGHLIGHTS BAR ===== */
.highlights-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.highlights-bar__inner {
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.highlights-bar__inner::-webkit-scrollbar { display: none; }
.highlight-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-right: 1px solid var(--border);
  flex-shrink: 0; text-decoration: none !important; color: inherit;
  transition: background var(--t); min-width: 0;
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: #f9fafb; }
.highlight-item__badge {
  flex-shrink: 0; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
}
.highlight-item__badge--hot { background: var(--warm); color: #fff; }
.highlight-item__badge--new { background: var(--accent); color: #fff; }
.highlight-item__badge--guide { background: var(--primary); color: #fff; }
.highlight-item__title {
  font-size: .88rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px;
}
.highlight-item__meta {
  font-size: .76rem; color: var(--muted);
  white-space: nowrap; flex-shrink: 0; margin-left: auto; padding-left: 12px;
}

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 32px;
  flex-wrap: wrap; gap: 16px;
}
.section__title {
  font-size: 1.8rem; font-weight: 800; color: var(--text);
  margin: 0 0 6px; letter-spacing: -.02em;
}
.section__subtitle { font-size: .95rem; color: var(--muted); margin: 0; }
.section__more { margin-top: 36px; text-align: center; }

/* ===== FEATURED POST ===== */
.featured-post {
  background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--s2); border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 320px;
  transition: box-shadow var(--t), transform var(--t);
}
.featured-post:hover { box-shadow: var(--s4); transform: translateY(-4px); }
.featured-post__image { position: relative; overflow: hidden; }
.featured-post__image-bg {
  position: absolute; inset: 0;
  transition: transform var(--t-slow);
}
.featured-post:hover .featured-post__image-bg { transform: scale(1.06); }
.featured-post__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.4) 100%);
}
.featured-post__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
}
.featured-post__body {
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-post__region {
  font-size: .78rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .09em; margin: 0 0 10px;
}
.featured-post__title {
  font-size: 1.5rem; font-weight: 800; color: var(--text);
  margin: 0 0 12px; line-height: 1.3; letter-spacing: -.02em;
}
.featured-post__title a { color: inherit; }
.featured-post__title a:hover { color: var(--primary); }
.featured-post__excerpt {
  font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 0 0 20px;
}
.featured-post__read-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: .9rem;
  transition: color var(--t), gap var(--t);
}
.featured-post__read-link:hover { color: var(--accent); gap: 10px; }
.featured-post__meta { font-size: .8rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 640px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__image { height: 220px; }
}

/* ===== CARDS ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.card-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px;
}
.card {
  background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--s1);
  border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--s3); transform: translateY(-5px); border-color: transparent; }
.card__image { height: 200px; position: relative; overflow: hidden; }
.card__image-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow);
}
.card:hover .card__image-bg { transform: scale(1.06); }
.card__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45) 100%);
}
.card__region-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  color: var(--primary); padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.card__body { padding: 20px 22px 22px; }
.card__meta {
  font-size: .76rem; color: var(--muted); margin: 0 0 8px;
  display: flex; align-items: center; gap: 6px;
}
.card__meta::before {
  content: ''; display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.card__title {
  font-size: 1.02rem; font-weight: 700;
  margin: 0 0 8px; line-height: 1.4; letter-spacing: -.01em;
}
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--primary); }
.card__excerpt {
  font-size: .875rem; color: var(--muted); margin: 0;
  line-height: 1.5; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card--horizontal { display: flex; flex-direction: row; align-items: stretch; }
.card--horizontal .card__image {
  height: auto; width: 100px; min-width: 100px; flex-shrink: 0;
  border-radius: 0;
}
.card--horizontal .card__body {
  padding: 14px 16px; display: flex; flex-direction: column; justify-content: center;
}
.card--horizontal .card__title { font-size: .94rem; margin-bottom: 0; }
.card--horizontal .card__meta { margin-bottom: 5px; }

/* Gradient image classes */
.img--brasil { background: linear-gradient(135deg, #059669 0%, #10b981 40%, #fbbf24 100%); }
.img--chile { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #dc2626 100%); }
.img--europa { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #eab308 100%); }
.img--eua { background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #dc2626 100%); }
.img--marrocos { background: linear-gradient(135deg, #b91c1c 0%, #d97706 60%, #15803d 100%); }
.img--grecia { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 70%, #eff6ff 100%); }
.img--lisboa { background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #dc2626 100%); }
.img--paises { background: linear-gradient(135deg, #0f3460 0%, #00c2a8 100%); }
.img--asia { background: linear-gradient(135deg, #991b1b 0%, #b45309 60%, #1e3a8a 100%); }
.img--caribe { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #15803d 100%); }
.img--sul { background: linear-gradient(135deg, #1e40af 0%, #60a5fa 50%, #eab308 100%); }
.img--africa { background: linear-gradient(135deg, #92400e 0%, #d97706 50%, #15803d 100%); }

/* ===== DESTINATION GRID ===== */
.dest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dest-grid { grid-template-columns: 1fr; } }
.dest-card {
  position: relative; height: 180px; border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none !important; display: block;
  transition: transform var(--t), box-shadow var(--t);
}
.dest-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--s4); }
.dest-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow);
}
.dest-card:hover .dest-card__bg { transform: scale(1.09); }
.dest-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 60%, transparent 100%);
}
.dest-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 18px; color: #fff;
}
.dest-card__name {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 2px;
  letter-spacing: -.01em; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.dest-card__count { font-size: .76rem; color: rgba(255,255,255,.65); margin: 0; }
.dest-card__arrow {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; backdrop-filter: blur(4px);
  transition: background var(--t), transform var(--t);
}
.dest-card:hover .dest-card__arrow { background: rgba(255,255,255,.32); transform: translateX(3px); }
.dest-card--large { grid-column: span 2; height: 240px; }
@media (max-width: 900px) { .dest-card--large { grid-column: span 2; } }
@media (max-width: 540px) { .dest-card--large { grid-column: span 1; height: 180px; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--r-pill);
  font-family: var(--font); font-size: .9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all var(--t); border: none;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 0 28px rgba(15,52,96,.35); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); box-shadow: var(--glow); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { background: #f3f4f6; color: var(--text-2); }
.btn--ghost:hover { background: #e5e7eb; color: var(--text); }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a2540 40%, var(--primary-light) 100%);
  padding: 72px 24px; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,168,.18) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter__inner {
  max-width: 560px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.newsletter__eyebrow {
  display: inline-block;
  background: rgba(0,194,168,.18); border: 1px solid rgba(0,194,168,.3);
  color: var(--accent); padding: 5px 14px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 14px;
}
.newsletter__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900;
  color: #fff; margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.15;
}
.newsletter__text { color: rgba(255,255,255,.58); margin: 0 0 28px; font-size: .95rem; line-height: 1.55; }
.newsletter-form {
  display: flex; max-width: 440px; margin: 0 auto;
  border-radius: var(--r-pill); overflow: hidden;
  box-shadow: var(--s4);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.newsletter-form__input {
  flex: 1; padding: 15px 22px; background: transparent; border: none;
  font-family: var(--font); font-size: .95rem; color: #fff; outline: none;
}
.newsletter-form__input::placeholder { color: rgba(255,255,255,.38); }
.newsletter-form__btn {
  padding: 13px 24px; background: var(--accent); color: #fff; border: none;
  font-family: var(--font); font-size: .88rem; font-weight: 700;
  cursor: pointer; border-radius: 0 var(--r-pill) var(--r-pill) 0;
  transition: background var(--t); white-space: nowrap;
}
.newsletter-form__btn:hover { background: var(--accent-dark); }
.newsletter__privacy { font-size: .74rem; color: rgba(255,255,255,.32); margin-top: 12px; }
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; border-radius: var(--r-lg); }
  .newsletter-form__input { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .newsletter-form__btn { border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 14px; }
}

/* ===== FOOTER ===== */
.footer { background: #060c18; color: rgba(255,255,255,.6); padding: 56px 0 28px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .logo { color: #fff; margin-bottom: 14px; display: inline-flex; }
.footer__brand p { font-size: .875rem; line-height: 1.65; margin: 0 0 12px; }
.footer__disclaimer { font-size: .78rem !important; opacity: .45 !important; line-height: 1.55; }
.footer__col h4 {
  font-size: .76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(255,255,255,.3); margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--t); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer__copy { font-size: .8rem; opacity: .38; margin: 0; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== PAGE (sobre, post) ===== */
.page-content { padding: 56px 24px 72px; }
.prose { max-width: 680px; margin: 0 auto; }
.prose h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 900;
  letter-spacing: -.025em; margin: 0 0 20px; color: var(--text);
}
.prose h2 {
  font-size: 1.35rem; font-weight: 700; margin: 36px 0 16px; color: var(--text);
}
.prose p, .prose li {
  color: var(--text-2); line-height: 1.7; margin: 0 0 16px; font-size: 1.02rem;
}
.prose ul { margin: 0 0 24px; padding-left: 1.5rem; }
.post-single__meta {
  font-size: .88rem; color: var(--muted); margin-bottom: 8px !important;
  display: flex; align-items: center; gap: 8px;
}
.post-single__region-badge {
  background: #eff6ff; color: var(--primary);
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.post-single__body {
  margin-top: 0;
  line-height: 1.75;
  font-size: 1.05rem;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.post-single__body > *:first-child { margin-top: 0 !important; }
.post-single__body > *:last-child { margin-bottom: 0 !important; }
.post-single__body h1 {
  font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 900; margin: 36px 0 14px;
  color: var(--text); letter-spacing: -.02em; line-height: 1.25;
}
.post-single__body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.35rem); font-weight: 700; margin: 32px 0 12px;
  color: var(--text); letter-spacing: -.01em; line-height: 1.3;
}
.post-single__body h3 {
  font-size: clamp(1.05rem, 2vw, 1.15rem); font-weight: 700; margin: 24px 0 10px;
  color: var(--text); letter-spacing: -.01em;
}
.post-single__body h4 {
  font-size: .9rem; font-weight: 700; margin: 20px 0 8px;
  color: var(--text); text-transform: uppercase; letter-spacing: .04em;
}
.post-single__body p,
.post-single__body div { margin-bottom: 1.2em; color: var(--text-2); }
.post-single__body ul, .post-single__body ol {
  margin: 1em 0; padding-left: 1.4rem;
}
.post-single__body li { color: var(--text-2); margin-bottom: .35em; }
.post-single__body a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.post-single__body strong { color: var(--text); font-weight: 700; }
.post-single__body em { font-style: italic; }
.post-single__body blockquote {
  margin: 24px 0; padding: 14px 18px 14px 20px;
  border-left: 4px solid var(--accent);
  background: #f0f9f8; border-radius: 0 var(--r) var(--r) 0;
  color: var(--text-2); font-style: italic;
}
.post-single__body blockquote p,
.post-single__body blockquote div { margin-bottom: 0; }
.post-single__body pre {
  margin: 20px 0; padding: 18px 20px;
  background: #1a1f2e; border-radius: var(--r);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  font-size: .88rem; line-height: 1.65; color: #e2e8f0;
  white-space: pre; tab-size: 2;
}
.post-single__body pre code {
  background: none; padding: 0; border-radius: 0;
  color: inherit; font-size: inherit; white-space: pre;
}
.post-single__body code {
  background: #f1f5f9; color: var(--primary);
  padding: 2px 6px; border-radius: 4px;
  font-size: .87em; font-family: ui-monospace, 'Fira Code', monospace;
}
.post-single__body img {
  max-width: 100%; height: auto; display: block;
  border-radius: var(--r); margin: 20px auto;
  box-shadow: var(--s2);
}
.post-single__body hr {
  border: none; border-top: 1px solid var(--border);
  margin: 32px 0;
}
.post-single__body table {
  display: block; width: 100%; border-collapse: collapse;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 20px 0; font-size: .93rem;
}
.post-single__body table th, .post-single__body table td {
  border: 1px solid var(--border); padding: 9px 13px;
  text-align: left; color: var(--text-2); white-space: nowrap;
}
.post-single__body table th {
  background: var(--primary); color: #fff; font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
}
.post-single__body table tr:nth-child(even) td { background: #f8fafc; }
@media (max-width: 600px) {
  .post-single__body { font-size: 1rem; }
  .post-single__body pre { padding: 14px 16px; font-size: .83rem; }
  .post-single__body blockquote { padding: 12px 14px 12px 16px; }
}

/* ===== POST PAGE ===== */
.post-hero {
  background: var(--primary);
  padding: 48px 20px 48px;
  position: relative; overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute; top: -100px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,168,.18) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero__inner {
  max-width: 720px; margin: 0 auto;
  position: relative; z-index: 1; min-width: 0;
}
.post-hero__back {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-size: .85rem; font-weight: 600;
  margin-bottom: 18px; transition: all .2s;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.post-hero__back:hover {
  background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.45);
  color: #fff; gap: 9px;
}
.post-hero__region {
  display: block;
  background: rgba(0,194,168,.18); border: 1px solid rgba(0,194,168,.3);
  color: var(--accent); padding: 4px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 12px;
  width: fit-content;
}
.post-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900;
  color: #fff; margin: 0 0 14px; line-height: 1.2; letter-spacing: -.02em;
  overflow-wrap: break-word; word-break: break-word;
}
.post-hero__meta {
  font-size: .85rem; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.post-hero__meta span { display: flex; align-items: center; gap: 4px; }
.post-body-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 40px 20px 72px;
}
.loading-state {
  text-align: center; padding: 72px 20px; color: var(--muted);
}
.loading-state__spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-state { text-align: center; padding: 72px 20px; }
.error-state__icon { font-size: 3rem; margin-bottom: 16px; }
.error-state h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 8px; }
.error-state p { color: var(--muted); margin: 0 0 24px; }
.post-nav {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 28px; margin-top: 40px;
  gap: 12px; flex-wrap: wrap;
}
.post-nav .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #6ee7e0);
  z-index: 200; width: 0%; transition: width .1s linear;
}
@media (max-width: 600px) {
  .post-hero { padding: 36px 16px 40px; }
  .post-body-wrap { padding: 32px 16px 56px; }
}

/* ===== POST HERO COM IMAGEM ===== */
.post-hero--has-image {
  background-size: cover !important;
  background-position: center !important;
  background-color: #0a1628;
}
.post-hero--has-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,10,25,.62) 0%, rgba(5,10,25,.78) 100%);
  pointer-events: none; z-index: 1;
}
.post-hero--has-image .post-hero__inner { z-index: 2; }

/* ===== ADMIN ===== */
.admin-loading, .admin-empty { color: var(--muted); padding: 3rem 0; }
