/* <picture> wraps images for WebP delivery — make its box transparent so the
   existing `img` layout rules (aspect-ratio containers etc.) keep applying. */
picture { display: contents; }

:root {
  --paper: #f5f3ee;
  --paper-2: #efece4;
  --ink: #17150f;
  --ink-2: #4a463d;
  --muted: #847e72;
  --accent: #e5401d;
  --accent-2: #c8330f;
  --line: rgba(23,21,15,0.13);
  --line-2: rgba(23,21,15,0.22);
  --display: "Bricolage Grotesque", sans-serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --r: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* reserve scrollbar → no logo jump on lock */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 34px; }

.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
       color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,243,238,0.82);
       backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: 12px; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; margin-right: auto; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; transition: color .18s; }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
                   background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-act { background: none; border: 0; cursor: pointer; font-family: var(--sans);
           font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex;
           align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; transition: .2s; }
.nav-act:hover { background: var(--paper-2); }
.nav-act svg { display: block; }
.nav-act--menu { border: 1.5px solid var(--ink); }
.nav-act--menu:hover { background: var(--ink); color: var(--paper); }
.nav-act-lines { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-act-lines span { display: block; width: 16px; height: 1.8px; background: currentColor; }

/* ---------- top ribbon ---------- */
.ribbon { background: var(--ink); color: var(--paper); }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; height: 38px;
                font-size: 12px; letter-spacing: 0.04em; }
.ribbon-tag { color: rgba(245,243,238,0.78); }
.ribbon-social { display: flex; gap: 16px; align-items: center; }
.ribbon-social a { color: rgba(245,243,238,0.78); display: grid; place-items: center; transition: color .2s; }
.ribbon-social a:hover { color: var(--accent); }
.ribbon-social svg { width: 17px; height: 17px; }


/* ---------- newsletter modal ---------- */
.nl { position: fixed; inset: 0; z-index: 95; background: rgba(14,13,9,0.7); backdrop-filter: blur(4px);
      display: none; align-items: center; justify-content: center; padding: 20px; }
.nl.open { display: flex; animation: lbfade .25s ease; }
.nl-card { background: var(--paper); border-radius: 18px; max-width: 460px; width: 100%; padding: 38px 34px;
           position: relative; }
.nl-card .close { position: absolute; top: 16px; right: 16px; background: none; border: 0; font-size: 20px;
                  cursor: pointer; color: var(--muted); }
.nl-card .eyebrow { display: block; margin-bottom: 12px; }
.nl-card h3 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.nl-card p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.nl-form { display: flex; gap: 8px; margin-top: 22px; }
.nl-form input { flex: 1; border: 1px solid var(--line-2); border-radius: 100px; padding: 12px 18px;
                 font-family: var(--sans); font-size: 15px; outline: none; }
.nl-form input:focus { border-color: var(--ink); }
.nl-form button { background: var(--accent); color: #fff; border: 0; border-radius: 100px; padding: 12px 22px;
                  font-weight: 700; font-size: 14px; cursor: pointer; }
.nl-form button:hover { background: var(--accent-2); }
.nl-ok { margin-top: 22px; padding: 16px; background: var(--paper-2); border-radius: 12px;
         border-left: 3px solid var(--accent); font-size: 15px; }
.nl-err { margin-top: 10px; color: var(--accent-2); font-size: 13px; }
.nav-search, .nav-burger { background: none; border: 0; cursor: pointer; color: var(--ink);
                           display: grid; place-items: center; }
.nav-search { font-size: 21px; width: 40px; height: 40px; border-radius: 100px; transition: background .2s; }
.nav-search:hover { background: var(--paper-2); }
.nav-burger { display: none; width: 40px; height: 40px; gap: 3.5px; }
.nav-burger span { display: block; width: 19px; height: 2px; background: var(--ink); transition: .25s; }

/* ---------- panel (search + menu) ---------- */
.panel { position: fixed; inset: 0; z-index: 90; background: var(--paper);
         opacity: 0; visibility: hidden; transition: opacity .3s; }
.panel.open { opacity: 1; visibility: visible; }
.panel-inner { max-width: 1320px; margin: 0 auto; padding: 12px 34px 50px; height: 100%;
               display: flex; flex-direction: column; } /* 12px top matches .nav padding-top → panel logo aligns with nav logo (no jump) */
