:root {
  --navy: #0b1f4d;
  --navy-soft: #112b63;
  --blue: #1e40af;
  --cobalt: #1d4ed8;
  --sky: #2196f3;
  --gold: #ffd500;
  --gold-soft: #fff5c2;
  --ink: #172033;
  --muted: #63708a;
  --line: #dfe6f2;
  --paper: #f7f9fc;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(11, 31, 77, .08);
  --shadow-lg: 0 24px 70px rgba(11, 31, 77, .17);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Poppins', sans-serif; line-height: 1.6; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: white; background: var(--navy); border-radius: 10px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; color: white; background: rgba(11, 31, 77, .96); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 24px rgba(11,31,77,.14); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy); background: var(--gold); border-radius: 13px; transform: rotate(-8deg); box-shadow: 4px 4px 0 rgba(255,255,255,.1); }
.brand-mark i { transform: rotate(8deg); font-size: 19px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 15px; letter-spacing: -.2px; }
.brand-copy small { margin-top: 5px; color: #9fb5e6; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { color: #dce7ff; transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a:not(.nav-cta):focus-visible { color: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: var(--navy); background: white; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }

.blog-intro { position: relative; padding: 76px 0 52px; overflow: hidden; }
.blog-intro::before { content: ''; position: absolute; z-index: -1; top: 15px; right: -160px; width: 430px; height: 430px; background: radial-gradient(circle, rgba(33,150,243,.14), transparent 65%); pointer-events: none; }
.blog-intro::after { content: ''; position: absolute; z-index: -1; bottom: 12px; left: -200px; width: 380px; height: 260px; background: radial-gradient(circle, rgba(255,213,0,.16), transparent 67%); pointer-events: none; }
.intro-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.intro-kicker span { width: 23px; height: 3px; background: var(--gold); border-radius: 2px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); align-items: end; gap: 72px; margin-top: 18px; }
.intro-grid h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(40px, 6vw, 77px); font-weight: 800; letter-spacing: -4px; line-height: 1.02; }
.intro-grid h1 em { position: relative; z-index: 0; color: var(--cobalt); font-style: normal; }
.intro-grid h1 em::after { content: ''; position: absolute; z-index: -1; right: 3px; bottom: 3px; left: 0; height: 9px; background: var(--gold); opacity: .7; transform: rotate(-1deg); }
.intro-lede { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.intro-aside { padding: 22px 0 6px 26px; border-left: 2px solid var(--gold); }
.aside-number { display: block; color: var(--blue); font-size: 34px; font-weight: 800; line-height: 1; }
.intro-aside p { max-width: 180px; margin: 12px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.55; }
.topic-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); }
.topic-rail span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; color: var(--navy-soft); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.topic-rail i { color: var(--cobalt); }