@media (max-width: 560px) { .panel-inner { padding-left: 20px; padding-right: 20px; } } /* align logo w/ nav gutter */
.panel-top { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.panel-close { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink);
               width: 44px; height: 44px; border-radius: 100px; }
.panel-close:hover { background: var(--paper-2); }
.panel-search { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink);
                margin-top: 30px; padding-bottom: 14px; }
.panel-search input { flex: 1; border: 0; background: none; outline: none; color: var(--ink);
                      font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
                      font-size: clamp(28px, 6vw, 54px); }
.panel-search input::placeholder { color: var(--line-2); }
.panel-search button { background: none; border: 0; cursor: pointer; font-size: clamp(26px, 5vw, 44px); color: var(--accent); }
.panel-eyebrow { margin: 40px 0 18px; }
.panel-cats { display: flex; flex-direction: column; }
.panel-cats a { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
                font-size: clamp(24px, 5vw, 40px); line-height: 1.18; color: var(--ink);
                border-bottom: 1px solid var(--line); padding: 12px 0; transition: color .2s, padding .2s; }
.panel-cats a:hover { color: var(--accent); padding-left: 12px; }
.panel-links { margin-top: auto; padding-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; }
.panel-links a { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.panel-links a:hover { color: var(--ink); }
.panel-cta { margin-top: 22px; align-self: flex-start; background: var(--accent); color: #fff; border: 0;
             border-radius: 100px; padding: 13px 22px; font-family: var(--sans); font-weight: 700;
             font-size: 14px; cursor: pointer; }
.panel-cta:hover { background: var(--accent-2); }
body.no-scroll { overflow: hidden; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(14,13,9,0.95);
      display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; animation: lbfade .25s ease; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lb img { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 6px;
          box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,0.12); border: 0; color: #fff; cursor: pointer;
          width: 52px; height: 52px; border-radius: 100px; font-size: 24px; line-height: 1;
          display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,0.24); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
            color: rgba(255,255,255,0.72); font-size: 12px; letter-spacing: 0.12em; }
@media (max-width: 560px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-btn { width: 44px; height: 44px; font-size: 20px; } }

/* ---------- masthead hero ---------- */
.masthead { padding: 50px 0 16px; border-bottom: 2px solid var(--ink); }
.mast-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: end; }
.mast-title { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.86;
              font-size: clamp(46px, 8.5vw, 124px); text-transform: uppercase; }
.mast-title em { font-style: normal; color: var(--accent); }
.mast-side { padding-bottom: 8px; }
.mast-side p { font-size: 17px; color: var(--ink-2); max-width: 42ch; }
.mast-side .eyebrow { display: block; margin-bottom: 14px; }

/* featured story (asymmetric split) */
.feature { padding: 40px 0 8px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 5/4; background: var(--paper-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-num { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.feature-body .eyebrow { display: block; margin: 0 0 14px; }
.feature-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 52px);
                 line-height: 1.0; letter-spacing: -0.035em; margin-top: 6px; }
.feature:hover .feature-title { color: var(--accent-2); }
.feature-excerpt { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.meta { margin-top: 18px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.meta b { color: var(--ink); font-weight: 700; }

/* ---------- section head ---------- */
.sec { margin-top: 80px; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px;
            border-top: 2px solid var(--ink); padding-top: 16px; }
.sec-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 34px);
               letter-spacing: -0.03em; line-height: 1; }
.sec-head .grow { flex: 1; }
.sec-head .count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- asymmetric editorial feed ---------- */
.feed { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 34px; }
.card { display: flex; flex-direction: column; }
.feed > .card { grid-column: span 4; }
/* rhythm: first item wide, every 7th wide-landscape (feed only) */
.feed > .card:nth-child(7n+1) { grid-column: span 8; }
.feed > .card:nth-child(7n+1) .card-img { aspect-ratio: 16/10; }
.feed > .card:nth-child(7n+1) h3 { font-size: clamp(26px, 3vw, 40px); }
.card-img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/5;
            background: var(--paper-2); margin-bottom: 15px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .lbl { position: absolute; top: 11px; left: 11px; background: var(--paper); color: var(--ink);
                 padding: 5px 11px; border-radius: 100px; font-size: 10.5px; font-weight: 700;
                 letter-spacing: 0.08em; text-transform: uppercase; }
.card-num { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.08;
           letter-spacing: -0.025em; margin-top: 7px; transition: color .2s; }
.card:hover h3 { color: var(--accent-2); }
.card .meta { margin-top: 9px; }

/* ---------- footer ---------- */
.foot { margin-top: 100px; border-top: 2px solid var(--ink); padding: 54px 0 40px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .foot-logo { font-family: var(--display); font-weight: 800; font-size: 52px;
                         letter-spacing: -0.05em; line-height: 0.9; }
.foot-brand .foot-logo .dot { color: var(--accent); }
.foot-brand p { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 34ch; }
.foot-col h5 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
               color: var(--muted); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--accent-2); }