.featured-section, .publication-section { padding: 35px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1.8px; line-height: 1; }
.section-index { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.featured-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); min-height: 475px; overflow: hidden; background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.featured-visual { position: relative; min-height: 390px; overflow: hidden; }
.featured-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4,15,42,.7)); }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.featured-card:hover .featured-visual img { transform: scale(1.045); }
.featured-stamp { position: absolute; z-index: 1; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--navy); background: var(--gold); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.featured-visual-caption { position: absolute; z-index: 1; right: 28px; bottom: 22px; left: 28px; color: white; font-size: 12px; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; color: white; }
.featured-copy .post-meta { color: #a9bce9; }
.featured-copy h3 { margin: 17px 0 16px; font-size: clamp(27px, 3.4vw, 44px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.08; }
.featured-copy p { margin: 0; color: #cfdbf5; font-size: 14px; line-height: 1.8; }
.featured-copy .button { align-self: flex-start; margin-top: 28px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; }
.post-meta time::before, .post-meta > span:last-child::before { content: '·'; margin-right: 9px; color: currentColor; }
.category-pill { display: inline-flex; padding: 5px 9px; color: var(--blue); background: #eaf2ff; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.featured-copy .category-pill { color: var(--navy); background: var(--gold); }

.publications-heading { align-items: end; }
.section-note { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.blog-toolbar { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.4fr) auto; align-items: center; gap: 14px; padding: 15px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.search-field { position: relative; display: flex; align-items: center; }
.search-field i { position: absolute; left: 14px; color: var(--blue); font-size: 13px; }
.search-field input { width: 100%; min-height: 42px; padding: 0 15px 0 40px; color: var(--ink); background: #f8faff; border: 1px solid transparent; border-radius: 11px; outline: none; font-size: 12px; }
.search-field input:focus { border-color: #9db7eb; box-shadow: 0 0 0 3px rgba(33,150,243,.12); }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { padding: 8px 11px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 700; transition: color .2s ease, background .2s ease, border .2s ease, transform .2s ease; }
.filter-button:hover, .filter-button:focus-visible { color: var(--blue); border-color: #9db7eb; transform: translateY(-1px); }
.filter-button.is-active { color: white; background: var(--blue); border-color: var(--blue); }
.sort-field { display: flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; font-size: 10px; font-weight: 700; }
.sort-field select { padding: 8px 9px; color: var(--navy); background: #f8faff; border: 1px solid var(--line); border-radius: 9px; outline: none; font-size: 10px; font-weight: 700; }
.results-meta { display: flex; align-items: center; justify-content: space-between; min-height: 54px; color: var(--muted); font-size: 11px; font-weight: 700; }
.clear-filters { padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); cursor: pointer; box-shadow: 0 4px 15px rgba(11,31,77,.04); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.post-card:hover, .post-card:focus-visible { border-color: #a9c2ee; box-shadow: var(--shadow-sm); transform: translateY(-7px); outline: none; }
.post-card-image { position: relative; height: 205px; overflow: hidden; background: #eaf2ff; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.image-placeholder { display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; height: 100%; padding: 20px; color: #6f86b8; background: linear-gradient(135deg, #e8f0ff, #f8fbff); text-align: center; }
.image-placeholder i { color: var(--gold); font-size: 32px; text-shadow: 1px 2px 0 var(--navy); }
.image-placeholder span { max-width: 180px; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.post-card:hover .post-card-image img { transform: scale(1.06); }
.card-category { position: absolute; top: 14px; left: 14px; padding: 6px 9px; color: var(--navy); background: var(--gold); border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.post-card-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.post-card h3 { margin: 13px 0 9px; color: var(--navy); font-size: 19px; font-weight: 800; letter-spacing: -.65px; line-height: 1.2; }
.post-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 11px; font-weight: 800; }
.card-bottom i { transition: transform .2s ease; }
.post-card:hover .card-bottom i { transform: translateX(4px); }
.empty-state { padding: 72px 20px; color: var(--muted); text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); }
.empty-state i { color: var(--gold); font-size: 36px; }
.empty-state h3 { margin: 12px 0 4px; color: var(--navy); }
.empty-state p { margin: 0; font-size: 13px; }

.about-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-bottom: 80px; padding: 30px 34px; background: linear-gradient(135deg, #eaf2ff, #f6f9ff); border: 1px solid #cfe0fb; border-radius: var(--radius-lg); }
.about-icon { display: grid; place-items: center; width: 62px; height: 62px; color: var(--navy); background: var(--gold); border-radius: 20px; font-size: 25px; transform: rotate(-7deg); }
.about-strip h2 { margin: 5px 0 7px; color: var(--navy); font-size: 24px; letter-spacing: -.9px; }
.about-strip p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 800; white-space: nowrap; }
.text-link i { transition: transform .2s ease; }
.text-link:hover i { transform: translateX(4px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 17px; border: 0; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-primary { color: var(--navy); background: var(--gold); box-shadow: 0 8px 18px rgba(255,213,0,.16); }
.button-primary:hover, .button-primary:focus-visible { background: #ffe657; box-shadow: 0 12px 24px rgba(255,213,0,.25); transform: translateY(-2px); }

.site-footer { color: #b4c5e9; background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; font-size: 10px; }
.footer-inner > div { display: grid; gap: 3px; }
.footer-inner strong { color: white; font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-inner > a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 800; }

.article-loading { display: grid; place-items: center; gap: 12px; min-height: 500px; color: var(--muted); font-size: 12px; font-weight: 700; }
.article-loading[hidden], .article-error[hidden] { display: none; }
.article-loading i { color: var(--blue); font-size: 28px; }
.article-shell { padding: 42px 0 82px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 800; }
.back-link:hover { color: var(--navy); }
.article-header { max-width: 900px; margin: 46px auto 34px; text-align: center; }
.article-header .post-meta { justify-content: center; }
.article-header h1 { margin: 19px 0 18px; color: var(--navy); font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: -3px; line-height: 1.06; }
.article-excerpt { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.75; }
.article-byline { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--navy); font-size: 11px; font-weight: 700; }
.author-avatar { display: grid; place-items: center; width: 29px; height: 29px; color: white; background: var(--blue); border-radius: 50%; }
.article-cover { margin: 0; overflow: hidden; background: #eaf2ff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; max-height: 570px; object-fit: cover; }
.article-cover.no-image { display: grid; min-height: 330px; place-items: center; background: linear-gradient(135deg, #e8f0ff, #f8fbff); }
.article-cover.no-image::after { content: 'Imagem não disponibilizada pela fonte'; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.article-cover.no-image img { display: none; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 70px; max-width: 930px; margin: 58px auto 0; }
.article-body { max-width: 690px; }
.article-body section + section { margin-top: 43px; }
.article-body h2 { margin: 0 0 15px; color: var(--navy); font-size: 25px; letter-spacing: -.8px; line-height: 1.2; }
.article-body h2::before { content: ''; display: inline-block; width: 24px; height: 4px; margin: 0 10px 6px 0; background: var(--gold); border-radius: 3px; }
.article-body p { margin: 0 0 16px; color: #44516a; font-size: 15px; line-height: 1.95; }
.article-aside { align-self: start; padding: 18px 0 0 22px; border-left: 2px solid var(--gold); }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.article-tags span { padding: 6px 9px; color: var(--blue); background: #eaf2ff; border-radius: 999px; font-size: 9px; font-weight: 800; }
.article-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 38px; color: var(--muted); font-size: 10px; font-weight: 800; }
.article-share span { width: 100%; margin-bottom: 3px; color: var(--navy); }
.article-share a, .article-share button { display: grid; place-items: center; width: 31px; height: 31px; color: white; background: var(--blue); border: 0; border-radius: 50%; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.article-share a:hover, .article-share button:hover, .article-share button:focus-visible { background: var(--navy); transform: translateY(-2px); }
.article-next { display: flex; justify-content: center; margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-error { min-height: 540px; padding: 100px 0; text-align: center; }
.article-error i { color: var(--gold); font-size: 42px; }
.article-error h1 { color: var(--navy); }
.article-error p { color: var(--muted); font-size: 13px; }
.article-error .button { margin-top: 12px; }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4, 15, 42, .72); backdrop-filter: blur(9px); }
.modal-backdrop[hidden] { display: none; }
.post-modal { position: relative; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); width: min(860px, 100%); max-height: min(700px, calc(100vh - 40px)); overflow: auto; background: white; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.35); animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(15px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 35px; height: 35px; color: var(--navy); background: rgba(255,255,255,.88); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 5px 16px rgba(11,31,77,.18); }
.modal-image-wrap { min-height: 360px; background: #eaf2ff; }
.modal-image-wrap img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.modal-content { display: flex; flex-direction: column; justify-content: center; padding: 46px; }
.modal-content h2 { margin: 18px 0 14px; color: var(--navy); font-size: clamp(25px, 4vw, 38px); letter-spacing: -1.3px; line-height: 1.1; }
.modal-content > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal-footer > span { color: var(--muted); font-size: 10px; font-weight: 700; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .header-inner { align-items: flex-start; padding: 15px 0; }
  .main-nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 16px; }
  .nav-cta { padding: 8px 11px; }
  .intro-grid { gap: 35px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 330px; max-height: 430px; }
  .featured-copy { padding: 34px; }
  .blog-toolbar { grid-template-columns: 1fr; }
  .sort-field { justify-content: space-between; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-strip { grid-template-columns: auto minmax(0, 1fr); }
  .about-strip .text-link { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { display: block; padding: 14px 0 12px; }
  .main-nav { justify-content: flex-start; margin-top: 15px; gap: 8px 15px; font-size: 10px; }
  .nav-cta { margin-left: auto; }
  .blog-intro { padding: 52px 0 28px; }
  .intro-grid { display: block; margin-top: 15px; }
  .intro-grid h1 { font-size: clamp(38px, 12vw, 58px); letter-spacing: -2.7px; }
  .intro-lede { margin-top: 20px; font-size: 13px; }
  .intro-aside { margin-top: 28px; padding: 12px 0 0; border-top: 2px solid var(--gold); border-left: 0; }
  .intro-aside p { max-width: none; }
  .topic-rail { gap: 7px; margin-top: 28px; }
  .topic-rail span { padding: 7px 9px; font-size: 9px; }
  .featured-section, .publication-section { padding-bottom: 58px; }
  .section-heading { align-items: start; margin-bottom: 16px; }
  .section-heading h2 { font-size: 30px; }
  .section-index { padding-top: 10px; font-size: 9px; }
  .featured-visual { min-height: 245px; }
  .featured-copy { padding: 28px 22px 25px; }
  .featured-copy h3 { font-size: 29px; }
  .featured-copy .button { width: 100%; }
  .section-note { display: none; }
  .posts-grid { grid-template-columns: 1fr; gap: 15px; }
  .post-card-image { height: 190px; }
  .about-strip { display: block; margin-bottom: 55px; padding: 24px; }
  .about-icon { margin-bottom: 20px; }
  .about-strip h2 { font-size: 22px; }
  .about-strip .text-link { display: inline-flex; margin-top: 19px; }
  .footer-inner { display: grid; justify-content: stretch; gap: 8px; padding: 21px 0; }
  .footer-inner > a { justify-self: start; }
  .post-modal { display: block; max-height: calc(100vh - 28px); }
  .modal-image-wrap, .modal-image-wrap img { min-height: 190px; height: 190px; }
  .modal-content { padding: 28px 22px 24px; }
  .modal-content h2 { font-size: 28px; }
  .modal-footer { align-items: stretch; flex-direction: column; }
  .modal-footer .button { width: 100%; }
  .article-shell { padding-top: 28px; }
  .article-header { margin: 34px auto 28px; text-align: left; }
  .article-header .post-meta { justify-content: flex-start; }
  .article-header h1 { font-size: 39px; letter-spacing: -2px; }
  .article-excerpt { font-size: 14px; line-height: 1.7; }
  .article-cover { border-radius: 17px; }
  .article-cover img { min-height: 225px; height: 225px; }
  .article-layout { display: block; margin-top: 36px; }
  .article-body h2 { font-size: 24px; }
  .article-body p { font-size: 14px; line-height: 1.8; }
  .article-aside { margin-top: 34px; padding: 18px 0 0; border-top: 2px solid var(--gold); border-left: 0; }
  .article-next { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   HEADER E FOOTER — identidade do site principal Grupo Home Tour
   ===================================================================== */
.site-header.main-site-header {
  position: relative;
  top: auto;
  z-index: 10;
  width: 100%;
  min-height: 0;
  color: white;
  background: #2563eb;
  border: 0;
  border-radius: 0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  backdrop-filter: none;
}
.header-container { width: min(100%, 1280px); margin: 0 auto; padding: 0 28px; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.header-logo-group { display: flex; align-items: center; min-width: 0; transition: transform .3s ease; }
.header-logo-group:hover { transform: scale(1.025); }
.header-logo-link { display: block; flex-shrink: 0; margin-right: 20px; }
.header-logo-link img { width: auto; height: 50px; object-fit: contain; cursor: pointer; }
.header-wordmark { display: flex; align-items: baseline; gap: 5px; color: white; font-size: 17px; line-height: 1.2; white-space: nowrap; }
.header-wordmark strong { font-weight: 700; }
.header-wordmark span { font-weight: 400; }
.header-reserve { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 24px; overflow: hidden; color: #2563eb; background: white; border-radius: 999px; box-shadow: 0 4px 6px rgba(0,0,0,.12); font-size: 13px; font-weight: 600; transition: transform .3s ease, box-shadow .3s ease; }
.header-reserve::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(37,99,235,.12), transparent); transition: left .5s ease; }
.header-reserve:hover::before { left: 100%; }
.header-reserve:hover, .header-reserve:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); }
.header-reserve i, .header-reserve span { position: relative; z-index: 1; }

.main-site-footer { color: white; background: #1f2937; border: 0; }
.footer-container { width: min(100%, 1280px); margin: 0 auto; padding: 48px 32px 8px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.2fr; gap: 38px 42px; }
.footer-column { min-width: 0; }
.footer-brand-row { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo-link { display: block; flex-shrink: 0; margin-right: 16px; transition: transform .3s ease; }
.footer-logo-link:hover { transform: translateY(-5px); }
.footer-logo-link img { width: 48px; height: auto; }
.footer-column h3 { margin: 0; color: white; font-size: 20px; line-height: 1.25; }
.footer-column h3 span { color: #3b82f6; }
.footer-column h4 { margin: 0 0 16px; color: white; font-size: 18px; }
.footer-column h5 { margin: 24px 0 8px; color: white; font-size: 16px; }
.footer-column p, .footer-column li, .footer-column a { color: #9ca3af; font-size: 13px; line-height: 1.7; }
.footer-about p { max-width: 280px; margin: 0; }
.footer-column ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-column ul a { transition: color .2s ease; }
.footer-column ul a:hover, .footer-column ul a:focus-visible { color: white; }
.footer-contact li { display: flex; align-items: center; gap: 9px; }
.footer-contact li > i { flex-shrink: 0; color: #60a5fa; }
.footer-unit-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(100%, 230px); min-height: 42px; margin-top: 8px; padding: 8px 16px; color: #2196f3 !important; background: white; border: 1px solid #2196f3; border-radius: 999px; font-weight: 600; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease; }
.footer-unit-button:hover, .footer-unit-button:focus-visible { color: white !important; background: #22459b; border-color: white; transform: translateY(-2px); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; color: white; background: #374151; border-radius: 50%; transition: background .25s ease, transform .25s ease; }
.footer-socials a:hover, .footer-socials a:focus-visible { background: #2563eb; transform: translateY(-3px); }
.footer-socials a:last-child:hover, .footer-socials a:last-child:focus-visible { background: #22c55e; }
.footer-payments p { margin: 0 0 7px; color: #d1d5db; font-size: 12px; font-weight: 600; }
.payment-icons { display: flex; align-items: center; gap: 13px; color: #9ca3af; font-size: 25px; }
.payment-icons i { transition: transform .3s ease; }
.payment-icons i:hover { transform: translateY(-4px); }
.payment-split { display: flex; gap: 24px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #4b5563; }
.payment-split span { color: #9ca3af; font-size: 11px; line-height: 1.65; }
.payment-split span + span { padding-left: 24px; border-left: 2px solid #6b7280; }
.payment-split strong { color: #d1d5db; font-size: 12px; }
.footer-divider { width: 100%; height: 2px; margin-top: 34px; background: #4b5563; }
.footer-copyright { padding: 16px 0 8px; color: #9ca3af; font-size: 12px; text-align: center; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .header-container { padding: 0 16px; }
  .header-row { min-height: 70px; }
  .header-logo-link { margin-right: 10px; }
  .header-logo-link img { height: 43px; }
  .header-wordmark { display: block; max-width: 155px; font-size: 12px; white-space: normal; }
  .header-wordmark strong, .header-wordmark span { display: inline; }
  .header-reserve { padding: 8px 12px; font-size: 10px; }
  .footer-container { padding: 38px 20px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-column h4 { margin-bottom: 10px; }
  .footer-about p { max-width: none; }
  .payment-split { gap: 16px; }
  .payment-split span + span { padding-left: 16px; }
}

/* Ocupa a largura disponível sem o limite estreito anterior */
:root { --shell: calc(100% - 48px); }
.shell { width: var(--shell); max-width: none; }
.header-container, .footer-container { width: calc(100% - 48px); max-width: none; }

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .shell { width: var(--shell); }
  .header-container, .footer-container { width: calc(100% - 32px); }
}

/* =====================================================================
   SCROLL-DRIVEN ANIMATIONS — reveal, parallax e progresso de leitura
   ===================================================================== */
.scroll-progress { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: 4px; overflow: hidden; pointer-events: none; background: rgba(11,31,77,.08); }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold), #ffed68, var(--sky)); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; box-shadow: 0 0 12px rgba(255,213,0,.75); }

.js-scroll-effects .scroll-reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .75s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms), transform .75s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms); }
.js-scroll-effects .scroll-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.js-scroll-effects .post-card:nth-child(3n + 2) { --reveal-delay: 80ms; }
.js-scroll-effects .post-card:nth-child(3n + 3) { --reveal-delay: 150ms; }

.parallax-scene::before { transform: translate3d(0, var(--scene-offset, 0px), 0); will-change: transform; }
.featured-visual img, .article-cover img { transform: translate3d(0, var(--media-offset, 0px), 0) scale(1.035); will-change: transform; }
.featured-card:hover .featured-visual img { transform: translate3d(0, var(--media-offset, 0px), 0) scale(1.045); }

@supports (animation-timeline: view()) {
  html:not(.reduce-motion) .js-scroll-effects .scroll-reveal { animation: scroll-reveal-in linear both; animation-timeline: view(); animation-range: entry 0% cover 27%; }
  html:not(.reduce-motion) .js-scroll-effects .scroll-reveal.is-visible { animation-name: none; }
}
@keyframes scroll-reveal-in { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress span { transition: none; }
  .parallax-scene::before, .featured-visual img, .article-cover img { transform: none !important; }
  .js-scroll-effects .scroll-reveal, .js-scroll-effects .scroll-reveal.is-visible { opacity: 1; transform: none; transition: none; animation: none !important; }
}


/* =====================================================================
   PÁGINA EDITORIAL — leitura ampla, imagens sem esticar e narrativa visual
   ===================================================================== */
body.article-page { background: #f2f6fc; }
.article-page .article-shell { width: 100%; max-width: none; padding: 30px 0 100px; }
.article-page .back-link { margin: 0 5vw; color: var(--blue); }
.article-page .article-header { width: min(100% - 10vw, 1420px); max-width: none; margin: 48px 5vw 42px; padding: 42px clamp(24px, 5vw, 84px); text-align: left; background: linear-gradient(135deg, #ffffff 0%, #edf4ff 100%); border: 1px solid #d8e5f8; border-radius: 30px; box-shadow: 0 18px 60px rgba(11,31,77,.09); }
.article-page .article-header::before { content: ''; display: block; width: 54px; height: 6px; margin-bottom: 24px; background: var(--gold); border-radius: 999px; }
.article-page .article-header .post-meta { justify-content: flex-start; }
.article-page .article-header h1 { max-width: 1120px; margin: 18px 0 20px; font-size: clamp(38px, 5.5vw, 82px); letter-spacing: -4px; line-height: 1.02; }
.article-page .article-excerpt { max-width: 1050px; margin: 0; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.8; }
.article-page .article-cover { display: flex; width: fit-content; max-width: 90vw; margin: 0 5vw 70px; padding: 14px; overflow: hidden; background: #dfeaff; border: 1px solid #c8dafa; border-radius: 28px; box-shadow: 0 24px 75px rgba(11,31,77,.16); }
.article-page .article-cover img { width: auto; max-width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 18px; }
.article-page .article-cover.no-image { width: calc(100% - 10vw); min-height: 260px; }
.article-page .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(42px, 7vw, 130px); width: 90vw; max-width: 1500px; margin: 0 auto; }
.article-page .article-body { max-width: 980px; padding: clamp(25px, 4vw, 62px) clamp(24px, 4vw, 68px); background: #fff; border: 1px solid #dce6f5; border-radius: 28px; box-shadow: 0 15px 50px rgba(11,31,77,.07); }
.article-page .article-body section + section { margin-top: 58px; padding-top: 42px; border-top: 1px solid #e5ebf5; }
.article-page .article-body h2 { margin-bottom: 20px; font-size: clamp(25px, 2.4vw, 36px); letter-spacing: -1.2px; }
.article-page .article-body h2::before { width: 38px; height: 6px; margin-right: 13px; margin-bottom: 8px; }
.article-page .article-body p { max-width: 860px; margin-bottom: 20px; color: #3f4d68; font-size: clamp(15px, 1.25vw, 18px); line-height: 2; }
.article-page .article-aside { position: sticky; top: 26px; align-self: start; padding: 26px 0 0 28px; border-left: 4px solid var(--gold); }
.article-page .article-aside::after { content: 'Conteúdo editorial reescrito para o Diário de Bordo Grupo Home Tour'; display: block; margin-top: 28px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.article-page .article-tags span { padding: 8px 11px; font-size: 10px; }
.article-page .article-next { width: 90vw; margin: 64px auto 0; }
.article-page .modal-note { color: var(--muted); font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  .article-page .article-layout { grid-template-columns: 1fr; width: 90vw; }
  .article-page .article-body { max-width: none; }
  .article-page .article-aside { position: static; padding: 22px 0 0; border-top: 4px solid var(--gold); border-left: 0; }
}
@media (max-width: 620px) {
  .article-page .article-shell { padding-top: 22px; }
  .article-page .back-link { margin: 0 7vw; }
  .article-page .article-header { width: 86vw; margin: 34px 7vw 28px; padding: 28px 22px; border-radius: 22px; }
  .article-page .article-header h1 { font-size: 40px; letter-spacing: -2.2px; }
  .article-page .article-excerpt { font-size: 14px; }
  .article-page .article-cover { max-width: 86vw; margin: 0 7vw 42px; padding: 8px; border-radius: 19px; }
  .article-page .article-cover img { border-radius: 13px; }
  .article-page .article-cover.no-image { width: 86vw; min-height: 210px; }
  .article-page .article-layout { width: 86vw; }
  .article-page .article-body { padding: 28px 21px; border-radius: 22px; }
  .article-page .article-body section + section { margin-top: 40px; padding-top: 30px; }
  .article-page .article-body p { font-size: 15px; line-height: 1.88; }
  .article-page .article-next { width: 86vw; }
}


/* =====================================================================
   HOME — hero editorial e imagens preservadas sem corte de rostos
   ===================================================================== */
.blog-intro { width: 100%; max-width: none; padding: 28px 4vw 54px; }
.hero-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; min-height: 480px; overflow: hidden; padding: clamp(42px, 7vw, 96px) clamp(28px, 7vw, 110px); background: linear-gradient(118deg, #071a43 0%, #123c90 60%, #2563eb 100%); border-radius: 0 0 42px 42px; box-shadow: 0 28px 70px rgba(11,31,77,.22); }
.hero-panel::before { content: ''; position: absolute; top: -180px; right: 24%; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025); }
.hero-panel::after { content: ''; position: absolute; right: -100px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,213,0,.22), transparent 65%); }
.hero-copy, .hero-orbit { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.hero-copy .intro-kicker { color: #d9e6ff; }
.hero-copy .intro-kicker span { background: var(--gold); }
.hero-copy h1 { max-width: 800px; margin: 24px 0 20px; color: white; font-size: clamp(42px, 6.5vw, 88px); font-weight: 800; letter-spacing: -5px; line-height: .98; }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-copy .intro-lede { max-width: 620px; margin: 0; color: #cfddfa; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.75; }
.hero-action { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 13px 18px; color: var(--navy); background: var(--gold); border-radius: 999px; font-size: 12px; font-weight: 800; box-shadow: 0 12px 25px rgba(255,213,0,.2); transition: transform .2s ease, box-shadow .2s ease; }
.hero-action:hover, .hero-action:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(255,213,0,.3); }
.hero-orbit { min-height: 330px; }
.orbit-line { position: absolute; top: 50%; left: 14%; width: 86%; height: 210px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: rotate(-18deg); }
.orbit-card { position: absolute; display: grid; gap: 8px; color: white; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 24px; backdrop-filter: blur(12px); box-shadow: 0 22px 50px rgba(3,16,49,.2); }
.orbit-card-main { top: 56px; right: 8%; width: 230px; padding: 25px; transform: rotate(5deg); }
.orbit-card-main i { display: grid; place-items: center; width: 45px; height: 45px; color: var(--navy); background: var(--gold); border-radius: 15px; font-size: 19px; }
.orbit-card-main strong { font-size: 18px; }
.orbit-card-main span { color: #c8d7f6; font-size: 11px; line-height: 1.5; }
.orbit-card-small { right: 54%; bottom: 20px; grid-template-columns: auto 1fr; align-items: center; padding: 12px 15px; transform: rotate(-7deg); }
.orbit-card-small i { color: var(--gold); }
.orbit-card-small span { font-size: 11px; font-weight: 700; }
.featured-section, .publication-section { width: 92%; max-width: none; }
.featured-section { padding-top: 50px; }
.section-index { color: var(--blue); font-size: 11px; font-weight: 800; }

/* Contenção inteligente: mostra a fotografia completa e nunca amplia uma imagem pequena. */
.post-card-image { display: grid; place-items: center; height: 235px; background: #e8eef8; }
.post-card-image img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: transform .55s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.featured-visual { display: grid; place-items: center; background: #dce7f7; }
.featured-visual img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.featured-visual::after { background: linear-gradient(180deg, transparent 56%, rgba(4,15,42,.65)); pointer-events: none; }
.modal-image-wrap { display: grid; place-items: center; min-height: 360px; background: #e5edf9; }
.modal-image-wrap img { width: auto; max-width: 100%; height: auto; max-height: min(560px, 72vh); object-fit: contain; }
.modal-image-wrap img.is-empty { display: none; }
.modal-image-wrap:has(img.is-empty)::after { content: 'Imagem não disponível'; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.modal-footer { justify-content: flex-end; }

@media (max-width: 780px) {
  .blog-intro { padding: 0 0 34px; }
  .hero-panel { display: block; min-height: 600px; padding: 54px 7vw 40px; border-radius: 0 0 30px 30px; }
  .hero-copy h1 { font-size: clamp(43px, 13vw, 65px); letter-spacing: -3px; }
  .hero-orbit { min-height: 235px; margin-top: 25px; }
  .orbit-card-main { top: 18px; right: 8%; }
  .orbit-card-small { right: auto; bottom: 10px; left: 8%; }
  .orbit-line { top: 40%; left: 5%; width: 90%; }
  .featured-section, .publication-section { width: 92%; }
  .featured-visual { min-height: 300px; }
  .post-card-image { height: 220px; }
  .modal-image-wrap, .modal-image-wrap img { min-height: 230px; max-height: 48vh; }
}
@media (max-width: 420px) {
  .hero-panel { min-height: 630px; }
  .orbit-card-main { right: 2%; }
  .orbit-card-small { left: 2%; }
  .post-card-image { height: 230px; }
}


/* Ajuste fino de enquadramento: a imagem inteira sempre prevalece sobre o recorte. */
.post-card-image img,
.featured-visual img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.post-card-image { overflow: hidden; }

/* Popups responsivos ao aspecto real da fotografia. */
.post-modal { grid-template-columns: minmax(310px, 1.08fr) minmax(330px, .92fr); }
.post-modal.is-portrait { display: block; width: min(650px, 100%); }
.post-modal.is-portrait .modal-image-wrap { min-height: 0; padding: 18px 18px 0; }
.post-modal.is-portrait .modal-image-wrap img { max-width: 100%; max-height: min(66vh, 720px); }
.post-modal.is-portrait .modal-content { padding: 30px 38px 36px; }
.post-modal.is-landscape { width: min(980px, 100%); }
.post-modal.is-landscape .modal-image-wrap { min-height: 360px; }
.post-modal.is-landscape .modal-image-wrap img { max-width: 100%; max-height: min(66vh, 590px); }
.post-modal.is-square { width: min(820px, 100%); }
.post-modal.is-square .modal-image-wrap img { max-width: 100%; max-height: min(62vh, 540px); }
@media (max-width: 620px) {
  .post-modal.is-portrait,
  .post-modal.is-landscape,
  .post-modal.is-square { width: 100%; }
  .post-modal.is-portrait .modal-image-wrap { padding: 10px 10px 0; }
  .post-modal.is-portrait .modal-content { padding: 25px 22px 24px; }
  .post-modal.is-landscape .modal-image-wrap img,
  .post-modal.is-square .modal-image-wrap img { max-height: 42vh; }
}


/* =====================================================================
   POPUP FINAL — composição horizontal, sem espaços brancos desnecessários
   ===================================================================== */
.post-modal.is-portrait,
.post-modal.is-landscape,
.post-modal.is-square {
  display: grid;
  grid-template-columns: minmax(250px, 42%) minmax(0, 58%);
  align-items: stretch;
  width: min(860px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: hidden;
}
.post-modal.is-portrait { width: min(780px, 100%); }
.post-modal.is-landscape { width: min(980px, 100%); }
.post-modal .modal-image-wrap,
.post-modal.is-portrait .modal-image-wrap,
.post-modal.is-landscape .modal-image-wrap,
.post-modal.is-square .modal-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #dce8f8;
}
.post-modal .modal-image-wrap img,
.post-modal.is-portrait .modal-image-wrap img,
.post-modal.is-landscape .modal-image-wrap img,
.post-modal.is-square .modal-image-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  background: #dce8f8;
}
.post-modal.is-portrait .modal-content { padding: 30px 34px; }
.post-modal.is-portrait .modal-content h2 { font-size: clamp(23px, 3vw, 34px); }
.post-modal.is-portrait .modal-content > p { font-size: 12px; line-height: 1.65; }
.post-modal.is-portrait .modal-footer { margin-top: 22px; }
.post-modal.is-portrait .modal-details { font-size: 10px; }
.post-modal.is-landscape .modal-content { padding: 34px 40px; }
.post-modal.is-landscape .modal-content h2 { font-size: clamp(24px, 3vw, 38px); }
@media (max-width: 620px) {
  .post-modal.is-portrait,
  .post-modal.is-landscape,
  .post-modal.is-square {
    display: block;
    width: 100%;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }
  .post-modal.is-portrait .modal-image-wrap,
  .post-modal.is-landscape .modal-image-wrap,
  .post-modal.is-square .modal-image-wrap {
    height: auto;
    min-height: 0;
    max-height: 48vh;
  }
  .post-modal.is-portrait .modal-image-wrap img,
  .post-modal.is-landscape .modal-image-wrap img,
  .post-modal.is-square .modal-image-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 48vh;
  }
  .post-modal.is-portrait .modal-content,
  .post-modal.is-landscape .modal-content,
  .post-modal.is-square .modal-content { padding: 25px 22px 24px; }
}


/* Zoom editorial por imagem: preenche melhor o popup sem perder o foco principal. */
.post-modal .modal-image-wrap img.modal-zoom { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center center; transform: scale(1.045); }
.post-modal .modal-image-wrap img.modal-two-people { object-position: 50% 50%; transform: scale(1.025); }
.post-modal .modal-image-wrap img.modal-full-person { object-position: 50% 34%; transform: scale(1.035); }
.post-modal .modal-image-wrap img.modal-foz { object-fit: cover; object-position: 50% 34%; transform: scale(1.055); }
.modal-details { margin-top: 18px; padding: 14px 16px; color: var(--navy); background: #f3f7ff; border-left: 4px solid var(--gold); border-radius: 12px; font-size: 11px; line-height: 1.55; }
.modal-details strong { font-size: 11px; }
.modal-details ul { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 17px; color: var(--muted); }
.post-card[data-slug="foz-do-iguacu-onde-a-forca-das-cataratas-encontra-a-diversidade-cultural-grupo-home-tour"] .post-card-image img { transform: translateY(8px) !important; }


/* Ajustes finais solicitados para os dois popups prioritários. */
.post-modal .modal-image-wrap img.modal-two-people {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.09);
}
.post-modal .modal-image-wrap img.modal-arara-left {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.13);
}


/* Foz no card: recorte vertical controlado para revelar o rosto e o corpo do rapaz. */
.post-card[data-slug="foz-do-iguacu-onde-a-forca-das-cataratas-encontra-a-diversidade-cultural-grupo-home-tour"] .post-card-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 46% !important;
  transform: none !important;
}


/* Foz no card: desloca a fotografia para cima, priorizando o rapaz e reduzindo o céu. */
.post-card[data-slug="foz-do-iguacu-onde-a-forca-das-cataratas-encontra-a-diversidade-cultural-grupo-home-tour"] .post-card-image img {
  object-position: 50% 78% !important;
}


/* Hero full-bleed: encosta no header e ocupa toda a viewport horizontal. */
.blog-intro { width: 100%; max-width: none; margin: 0; padding: 0; overflow: hidden; }
.hero-panel { width: 100%; min-height: min(650px, calc(100vh - 76px)); padding: clamp(52px, 8vw, 112px) clamp(24px, 9vw, 150px); border-radius: 0; }
.featured-section, .publication-section { width: 92%; max-width: 1440px; }
@media (max-width: 780px) {
  .hero-panel { min-height: 650px; padding: 54px 7vw 42px; border-radius: 0; }
}
@media (max-width: 470px) {
  .hero-panel { min-height: 670px; padding-right: 6vw; padding-left: 6vw; }
}


/* Hero route visual: uma linguagem editorial de mapa, sem cards quadrados. */
.hero-route { position: relative; min-height: 430px; overflow: hidden; }
.hero-route .route-glow { position: absolute; inset: 12% 8% 10%; background: radial-gradient(circle at 56% 45%, rgba(104,183,255,.25), transparent 38%), radial-gradient(circle at 82% 76%, rgba(255,213,0,.16), transparent 28%); filter: blur(2px); }
.route-skyline { position: absolute; right: 4%; bottom: 15%; left: 8%; display: flex; align-items: center; justify-content: space-around; height: 76px; opacity: .22; }
.route-skyline span { display: block; width: clamp(9px, 1.3vw, 16px); height: clamp(9px, 1.3vw, 16px); background: #b8ddff; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; }
.route-skyline span:nth-child(2), .route-skyline span:nth-child(4) { width: clamp(13px, 1.8vw, 22px); height: clamp(13px, 1.8vw, 22px); }
.route-path { position: absolute; inset: 7% 2% 8%; width: 100%; height: 85%; overflow: visible; }
.route-path path { stroke: rgba(255,255,255,.55); stroke-width: 2.2; stroke-dasharray: 7 10; stroke-linecap: round; }
.route-point { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--gold); border: 5px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 10px 22px rgba(3,19,66,.24); }
.route-point i { font-size: 17px; }
.route-point-start { bottom: 19%; left: 8%; }
.route-point-mid { top: 58%; left: 64%; width: 34px; height: 34px; background: #fff; border-width: 3px; }
.route-point-mid i { color: var(--cobalt); font-size: 13px; }
.route-point-end { top: 20%; right: 10%; transform: rotate(-12deg); }
.route-compass { position: absolute; top: 24%; left: 37%; display: grid; place-items: center; width: 142px; height: 142px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.33); border-radius: 50%; box-shadow: inset 0 0 0 12px rgba(255,255,255,.035), 0 18px 36px rgba(3,19,66,.14); transform: rotate(-9deg); }
.route-compass i { color: var(--gold); font-size: 56px; }
.route-compass span { margin-top: -28px; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.route-label { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: #fff; background: rgba(13,53,137,.55); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; box-shadow: 0 10px 24px rgba(3,19,66,.12); font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.route-label i { color: var(--gold); }
.route-label-top { top: 10%; left: 10%; }
.route-label-bottom { right: 8%; bottom: 5%; }
@media (max-width: 780px) {
  .hero-route { min-height: 285px; margin-top: 28px; }
  .route-compass { top: 24%; left: 35%; width: 105px; height: 105px; }
  .route-compass i { font-size: 42px; }
  .route-compass span { margin-top: -20px; font-size: 7px; }
  .route-point { width: 36px; height: 36px; }
  .route-point-mid { top: 58%; left: 62%; width: 30px; height: 30px; }
  .route-label { padding: 8px 10px; font-size: 8px; }
}
@media (max-width: 470px) {
  .hero-route { min-height: 245px; margin-top: 12px; }
  .route-label-top { top: 6%; left: 5%; }
  .route-label-bottom { right: 4%; bottom: 2%; }
  .route-point-start { left: 5%; }
  .route-point-end { right: 5%; }
}


/* Consentimento de cookies: transparente, acessível e coerente com a identidade azul. */
.cookie-consent[hidden], .cookie-settings[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 80;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  color: #edf4ff;
  background: linear-gradient(135deg, rgba(11,31,77,.98), rgba(24,67,155,.98));
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(4,15,42,.35);
  backdrop-filter: blur(18px);
  animation: cookie-consent-in .35s cubic-bezier(.2,.8,.2,1) both;
}
.cookie-consent-mark { display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--gold); border-radius: 13px; font-size: 19px; }
.cookie-consent-kicker { display: block; color: #9fc0ff; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.cookie-consent-copy h2 { margin: 4px 0 4px; color: #fff; font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; line-height: 1.25; }
.cookie-consent-copy p { max-width: 690px; margin: 0; color: #d5e2fb; font-size: 12px; line-height: 1.65; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-button { min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.cookie-button:hover, .cookie-button:focus-visible { transform: translateY(-2px); }
.cookie-button:focus-visible, .cookie-settings:focus-visible { outline: 3px solid rgba(255,213,0,.7); outline-offset: 3px; }
.cookie-button-primary { color: var(--navy); background: var(--gold); }
.cookie-button-primary:hover { background: #ffe45b; }
.cookie-button-secondary { color: #edf4ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.cookie-button-secondary:hover { background: rgba(255,255,255,.16); }
.cookie-settings { position: fixed; z-index: 75; right: 18px; bottom: 18px; min-height: 35px; padding: 0 13px; color: var(--navy); background: rgba(255,255,255,.96); border: 1px solid #d8e2f2; border-radius: 999px; box-shadow: 0 8px 24px rgba(11,31,77,.16); cursor: pointer; font-size: 10px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.cookie-settings:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,31,77,.2); }
@keyframes cookie-consent-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .cookie-consent { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; }
  .cookie-consent-actions { grid-column: 1 / -1; justify-content: stretch; }
  .cookie-button { flex: 1 1 0; }
}
@media (max-width: 480px) {
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 1fr; gap: 12px; padding: 18px 16px; border-radius: 16px; }
  .cookie-consent-mark { display: none; }
  .cookie-consent-copy h2 { font-size: 16px; }
  .cookie-consent-copy p { font-size: 11px; line-height: 1.55; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-button { padding: 0 8px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
  .cookie-button, .cookie-settings { transition: none; }
}