.foot-bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
            display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
            font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.foot-bot a { color: var(--muted); text-decoration: underline; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 30px; } .foot-brand { grid-column: 1 / -1; } }

.reveal { opacity: 0; transform: translateY(20px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- legal / institutional doc ---------- */
.doc-wrap { max-width: 820px; margin: 0 auto; }
.doc-head { padding: 56px 0 28px; border-bottom: 2px solid var(--ink); margin-bottom: 38px; }
.doc-head .eyebrow { display: block; margin-bottom: 14px; }
.doc-head h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em;
               font-size: clamp(34px, 6vw, 64px); line-height: 0.96; }
.doc-head .upd { margin-top: 16px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.doc { font-size: 17px; line-height: 1.72; color: #2c2920; }
.doc > * + * { margin-top: 1.05em; }
.doc h2 { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 25px;
          letter-spacing: -0.02em; margin-top: 1.9em; }
.doc h3 { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 19px; margin-top: 1.4em; }
.doc a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-top: .45em; }
.doc strong { color: var(--ink); }
.doc .note { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 14px 18px;
             border-radius: 4px; font-size: 14.5px; color: var(--ink-2); }
/* ---------- tabelas (artigos .prose + páginas legais .doc) ---------- */
.prose .table-wrap, .doc .table-wrap {
  margin: 1.9em 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
}
.prose table, .doc table {
  width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45;
  font-variant-numeric: tabular-nums; background: var(--paper);
}
.table-wrap > table { margin: 0; }
.prose th, .prose td, .doc th, .doc td {
  text-align: left; padding: 13px 18px; vertical-align: middle; border-bottom: 1px solid var(--line);
}
/* cabeçalho — funciona com <th> esteja em <thead> ou na 1.ª linha */
.prose th, .doc th {
  background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
}
.prose tr:nth-child(even), .doc tr:nth-child(even) { background: var(--paper-2); }
.prose tr:hover td, .doc tr:hover td { background: rgba(229,64,29,0.06); }
.prose tr:last-child td, .doc tr:last-child td { border-bottom: 0; }
/* 1.ª coluna em destaque (comparativos de hotéis nos artigos) */
.prose td:first-child { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 16px; }
.prose td:not(:first-child) { color: var(--ink-2); white-space: nowrap; }
@media (max-width: 620px) {
  .prose th, .prose td, .doc th, .doc td { padding: 10px 13px; font-size: 14px; }
  .prose td:first-child { white-space: normal; }
}

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; max-width: 560px;
          background: var(--ink); color: var(--paper); border-radius: 14px; padding: 22px 24px;
          box-shadow: 0 20px 60px rgba(0,0,0,0.3); display: none; }
.cookie.show { display: block; animation: rise .5s ease; }
.cookie h4 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.cookie p { font-size: 13.5px; line-height: 1.55; color: rgba(245,243,238,0.78); }
.cookie p a { color: var(--paper); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie button { font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer;
                 padding: 10px 18px; border-radius: 100px; border: 1px solid rgba(245,243,238,0.3);
                 background: none; color: var(--paper); transition: .2s; }
.cookie button:hover { border-color: var(--paper); }
.cookie button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie button.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

@media (max-width: 940px) {
  .mast-grid, .feature-grid { grid-template-columns: 1fr; gap: 26px; }
  .feed > .card, .feed > .card:nth-child(7n+1) { grid-column: span 6; }
  .feed > .card:nth-child(7n+1) .card-img { aspect-ratio: 4/5; }
  .feed > .card:nth-child(7n+1) h3 { font-size: 21px; }
}
@media (max-width: 860px) {
  .ribbon, .nav-actions, .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-inner { justify-content: space-between; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .feed { gap: 30px 18px; }
  .feed > .card, .feed > .card:nth-child(7n+1) { grid-column: span 6; }
}
