/* destinosdeafrica.com - gerado por /opt/cms/apps/site-estatico (não editar aqui) */

/*
 * Base dos sites públicos em HTML estático (NÚCLEO).
 * Reset (equivalente ao preflight do Tailwind v4 do Next de hoje), variáveis
 * --site-* (padrão de app/(site)/site.css; o tema de cada site vem depois, no
 * :root gerado de lib/site-theme.ts), e as páginas internas compartilhadas
 * (post, lista do blog, autor, institucionais, contato, FAQ, 404, cookies),
 * com os mesmos valores das classes Tailwind usadas no Next.
 *
 * Camadas: tudo aqui fica em @layer (reset, paginas). As regras de site.css
 * por layout (fontes de títulos etc.) e o estilo.css de cada layout ficam
 * FORA de camada e por isso sempre vencem - igual ao Next, onde site.css não
 * tem camada e as classes do Tailwind ficam em @layer utilities.
 */
@layer reset, paginas;

/* ======================================================================
   Variáveis
   ====================================================================== */
:root {
  --site-primary: #c20060;
  --site-primary-dark: #a50052;
  --site-secondary: #57026f;
  --site-secondary-dark: #430056;
  --site-accent: #ee0060;
  --site-background: #ffffff;
  --site-surface: #f5f5f5;
  --site-text: #111111;
  --site-text-light: #ffffff;
  --site-text-muted: #5a5a5a;
  --site-border: #e5e5e5;
  /* raios do Tailwind (o tema de alguns sites troca xl/2xl/3xl) */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --sombra-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --transicao: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --foco: #27272a;
  /* tamanhos de texto do Tailwind (tamanho / altura de linha) */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-lg: 1.125rem;
  --t-xl: 1.25rem;
  --t-2xl: 1.5rem;
  --t-3xl: 1.875rem;
  --t-4xl: 2.25rem;
  --vermelho-50: oklch(97.1% 0.013 17.38);
  --vermelho-200: oklch(88.5% 0.062 18.334);
  --vermelho-600: oklch(57.7% 0.245 27.325);
  --vermelho-700: oklch(50.5% 0.213 27.518);
  --vermelho-800: oklch(44.4% 0.177 26.899);
}
@media (prefers-color-scheme: dark) {
  :root { --foco: #e4e4e7; }
}

/* ======================================================================
   Reset (preflight do Tailwind v4 + html "antialiased" do Next)
   ====================================================================== */
@layer reset {
  *, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
  html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
  }
  hr { height: 0; color: inherit; border-top-width: 1px; }
  abbr:where([title]) { text-decoration: underline dotted; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  b, strong { font-weight: bolder; }
  code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; }
  small { font-size: 80%; }
  sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
  sub { bottom: -0.25em; }
  sup { top: -0.5em; }
  table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
  summary { display: list-item; }
  ol, ul, menu { list-style: none; }
  img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit;
    color: inherit; border-radius: 0; background-color: transparent; opacity: 1;
  }
  ::placeholder { opacity: 1; color: color-mix(in oklab, currentcolor 50%, transparent); }
  textarea { resize: vertical; }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button { appearance: button; }
  button, [role="button"] { cursor: pointer; }
  [hidden]:where(:not([hidden="until-found"])) { display: none !important; }
  dialog { color: inherit; }
  picture { display: contents; }

  /* body = o wrapper do layout no Next: flex min-h-screen flex-col, fundo e texto do site */
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--site-background);
    color: var(--site-text);
  }
  body > main { flex: 1; }
  :focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }
}

/* ======================================================================
   Páginas internas
   ====================================================================== */
@layer paginas {

  /* ---------- Avatar (author-box.tsx: AuthorAvatar) ---------- */
  [data-avatar] {
    position: relative; display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
    border-radius: 9999px; border: 1px solid var(--site-border); background: var(--site-surface);
    font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 700; color: var(--site-primary);
    width: 44px; height: 44px;
  }
  [data-avatar][data-tamanho="48"] { width: 48px; height: 48px; }
  [data-avatar][data-tamanho="64"] { width: 64px; height: 64px; }
  [data-avatar][data-tamanho="72"] { width: 72px; height: 72px; }
  [data-avatar][data-tamanho="120"] { width: 120px; height: 120px; }
  [data-avatar="foto"] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  [data-avatar="emblema"] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; }

  /* ---------- Post (app/(site)/[slug]/page.tsx) ---------- */
  #post { width: 100%; max-width: 48rem; margin-inline: auto; padding: 2rem 1rem; }
  @media (min-width: 40rem) { #post { padding: 3rem 1.5rem; } }
  #post > nav[aria-label="Trilha de navegação"] { font-size: var(--t-sm); line-height: calc(1.25 / 0.875); color: var(--site-text-muted); }
  #post > nav[aria-label="Trilha de navegação"] ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.5rem; row-gap: 0.25rem; }
  #post > nav[aria-label="Trilha de navegação"] a:hover { color: var(--site-primary); }
  #post > h1 {
    margin-top: 1rem; font-size: var(--t-3xl); line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; color: var(--site-text);
  }
  @media (min-width: 40rem) { #post > h1 { font-size: var(--t-4xl); } }
  @media (min-width: 64rem) { #post > h1 { font-size: 2.6rem; } }
  #post > [data-resumo] { margin-top: 1rem; font-size: var(--t-lg); line-height: 2rem; color: var(--site-text-muted); }
  #post > [data-autoria] {
    margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
    border-block: 1px solid var(--site-border); padding-block: 1rem;
  }
  #post > [data-autoria] > div { min-width: 0; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); }
  #post > [data-autoria] > div > p:first-child { font-weight: 600; color: var(--site-text); }
  #post > [data-autoria] > div > p:first-child a:hover { color: var(--site-primary); text-decoration: underline; }
  #post > [data-autoria] > div > p + p { margin-top: 0.125rem; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.5rem; color: var(--site-text-muted); }
  #post > [data-compartilhar] { margin-top: 1.25rem; }
  #post > [data-destaque] { margin-top: 2rem; }
  #post > [data-destaque] > span {
    position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
    border-radius: var(--radius-2xl); background: var(--site-surface);
  }
  #post > [data-destaque] > span img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  #post > [data-destaque] figcaption { margin-top: 0.5rem; font-size: var(--t-xs); line-height: calc(1 / 0.75); color: var(--site-text-muted); }
  #post > .article-body { margin-top: 2rem; }
  #post > [data-compartilhar-fim] { margin-top: 2.5rem; border-top: 1px solid var(--site-border); padding-top: 1.5rem; }
  #post > [data-voltar] {
    margin-top: 3rem; display: inline-block; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: var(--site-primary);
  }
  #post > [data-voltar]:hover { text-decoration: underline; }

  /* ---------- Texto do post (markdown-content.tsx) ---------- */
  .article-body h2 { margin: 2.5rem 0 1rem; font-size: var(--t-2xl); line-height: calc(2 / 1.5); font-weight: 700; color: var(--site-text); }
  .article-body h2:first-child { margin-top: 0; }
  .article-body h3 { margin: 2rem 0 0.75rem; font-size: var(--t-xl); line-height: calc(1.75 / 1.25); font-weight: 600; color: var(--site-text); }
  .article-body p { margin-bottom: 1rem; line-height: 1.625; color: var(--site-text); }
  .article-body ul, .article-body ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--site-text); }
  .article-body ul { list-style: disc; }
  .article-body ol { list-style: decimal; }
  .article-body :is(ul, ol) > li:not(:last-child) { margin-bottom: 0.25rem; }
  .article-body li { line-height: 1.625; }
  .article-body a { font-weight: 500; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  .article-body strong { font-weight: 600; color: var(--site-text); }
  .article-body blockquote { margin-bottom: 1rem; border-left: 4px solid var(--site-primary); padding-left: 1rem; font-style: italic; color: var(--site-text-muted); }
  .article-body figure:has(> table) { margin-block: 1.5rem; overflow-x: auto; }
  .article-body table { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); color: var(--site-text); }
  .article-body thead { background: var(--site-surface); }
  .article-body th { border: 1px solid var(--site-border); padding: 0.5rem 0.75rem; font-weight: 600; }
  .article-body td { border: 1px solid var(--site-border); padding: 0.5rem 0.75rem; vertical-align: top; }
  .article-body img {
    margin-block: 1.5rem; display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover;
    border-radius: var(--radius-lg); background: var(--site-surface);
  }

  /* ---------- Compartilhar (share-buttons.tsx + share-actions.tsx) ---------- */
  [data-compartilhar] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
  [data-compartilhar] > span:first-child { margin-right: 0.25rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: var(--site-text); }
  [data-compartilhar] > :is(a, button) {
    display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; border: 1px solid var(--site-border);
    background: var(--site-background); padding: 0.5rem 0.875rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 500;
    color: var(--site-text); transition: color var(--transicao), border-color var(--transicao);
  }
  [data-compartilhar] > :is(a, button):hover { border-color: var(--site-primary); color: var(--site-primary); }
  [data-compartilhar] svg { width: 1rem; height: 1rem; }
  [data-compartilhar] svg[data-cor="whatsapp"] { color: #128c7e; }
  [data-compartilhar] svg[data-cor="telegram"] { color: #229ed9; }
  [data-compartilhar] svg[data-ok] { color: var(--site-primary); }
  [data-rede] {
    display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 9999px;
    font-size: 10px; font-weight: 700; line-height: 1; color: #fff;
  }
  [data-rede="facebook"] { background: #1877f2; }
  [data-rede="x"] { background: #000; }
  [data-rede="linkedin"] { background: #0a66c2; }

  /* ---------- Planeje a viagem (plan-trip-box.tsx) ---------- */
  [data-planeje] { margin-top: 3rem; border-radius: var(--radius-2xl); border: 1px solid var(--site-border); background: var(--site-surface); padding: 1.5rem; }
  @media (min-width: 40rem) { [data-planeje] { padding: 2rem; } }
  [data-planeje] > p:first-child {
    display: flex; align-items: center; gap: 0.5rem; font-size: var(--t-xs); line-height: calc(1 / 0.75); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.18em; color: var(--site-primary);
  }
  [data-planeje] svg { width: 1rem; height: 1rem; flex-shrink: 0; }
  [data-planeje] > p + p { margin-top: 0.5rem; font-size: var(--t-lg); line-height: calc(1.75 / 1.125); font-weight: 600; color: var(--site-text); }
  [data-planeje] ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
  @media (min-width: 40rem) { [data-planeje] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  [data-planeje] li a {
    display: flex; align-items: center; gap: 0.75rem; border-radius: var(--radius-xl); background: var(--site-background);
    padding: 0.75rem 1rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 500; color: var(--site-text);
    transition: color var(--transicao);
  }
  [data-planeje] li a:hover { color: var(--site-primary); }
  [data-planeje] li svg { color: var(--site-primary); }
  [data-planeje] > a {
    margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875);
    font-weight: 600; color: var(--site-primary);
  }
  [data-planeje] > a:hover { text-decoration: underline; }

  /* ---------- Caixa do autor (author-box.tsx: AuthorBox) ---------- */
  [data-caixa-autor] {
    margin-top: 3rem; display: flex; gap: 1rem; border-radius: var(--radius-2xl); border: 1px solid var(--site-border);
    background: var(--site-surface); padding: 1.25rem;
  }
  @media (min-width: 40rem) { [data-caixa-autor] { gap: 1.25rem; padding: 1.5rem; } }
  [data-caixa-autor] > div { min-width: 0; }
  [data-caixa-autor] > div > p:first-child {
    font-size: var(--t-xs); line-height: calc(1 / 0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--site-primary);
  }
  [data-caixa-autor] > div > p:nth-child(2) { margin-top: 0.25rem; font-size: var(--t-lg); line-height: calc(1.75 / 1.125); font-weight: 600; color: var(--site-text); }
  [data-caixa-autor] > div > p:nth-child(2) a:hover { color: var(--site-primary); }
  [data-caixa-autor] > div > p:nth-child(3) { margin-top: 0.5rem; font-size: var(--t-sm); line-height: 1.5rem; color: var(--site-text-muted); }
  [data-caixa-autor] > div > a {
    margin-top: 0.75rem; display: inline-block; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: var(--site-primary);
  }
  [data-caixa-autor] > div > a:hover { text-decoration: underline; }

  /* ---------- Leia também (related-posts.tsx) ---------- */
  [data-relacionados] { margin-top: 3.5rem; }
  [data-relacionados] h2 { font-size: var(--t-2xl); line-height: calc(2 / 1.5); font-weight: 700; color: var(--site-text); }
  [data-relacionados] ul { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
  @media (min-width: 40rem) { [data-relacionados] ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  [data-relacionados] a { display: block; }
  [data-relacionados] a > span:first-child {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-xl); background: var(--site-surface);
  }
  [data-relacionados] a > span:first-child img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  @media (prefers-reduced-motion: no-preference) { [data-relacionados] a:hover > span:first-child img { transform: scale(1.05); } }
  [data-relacionados] a > span + span {
    margin-top: 0.75rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; display: block; /* line-clamp-3 + block no Next: o block vence e não corta */
    font-size: 1rem; line-height: 1.375; font-weight: 600; color: var(--site-text);
  }
  [data-relacionados] a:hover > span + span { color: var(--site-primary); }

  /* ---------- Lista do blog (app/(site)/blog/page.tsx) ---------- */
  #blog { width: 100%; max-width: 72rem; margin-inline: auto; padding: 3rem 1rem; }
  @media (min-width: 40rem) { #blog { padding-inline: 1.5rem; } }
  #blog > h1 { font-size: var(--t-3xl); line-height: calc(2.25 / 1.875); font-weight: 700; color: var(--site-text); }
  #blog > h1 + p { margin-top: 0.5rem; max-width: 42rem; color: var(--site-text-muted); }
  #blog > [data-voltar] { margin-top: 0.5rem; display: inline-block; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 500; color: var(--site-primary); }
  #blog > [data-voltar]:hover { text-decoration: underline; }
  #blog > [data-vazio] { margin-top: 3rem; color: var(--site-text-muted); }
  #blog > [data-cartoes] { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
  @media (min-width: 40rem) { #blog > [data-cartoes] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 64rem) { #blog > [data-cartoes] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  #blog article { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--site-border); }
  #blog article > a:first-child { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; background: var(--site-surface); }
  #blog article > a:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  #blog article > div { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1rem; }
  #blog article > div > a:first-child {
    font-size: var(--t-xs); line-height: calc(1 / 0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--site-primary);
  }
  #blog article h2 { font-size: var(--t-lg); line-height: calc(1.75 / 1.125); font-weight: 600; color: var(--site-text); }
  #blog article h2 a:hover { color: var(--site-primary); }
  #blog article h2 + p { flex: 1; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); color: var(--site-text-muted); }
  #blog article > div > p:last-child { font-size: var(--t-xs); line-height: calc(1 / 0.75); color: var(--site-text-muted); }
  #blog > nav[aria-label="Paginação"] { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.5rem; }
  #blog > nav[aria-label="Paginação"] a {
    border-radius: var(--radius-md); padding: 0.375rem 0.75rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 500; color: var(--site-text);
  }
  #blog > nav[aria-label="Paginação"] a:hover { background: var(--site-surface); }
  #blog > nav[aria-label="Paginação"] a[aria-current="page"] { background: var(--site-primary); color: var(--site-text-light); }

  /* ---------- Página do autor (app/(site)/autor/[slug]/page.tsx) ---------- */
  #autor { width: 100%; max-width: 48rem; margin-inline: auto; padding: 3.5rem 1rem; }
  @media (min-width: 40rem) { #autor { padding: 5rem 1.5rem; } }
  #autor > [data-perfil] { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  @media (min-width: 40rem) { #autor > [data-perfil] { flex-direction: row; align-items: center; } }
  #autor > [data-perfil] > div > p {
    font-size: var(--t-xs); line-height: calc(1 / 0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--site-primary);
  }
  #autor > [data-perfil] h1 { margin-top: 0.5rem; font-size: var(--t-3xl); line-height: calc(2.25 / 1.875); font-weight: 700; letter-spacing: -0.025em; color: var(--site-text); }
  @media (min-width: 40rem) { #autor > [data-perfil] h1 { font-size: var(--t-4xl); line-height: calc(2.5 / 2.25); } }
  #autor > [data-bio] { margin-top: 2rem; font-size: var(--t-lg); line-height: 2rem; color: var(--site-text-muted); }
  #autor > [data-bio] + p, #autor > [data-perfil] + p:not([data-bio]) { margin-top: 1rem; line-height: 1.75rem; color: var(--site-text); }
  #autor > p a { font-weight: 500; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  #autor > h2 { margin-top: 3rem; font-size: var(--t-xl); line-height: calc(1.75 / 1.25); font-weight: 600; color: var(--site-text); }
  #autor > h2 span { font-weight: 400; color: var(--site-text-muted); }
  #autor > ul { margin-top: 1rem; border-block: 1px solid var(--site-border); }
  #autor > ul > li { padding-block: 1rem; }
  #autor > ul > li + li { border-top: 1px solid var(--site-border); }
  #autor > ul > li > a { font-weight: 600; color: var(--site-text); }
  #autor > ul > li > a:hover { color: var(--site-primary); }
  #autor > ul > li > p { margin-top: 0.25rem; font-size: var(--t-xs); line-height: calc(1 / 0.75); color: var(--site-text-muted); }
  #autor > [data-voltar] { margin-top: 1.5rem; display: inline-block; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: var(--site-primary); }
  #autor > [data-voltar]:hover { text-decoration: underline; }

  /* ---------- Moldura das institucionais (page-shell.tsx) ---------- */
  [data-moldura] { width: 100%; max-width: 48rem; margin-inline: auto; padding: 3.5rem 1rem; }
  @media (min-width: 40rem) { [data-moldura] { padding: 5rem 1.5rem; } }
  [data-moldura] > h1 { font-size: var(--t-3xl); line-height: calc(2.25 / 1.875); font-weight: 700; letter-spacing: -0.025em; color: var(--site-text); }
  @media (min-width: 40rem) { [data-moldura] > h1 { font-size: var(--t-4xl); line-height: calc(2.5 / 2.25); } }
  [data-moldura] > [data-intro] { margin-top: 1rem; font-size: var(--t-lg); line-height: 2rem; color: var(--site-text-muted); }
  [data-moldura] > [data-atualizado] { margin-top: 0.75rem; font-size: var(--t-xs); line-height: calc(1 / 0.75); color: var(--site-text-muted); }
  [data-moldura] > [data-conteudo] { margin-top: 2.5rem; color: var(--site-text); }
  [data-conteudo] a { font-weight: 500; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  [data-conteudo] h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: var(--t-xl); line-height: calc(1.75 / 1.25); font-weight: 600; }
  [data-conteudo] li { margin-top: 0.5rem; }
  [data-conteudo] p { margin-top: 1rem; line-height: 1.75rem; }
  [data-conteudo] ul { margin-top: 0.75rem; list-style: disc; padding-left: 1.5rem; line-height: 1.75rem; }
  [data-moldura] > [data-codigo] { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.18em; color: var(--site-primary); }

  /* Sobre nós: "Quem escreve" */
  [data-conteudo] [data-autor] { margin-top: 1rem; display: flex; align-items: flex-start; gap: 1rem; }
  [data-conteudo] [data-autor] > div > p:first-child { margin-top: 0; font-weight: 600; }
  [data-conteudo] [data-autor] > div > p + p { margin-top: 0.25rem; color: var(--site-text-muted); }

  /* ---------- Contato (contato/page.tsx + contact-form.tsx) ---------- */
  [data-contato-grade] { display: grid; gap: 2rem; }
  @media (min-width: 48rem) {
    [data-contato-grade] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    [data-contato-grade] > div:first-child { grid-column: span 3 / span 3; }
    [data-contato-grade] > [data-email] { grid-column: span 2 / span 2; }
  }
  [data-email] { align-self: start; border-radius: var(--radius-2xl); border: 1px solid var(--site-border); background: var(--site-surface); padding: 1.5rem; }
  [data-email] > span {
    display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: var(--radius-xl);
    background: color-mix(in oklab, var(--site-primary) 10%, transparent); color: var(--site-primary);
  }
  [data-email] svg { width: 1.25rem; height: 1.25rem; }
  [data-email] > p { font-size: var(--t-sm); color: var(--site-text-muted); }
  [data-conteudo] [data-email] > p:nth-of-type(1) { margin-top: 1rem; }
  [data-conteudo] [data-email] > p:nth-of-type(2) { margin-top: 0.25rem; font-weight: 600; color: var(--site-text); overflow-wrap: anywhere; }
  [data-conteudo] [data-email] > p:nth-of-type(3) { margin-top: 0.75rem; }

  form[data-contato] > * + * { margin-top: 1.25rem; }
  form[data-contato] [data-dupla] { display: grid; gap: 1.25rem; }
  @media (min-width: 40rem) { form[data-contato] [data-dupla] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  form[data-contato] label { font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: var(--site-text); }
  form[data-contato] :is(input:not([type="checkbox"]), select, textarea) {
    margin-top: 0.375rem; display: block; width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--site-border);
    background: var(--site-background); padding: 0.75rem 1rem; font-size: 1rem; line-height: 1.5; color: var(--site-text);
  }
  form[data-contato] ::placeholder { color: color-mix(in oklab, var(--site-text-muted) 70%, transparent); }
  form[data-contato] :is(input, select, textarea):focus {
    border-color: var(--site-primary); outline: none;
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--site-primary) 25%, transparent);
  }
  form[data-contato] [aria-invalid="true"] { border-color: var(--vermelho-600); }
  form[data-contato] textarea { resize: vertical; }
  form[data-contato] [data-isca] { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
  form[data-contato] [data-consentimento] { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 400; line-height: 1.5rem; }
  form[data-contato] [data-consentimento] input { margin-top: 0.25rem; width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--site-primary); }
  form[data-contato] [data-consentimento] a { font-weight: 500; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  form[data-contato] button[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 9999px;
    background-image: linear-gradient(to right in oklab, var(--site-primary), var(--site-secondary));
    padding: 0.875rem 2rem; font-size: 1rem; line-height: 1.5; font-weight: 600; color: #fff; transition: opacity var(--transicao);
  }
  form[data-contato] button[type="submit"]:hover { opacity: 0.9; }
  form[data-contato] button[type="submit"]:disabled { cursor: not-allowed; opacity: 0.6; }
  form[data-contato] button svg { width: 1.25rem; height: 1.25rem; }
  form[data-contato] [data-erro] { font-size: var(--t-sm); color: var(--vermelho-700); }
  form[data-contato] > [role="alert"] {
    border-radius: var(--radius-xl); border: 1px solid var(--vermelho-200); background: var(--vermelho-50);
    padding: 0.75rem 1rem; font-size: var(--t-sm); color: var(--vermelho-800);
  }
  [data-girando] { animation: girar 1s linear infinite; }
  @keyframes girar { to { transform: rotate(360deg); } }
  [data-enviado] { border-radius: var(--radius-2xl); border: 1px solid var(--site-border); background: var(--site-surface); padding: 2rem; text-align: center; }
  [data-enviado] svg { margin-inline: auto; width: 3rem; height: 3rem; color: var(--site-primary); }
  [data-enviado] h2 { font-size: var(--t-xl); font-weight: 600; color: var(--site-text); }
  [data-enviado] p { color: var(--site-text-muted); }

  /* ---------- Perguntas frequentes (perguntas-frequentes/page.tsx) ---------- */
  #faq { width: 100%; max-width: 48rem; margin-inline: auto; padding: 3.5rem 1rem; }
  @media (min-width: 40rem) { #faq { padding: 5rem 1.5rem; } }
  #faq > h1 { font-size: var(--t-3xl); line-height: calc(2.25 / 1.875); font-weight: 700; letter-spacing: -0.025em; color: var(--site-text); }
  @media (min-width: 40rem) { #faq > h1 { font-size: var(--t-4xl); line-height: calc(2.5 / 2.25); } }
  #faq > [data-intro] { margin-top: 1rem; font-size: var(--t-lg); line-height: 2rem; color: var(--site-text-muted); }
  #faq > [data-atualizado] { margin-top: 0.75rem; font-size: var(--t-xs); line-height: calc(1 / 0.75); color: var(--site-text-muted); }
  #faq > nav { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  #faq > nav a {
    border-radius: 9999px; border: 1px solid var(--site-border); padding: 0.5rem 1rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875);
    font-weight: 500; color: var(--site-text); transition: color var(--transicao), border-color var(--transicao);
  }
  #faq > nav a:hover { border-color: var(--site-primary); color: var(--site-primary); }
  #faq > section { margin-top: 3rem; scroll-margin-top: 6rem; }
  #faq > section > h2 { font-size: var(--t-2xl); line-height: calc(2 / 1.5); font-weight: 700; color: var(--site-text); }
  #faq > section > div { margin-top: 1rem; overflow: hidden; border-radius: var(--radius-2xl); border: 1px solid var(--site-border); }
  #faq details { background: var(--site-background); }
  #faq details + details { border-top: 1px solid var(--site-border); }
  #faq details[open] { background: color-mix(in oklab, var(--site-surface) 50%, transparent); }
  #faq summary {
    display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.25rem; font-size: 1rem; line-height: 1.5; font-weight: 600; color: var(--site-text);
  }
  #faq summary::-webkit-details-marker { display: none; }
  #faq summary::marker { content: none; }
  #faq summary:hover { color: var(--site-primary); }
  #faq summary svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--site-text-muted); transition: transform var(--transicao); }
  #faq details[open] summary svg { transform: rotate(180deg); }
  #faq details > div { padding: 0 1.25rem 1.25rem; color: var(--site-text); }
  #faq details > div > p:first-child { line-height: 1.75rem; }
  #faq details > div > p + p { margin-top: 0.75rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); }
  #faq details > div > p + p span { color: var(--site-text-muted); }
  #faq details > div > p + p a { font-weight: 600; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  #faq > [data-chamada] {
    margin-top: 3.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    border-radius: var(--radius-2xl); background: var(--site-surface); padding: 1.5rem;
  }
  @media (min-width: 40rem) { #faq > [data-chamada] { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem; } }
  #faq > [data-chamada] > div { display: flex; align-items: flex-start; gap: 1rem; }
  #faq > [data-chamada] > div > span {
    display: grid; width: 2.75rem; height: 2.75rem; flex-shrink: 0; place-items: center; border-radius: var(--radius-xl);
    background: color-mix(in oklab, var(--site-primary) 10%, transparent); color: var(--site-primary);
  }
  #faq > [data-chamada] svg { width: 1.25rem; height: 1.25rem; }
  #faq > [data-chamada] p:first-child { font-size: var(--t-lg); line-height: calc(1.75 / 1.125); font-weight: 600; color: var(--site-text); }
  #faq > [data-chamada] p + p { margin-top: 0.25rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); color: var(--site-text-muted); }
  #faq > [data-chamada] > a {
    display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background: var(--site-primary);
    padding: 0.75rem 1.5rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600; color: #fff; transition: background-color var(--transicao);
  }
  #faq > [data-chamada] > a:hover { background: var(--site-primary-dark); }
  #faq > [data-aviso] { margin-top: 2rem; font-size: var(--t-sm); line-height: 1.5rem; color: var(--site-text-muted); }

  /* ---------- Aviso de cookies (cookie-banner.tsx) ---------- */
  #aviso-cookies {
    position: fixed; inset: auto 0.75rem 0.75rem; z-index: 50; margin: 0 auto; width: auto; max-width: 48rem;
    border-radius: var(--radius-2xl); border: 1px solid var(--site-border); background: var(--site-background); color: var(--site-text);
    padding: 1rem; box-shadow: var(--sombra-2xl);
  }
  #aviso-cookies[open] { display: block; }
  #aviso-cookies > span { display: none; }
  #aviso-cookies > p:first-of-type { font-size: var(--t-sm); line-height: 1.5rem; color: var(--site-text); }
  #aviso-cookies > p:first-of-type a { font-weight: 500; color: var(--site-primary); text-decoration: underline; text-underline-offset: 2px; }
  #aviso-cookies > p:last-of-type { margin-top: 0.75rem; display: flex; flex-shrink: 0; gap: 0.5rem; }
  #aviso-cookies button {
    flex: 1; border-radius: 9999px; padding: 0.5rem 1rem; font-size: var(--t-sm); line-height: calc(1.25 / 0.875); font-weight: 600;
    transition: color var(--transicao), background-color var(--transicao), border-color var(--transicao);
  }
  #aviso-cookies button[value="essential"] { border: 1px solid var(--site-border); color: var(--site-text); }
  #aviso-cookies button[value="essential"]:hover { border-color: var(--site-primary); }
  #aviso-cookies button[value="all"] { background: var(--site-primary); color: #fff; }
  #aviso-cookies button[value="all"]:hover { background: var(--site-primary-dark); }
  @media (min-width: 40rem) {
    #aviso-cookies { padding: 1.25rem; }
    #aviso-cookies[open] { display: flex; align-items: center; gap: 1.25rem; }
    #aviso-cookies > span {
      display: grid; width: 2.5rem; height: 2.5rem; flex-shrink: 0; place-items: center; border-radius: 9999px;
      background: color-mix(in oklab, var(--site-primary) 10%, transparent); color: var(--site-primary);
    }
    #aviso-cookies > p:last-of-type { margin-top: 0; }
    #aviso-cookies button { flex: none; }
  }
  #aviso-cookies svg { width: 1.25rem; height: 1.25rem; }
}

/* ======================================================================
   Regras de app/(site)/site.css por família de layout (sem camada, como lá)
   ====================================================================== */
@keyframes site-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.site-fade-up { animation: site-fade-up 0.6s ease-out both; }
.site-fade-up-2 { animation-delay: 0.08s; }
.site-fade-up-3 { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { .site-fade-up { animation: none; } }

[data-layout="rural"] :is(h1, h2, h3), [data-layout="rural"] .rural-display {
  font-family: var(--font-rural-display), Georgia, "Times New Roman", serif;
}
.rural-scroll { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.55) transparent; }

[data-layout="tech"] :is(h1, h2, h3), [data-layout="tech"] .tech-display {
  font-family: var(--font-tech-display), ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.tech-scroll { scrollbar-width: thin; scrollbar-color: var(--site-border) transparent; }

[data-layout="news"] :is(h1, h2, h3), [data-layout="news"] .news-display {
  font-family: var(--font-news-display), Georgia, "Times New Roman", serif;
}
[data-layout="news"] .news-ornamental { font-family: var(--font-news-ornamental), Cambria, Georgia, serif; }
.news-scroll { scrollbar-width: thin; scrollbar-color: var(--site-accent) transparent; }
[data-layout="news"] .article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-news-display), Georgia, serif;
  font-weight: 700;
  font-size: 3.4em;
  line-height: 0.82;
  padding: 0.03em 0.09em 0 0;
  color: var(--site-primary);
}
[data-layout="news"] .news-corner { position: relative; }
[data-layout="news"] .news-corner::before, [data-layout="news"] .news-corner::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--site-accent); opacity: 0.85; pointer-events: none;
}
[data-layout="news"] .news-corner::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
[data-layout="news"] .news-corner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
[data-layout="news"] .news-pennant { clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); }

[data-layout="opiniao"] :is(h1, h2, h3), [data-layout="opiniao"] .opiniao-display {
  font-family: var(--font-opiniao-display), ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
[data-layout="opiniao"] .opiniao-kicker {
  font-family: var(--font-opiniao-display), ui-sans-serif, system-ui, sans-serif;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.opiniao-scroll { scrollbar-width: thin; scrollbar-color: var(--site-secondary) transparent; }
[data-layout="opiniao"] .opiniao-tag { border-left-width: 5px; border-left-style: solid; }

[data-layout="revista"] :is(h1, h2, h3), [data-layout="revista"] .revista-display {
  font-family: var(--font-revista-display), Impact, "Arial Narrow Bold", sans-serif;
  letter-spacing: -0.01em;
}
.revista-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.revista-scroll::-webkit-scrollbar { display: none; }

[data-layout="garioni"] :is(h1, h2, h3), [data-layout="garioni"] .garioni-display {
  font-family: var(--font-garioni-display), Georgia, "Times New Roman", serif;
}
[data-layout="garioni"] .garioni-script { font-family: var(--font-garioni-script), cursive; }
.garioni-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.garioni-scroll::-webkit-scrollbar { display: none; }


/* ---------- Fontes do layout "africa" ---------- */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fontes/hanken-grotesk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk Fallback";
  src: local("Arial");
  ascent-override: 99.07%;
  descent-override: 30.02%;
  line-gap-override: 0.0%;
  size-adjust: 100.94%;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fontes/newsreader.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Times New Roman");
  ascent-override: 69.68%;
  descent-override: 25.12%;
  line-gap-override: 0.0%;
  size-adjust: 105.48%;
}
:root {
  --font-texto: "Hanken Grotesk", "Hanken Grotesk Fallback";
  --font-africa-display: "Newsreader", "Newsreader Fallback";
}
body {
  font-family: var(--font-texto);
  font-style: normal;
}

/* ---------- Layout "africa" (src/layouts/africa/estilo.css) ---------- */

/*
 * Layout "africa" (Destinos de África) - visual próprio de guia/revista de viagem.
 * Referências estudadas: Lonely Planet (África), Condé Nast Traveler (África),
 * National Geographic Travel, Rough Guides, Visit Morocco, Magical Kenya,
 * Viaje na Viagem, Melhores Destinos, Matraqueando.
 * Tipografia: Newsreader (títulos, serifada de revista) + Hanken Grotesk (texto e rótulos).
 * Cores: magenta e roxo da marca, noite (berinjela escura), ocre e areia.
 * Fica FORA de @layer: vence a base.css (páginas internas).
 */

/* ======================================================================
   Tokens
   ====================================================================== */
:root {
  --site-background: #faf6ef;
  --site-surface: #f2eadd;
  --site-border: #e3d7c4;
  --site-text: #1f1418;
  --site-text-muted: #5c5048;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --radius-xl: 3px;
  --radius-2xl: 4px;
  --radius-3xl: 4px;
  --af-noite: #23101f;
  --af-noite-2: #34182f;
  --af-creme: #fff8ec;
  --af-creme-suave: rgb(255 248 236 / 0.74);
  --af-linha-clara: rgb(255 248 236 / 0.18);
  --af-ocre: #e3a04a;
  --af-ocre-escuro: #94540f;
  --af-largura: 76rem;
  --af-margem: max(1rem, calc((100% - var(--af-largura)) / 2));
  --af-titulo: var(--font-africa-display), Georgia, "Times New Roman", serif;
  --af-cab: 61px;
  --af-faixa: repeating-linear-gradient(90deg,
    var(--site-primary) 0 64px, var(--af-ocre) 64px 80px, var(--site-secondary) 80px 144px,
    var(--af-noite) 144px 152px, var(--af-ocre) 152px 160px, var(--af-noite) 160px 168px);
}
@media (min-width: 64rem) { :root { --af-cab: 77px; } }

body { font-size: 1rem; line-height: 1.55; }
:is(h1, h2, h3) { font-family: var(--af-titulo); font-optical-sizing: auto; font-weight: 500; letter-spacing: -0.01em; }
/* <picture> é display: contents na base: o <source> não pode virar item de grade */
picture > source { display: none; }
::selection { background: var(--site-primary); color: #fff; }

/* Rótulo em caixa alta (sobrelinhas, categorias) */
[data-dobra] > header > p:first-child,
[data-dobra="quem-somos"] > div > p:first-child {
  font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--site-primary);
}

/* ======================================================================
   Cabeçalho
   ====================================================================== */
body > header[data-cabecalho] {
  position: sticky; top: 0; z-index: 40;
  background: var(--site-background);
  box-shadow: 0 1px 0 var(--site-border);
}
body > header[data-cabecalho]::after { content: ""; display: block; height: 5px; background: var(--af-faixa); }
body > header[data-cabecalho] > div:first-child {
  display: flex; align-items: center; gap: 2rem;
  height: 56px; padding-inline: var(--af-margem);
}
@media (min-width: 64rem) { body > header[data-cabecalho] > div:first-child { height: 72px; } }

[data-logo] { display: inline-flex; flex-shrink: 0; }
[data-logo] img { width: auto; height: 36px; }
/* o logo tem fundo branco: no cabeçalho areia ele "some" no fundo */
body > header [data-logo] img { mix-blend-mode: multiply; }
@media (min-width: 64rem) { body > header [data-logo] img { height: 44px; } }

body > header > div:first-child > nav { display: none; margin-left: auto; }
body > header > div:first-child > nav > ul { display: flex; align-items: center; gap: 2rem; }
body > header > div:first-child > nav > ul > li > a,
body > header summary {
  display: inline-flex; align-items: center; gap: 0.3rem; padding-block: 0.5rem;
  font-size: 0.8125rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--site-text); cursor: pointer;
  text-decoration: underline 2px transparent; text-underline-offset: 8px;
  transition: color var(--transicao), text-decoration-color var(--transicao);
}
body > header summary { list-style: none; }
body > header summary::-webkit-details-marker { display: none; }
body > header > div:first-child > nav a:hover, body > header summary:hover { color: var(--site-primary); }
body > header > div:first-child > nav a[aria-current="page"] { text-decoration-color: var(--site-primary); }
body > header details[open] > summary { color: var(--site-primary); }
body > header details[open] > summary svg { transform: rotate(180deg); }
body > header summary svg { transition: transform var(--transicao); }

/* Painel "Temas": faixa escura de largura total, logo abaixo do cabeçalho */
#header-topics {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; gap: 1.5rem;
  padding: 2.25rem var(--af-margem) 2.5rem;
  background: var(--af-noite); color: var(--af-creme);
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.5);
}
#header-topics ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.25rem 2rem; }
#header-topics li a {
  display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--af-linha-clara);
  font-family: var(--af-titulo); font-size: 1.2rem; line-height: 1.3; color: var(--af-creme);
}
#header-topics li a:hover { color: var(--af-ocre); }
#header-topics > a {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--af-ocre);
}
#header-topics > a:hover { text-decoration: underline; text-underline-offset: 4px; }

body > header > div:first-child > [data-cta] {
  display: none; align-items: center; gap: 0.45rem;
  border: 1.5px solid var(--af-noite); padding: 0.6rem 1rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--af-noite);
  transition: background-color var(--transicao), color var(--transicao);
}
body > header > div:first-child > [data-cta]:hover { background: var(--af-noite); color: var(--af-creme); }

body > header > div:first-child > button[aria-controls] {
  margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -0.5rem; color: var(--af-noite);
}
body > header button svg[data-fechar], body > header button[aria-expanded="true"] svg[data-abrir] { display: none; }
body > header button[aria-expanded="true"] svg[data-fechar] { display: block; }

@media (min-width: 64rem) {
  body > header > div:first-child > nav { display: block; }
  body > header > div:first-child > [data-cta] { display: inline-flex; }
  body > header > div:first-child > button[aria-controls] { display: none; }
  #menu-movel { display: none !important; }
}

/* Menu do celular: painel escuro abaixo do cabeçalho */
#menu-movel {
  position: fixed; inset: var(--af-cab) 0 0 0; z-index: 39; overflow-y: auto; overscroll-behavior: contain;
  background: var(--af-noite); color: var(--af-creme);
  padding: 1.5rem 1rem 3rem;
}
#menu-movel > nav > ul > li > a {
  display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--af-linha-clara);
  font-family: var(--af-titulo); font-size: 1.85rem; line-height: 1.2; color: var(--af-creme);
}
#menu-movel > nav > ul > li > a[aria-current="page"] { color: var(--af-ocre); }
#menu-movel > nav > div { margin-top: 2rem; }
#menu-movel > nav > div > p { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--af-ocre); }
#menu-movel > nav > div > ul { margin-top: 0.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
#menu-movel > nav > div > ul a { display: block; padding: 0.55rem 0; font-size: 0.95rem; line-height: 1.3; color: var(--af-creme-suave); }
#menu-movel > nav > div > ul a:hover, #menu-movel > nav > ul > li > a:hover { color: var(--af-ocre); }
#menu-movel [data-cta] {
  margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem;
  background: var(--af-ocre); color: var(--af-noite); padding: 0.95rem 1rem;
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
@media (max-width: 63.99rem) { html[data-painel-aberto] { overflow: hidden; } }

/* ======================================================================
   Home - estrutura comum das dobras
   ====================================================================== */
[data-dobra]:not([data-dobra="capa"]) { padding: 3.5rem var(--af-margem); }
@media (min-width: 48rem) { [data-dobra]:not([data-dobra="capa"]) { padding-block: 5rem; } }
@media (min-width: 64rem) { [data-dobra]:not([data-dobra="capa"]) { padding-block: 6rem; } }

[data-dobra] > header {
  display: grid; gap: 0.5rem 2rem; margin-bottom: 2rem;
  border-top: 2px solid currentColor; padding-top: 1rem;
}
[data-dobra] > header > h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); line-height: 1.08; }
[data-dobra] > header > p:not(:first-child) { max-width: 40rem; font-size: 1rem; line-height: 1.6; color: var(--site-text-muted); }
[data-dobra] > header > a {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: underline 1px; text-underline-offset: 5px;
}
[data-dobra] > header > a:hover { color: var(--site-primary); }
@media (min-width: 48rem) {
  [data-dobra] > header { grid-template-columns: minmax(0, 1fr) auto; }
  [data-dobra] > header > :not(a) { grid-column: 1; }
  [data-dobra] > header > a { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0 0 0.35rem; }
}

/* Foto de cartão: caixa com proporção fixa e a imagem cobrindo */
[data-dobra] article > a:first-child { position: relative; display: block; overflow: hidden; background: var(--site-surface); }
[data-dobra] article > a:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-dobra] article:hover > a:first-child img { transform: scale(1.04); }
}
[data-dobra] article h3 a:hover { text-decoration: underline 1px; text-underline-offset: 4px; }
/* Categoria acima do título */
[data-dobra="destaques"] article > p:not(:last-child) a {
  font-size: 0.6875rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--site-primary);
}
[data-dobra="destaques"] article > p:not(:last-child) a:hover { text-decoration: underline; }

/* ======================================================================
   1. Capa
   ====================================================================== */
[data-dobra="capa"] { display: grid; background: var(--af-noite); color: var(--af-creme); }
[data-dobra="capa"] > div { display: flex; flex-direction: column; padding: 2rem 1rem 2.25rem; }
[data-dobra="capa"] > div > p:first-child {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; line-height: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--af-ocre);
}
[data-dobra="capa"] > div > p:first-child::before { content: ""; width: 2rem; height: 2px; flex-shrink: 0; background: currentColor; }
[data-dobra="capa"] h1 { margin-top: 1.25rem; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -0.025em; font-weight: 500; }
[data-dobra="capa"] h1 + p { margin-top: 1.25rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--af-creme-suave); }
[data-dobra="capa"] [data-acoes] { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
[data-dobra="capa"] [data-acoes] a:first-child {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--site-primary); color: #fff; padding: 0.95rem 1.4rem;
  font-size: 0.8125rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  transition: background-color var(--transicao);
}
[data-dobra="capa"] [data-acoes] a:first-child:hover { background: var(--site-primary-dark); }
[data-dobra="capa"] [data-acoes] a + a {
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  text-decoration: underline 1px; text-underline-offset: 6px; color: var(--af-creme);
}
[data-dobra="capa"] [data-acoes] a + a:hover { color: var(--af-ocre); }
[data-dobra="capa"] dl {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--af-linha-clara);
}
[data-dobra="capa"] dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.15rem; padding: 1rem 0.75rem 0 0; }
[data-dobra="capa"] dl > div + div { border-left: 1px solid var(--af-linha-clara); padding-left: 0.9rem; }
[data-dobra="capa"] dd { font-family: var(--af-titulo); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1; color: var(--af-ocre); }
[data-dobra="capa"] dt { font-size: 0.75rem; line-height: 1.1rem; color: var(--af-creme-suave); }
[data-dobra="capa"] > figure { position: relative; order: -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--af-noite-2); }
[data-dobra="capa"] > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-dobra="capa"] figcaption {
  position: absolute; right: 0; bottom: 0; max-width: 100%;
  background: rgb(20 8 18 / 0.66); color: rgb(255 255 255 / 0.9); padding: 0.35rem 0.65rem; font-size: 0.6875rem; line-height: 1rem;
}
@media (min-width: 48rem) {
  [data-dobra="capa"] > div { padding: 3rem var(--af-margem); }
  [data-dobra="capa"] > figure { aspect-ratio: 16 / 9; }
}
@media (min-width: 64rem) {
  /* 1ª coluna = a mesma margem do cabeçalho: o texto alinha com o logo */
  [data-dobra="capa"] { grid-template-columns: var(--af-margem) minmax(0, 5fr) minmax(0, 6fr); min-height: min(calc(100vh - var(--af-cab)), 760px); }
  [data-dobra="capa"] > div { grid-column: 2; justify-content: center; padding: 4rem 3.5rem 3rem 0; }
  [data-dobra="capa"] > figure { grid-column: 3; grid-row: 1; }
  [data-dobra="capa"] dl { margin-top: auto; }
  [data-dobra="capa"] [data-acoes] { margin-bottom: 3.5rem; }
  [data-dobra="capa"] > figure { order: 0; aspect-ratio: auto; }
}

/* ======================================================================
   2. Em destaque (uma grande + quatro)
   ====================================================================== */
[data-dobra="destaques"] > div { display: grid; gap: 2.5rem; }
[data-dobra="destaques"] article { display: flex; flex-direction: column; gap: 0.6rem; }
[data-dobra="destaques"] article > a:first-child { aspect-ratio: 4 / 3; margin-bottom: 0.4rem; }
[data-dobra="destaques"] [data-principal] > a:first-child { aspect-ratio: 3 / 2; }
[data-dobra="destaques"] [data-principal] h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); line-height: 1.12; }
[data-dobra="destaques"] [data-principal] h3 + p { font-size: 1.0625rem; line-height: 1.6; color: var(--site-text-muted); max-width: 40rem; }
[data-dobra="destaques"] > div > div { display: grid; gap: 1.75rem; align-content: start; }
[data-dobra="destaques"] > div > div h3 { font-size: 1.2rem; line-height: 1.25; }
/* celular: as quatro menores viram lista com miniatura */
@media (max-width: 39.99rem) {
  [data-dobra="destaques"] > div > div > article { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  [data-dobra="destaques"] > div > div > article > a:first-child { grid-row: 1 / span 2; margin: 0; aspect-ratio: 1 / 1; }
  [data-dobra="destaques"] > div > div > article > * { grid-column: 2; }
  [data-dobra="destaques"] > div > div > article > a:first-child { grid-column: 1; }
  [data-dobra="destaques"] > div > div h3 { font-size: 1.1rem; }
  [data-dobra="destaques"] > div > div > article { border-top: 1px solid var(--site-border); padding-top: 1.25rem; }
}
@media (min-width: 40rem) { [data-dobra="destaques"] > div > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (min-width: 64rem) {
  [data-dobra="destaques"] > div { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
  [data-dobra="destaques"] > div > div { border-left: 1px solid var(--site-border); padding-left: 2rem; }
}
@media (min-width: 80rem) {
  [data-dobra="destaques"] > div > div { padding-left: 3rem; }
}

/* ======================================================================
   3. Temas (índice numerado)
   ====================================================================== */
[data-dobra="temas"] { background: var(--site-surface); }
[data-dobra="temas"] > ol { counter-reset: tema; display: grid; column-gap: 3.5rem; border-top: 1px solid var(--site-border); }
@media (min-width: 48rem) { [data-dobra="temas"] > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; } }
[data-dobra="temas"] > ol > li { counter-increment: tema; border-bottom: 1px solid var(--site-border); }
@media (min-width: 48rem) { [data-dobra="temas"] > ol > li:nth-child(-n + 2) { border-top: 1px solid var(--site-border); } }
[data-dobra="temas"] > ol a {
  display: grid; grid-template-columns: 2.25rem 4rem minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 0.85rem 0;
}
[data-dobra="temas"] > ol a::before {
  content: counter(tema, decimal-leading-zero);
  font-family: var(--af-titulo); font-size: 1.15rem; line-height: 1; color: var(--af-ocre-escuro);
}
[data-dobra="temas"] > ol img { width: 4rem; height: 4rem; object-fit: cover; }
[data-dobra="temas"] > ol a > span:first-of-type { font-family: var(--af-titulo); font-size: 1.3rem; line-height: 1.2; transition: color var(--transicao); }
[data-dobra="temas"] > ol a > span:last-of-type { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--site-text-muted); white-space: nowrap; }
[data-dobra="temas"] > ol a:hover > span:first-of-type { color: var(--site-primary); }
@media (min-width: 64rem) {
  [data-dobra="temas"] > ol a { grid-template-columns: 2.75rem 5rem minmax(0, 1fr) auto; gap: 1.25rem; padding: 1rem 0; }
  [data-dobra="temas"] > ol img { width: 5rem; height: 5rem; }
  [data-dobra="temas"] > ol a > span:first-of-type { font-size: 1.5rem; }
}

/* ======================================================================
   4. Roteiros (trilho horizontal)
   ====================================================================== */
[data-dobra="roteiros"] { position: relative; }
[data-trilho-botoes] { display: flex; justify-content: flex-end; gap: 0.5rem; margin: -0.75rem 0 1.25rem; }
[data-trilho-botoes][hidden] { display: none; }
[data-trilho-botoes] button {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--site-text); color: var(--site-text);
  transition: background-color var(--transicao), color var(--transicao), opacity var(--transicao);
}
[data-trilho-botoes] button:hover:not(:disabled) { background: var(--af-noite); border-color: var(--af-noite); color: var(--af-creme); }
[data-trilho-botoes] button:disabled { opacity: 0.3; cursor: default; }
[data-trilho-lista] {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: 1.25rem;
  scrollbar-width: thin; scrollbar-color: var(--site-border) transparent;
}
@media (min-width: 40rem) { [data-trilho-lista] { grid-auto-columns: 46%; gap: 1.5rem; } }
@media (min-width: 64rem) { [data-trilho-lista] { grid-auto-columns: calc((100% - 3rem) / 3.25); } }
[data-trilho-lista] > li { scroll-snap-align: start; }
[data-trilho-lista] article { display: flex; flex-direction: column; }
[data-trilho-lista] article > a:first-child { aspect-ratio: 4 / 5; }
[data-trilho-lista] article > a + p {
  position: relative; z-index: 1; align-self: flex-start; margin: -1.15rem 0 0 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--af-noite); color: var(--af-creme); padding: 0.45rem 0.75rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
[data-trilho-lista] article > a + p svg { color: var(--af-ocre); }
[data-trilho-lista] h3 { margin-top: 1rem; font-size: 1.35rem; line-height: 1.22; }
[data-trilho-lista] h3 + p {
  margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.55; color: var(--site-text-muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* ======================================================================
   5. Antes de embarcar (faixa escura)
   ====================================================================== */
[data-dobra="planejamento"] { background: var(--af-noite); color: var(--af-creme); }
[data-dobra="planejamento"] > header { border-top-color: var(--af-linha-clara); }
[data-dobra="planejamento"] > header > p:first-child { color: var(--af-ocre); }
[data-dobra="planejamento"] > header > p:not(:first-child) { color: var(--af-creme-suave); }
[data-dobra="planejamento"] > header > a:hover { color: var(--af-ocre); }
[data-dobra="planejamento"] > ul { display: grid; column-gap: 2.5rem; }
@media (min-width: 48rem) { [data-dobra="planejamento"] > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { [data-dobra="planejamento"] > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
[data-dobra="planejamento"] > ul > li { border-top: 1px solid var(--af-linha-clara); }
[data-dobra="planejamento"] > ul a {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.4rem 1rem; height: 100%; padding: 1.5rem 0 2rem;
}
[data-dobra="planejamento"] > ul a > span:first-child {
  grid-row: 1 / span 3; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--af-ocre); border-radius: 9999px; color: var(--af-ocre);
}
[data-dobra="planejamento"] > ul a > span:first-child svg { width: 1.25rem; height: 1.25rem; }
[data-dobra="planejamento"] strong { font-family: var(--af-titulo); font-size: 1.4rem; line-height: 1.2; font-weight: 500; }
[data-dobra="planejamento"] strong + span { font-size: 0.9375rem; line-height: 1.55; color: var(--af-creme-suave); }
[data-dobra="planejamento"] > ul a > span:last-child {
  margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--af-ocre);
}
[data-dobra="planejamento"] > ul a:hover strong { text-decoration: underline 1px; text-underline-offset: 5px; }

/* ======================================================================
   6. Quem somos (mosaico de fotos + texto)
   ====================================================================== */
[data-dobra="quem-somos"] { display: grid; gap: 2.5rem; align-items: center; }
[data-mosaico] { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
[data-mosaico] figure { position: relative; overflow: hidden; background: var(--site-surface); aspect-ratio: 1 / 1; }
[data-mosaico] figure:first-child { grid-row: 1 / span 2; aspect-ratio: auto; }
[data-mosaico] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-dobra="quem-somos"] > div > h2 { margin-top: 0.85rem; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.1; }
[data-dobra="quem-somos"] > div > h2 + p { margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.65; color: var(--site-text-muted); }
[data-dobra="quem-somos"] > div > ul { margin-top: 1.75rem; border-top: 1px solid var(--site-border); }
[data-dobra="quem-somos"] > div > ul > li {
  display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 0; border-bottom: 1px solid var(--site-border);
  font-size: 0.9375rem; line-height: 1.5;
}
[data-dobra="quem-somos"] > div > ul svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--site-primary); }
[data-dobra="quem-somos"] [data-acoes] { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
[data-dobra="quem-somos"] [data-acoes] a:first-child {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--af-noite); color: var(--af-creme); padding: 0.9rem 1.3rem;
  font-size: 0.8125rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  transition: background-color var(--transicao);
}
[data-dobra="quem-somos"] [data-acoes] a:first-child:hover { background: var(--site-secondary); }
[data-dobra="quem-somos"] [data-acoes] a + a {
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; text-decoration: underline 1px; text-underline-offset: 6px;
}
[data-dobra="quem-somos"] [data-acoes] a + a:hover { color: var(--site-primary); }
@media (min-width: 48rem) { [data-mosaico] { height: 30rem; } }
@media (min-width: 64rem) {
  [data-dobra="quem-somos"] { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4.5rem; }
  [data-mosaico] { height: 36rem; }
}

/* ======================================================================
   Rodapé
   ====================================================================== */
body > footer[data-rodape] {
  display: grid; gap: 2.5rem; margin-top: 0;
  background: var(--af-faixa) top left / 100% 8px no-repeat, var(--af-noite); color: var(--af-creme);
  padding: 2.5rem var(--af-margem) 2rem;
}
[data-rodape] [data-logo] { background: #fff; padding: 0.7rem 0.9rem; }
[data-rodape] [data-logo] img { height: 40px; }
[data-rodape] [data-apresentacao] > p {
  margin-top: 1.75rem; max-width: 46rem;
  font-family: var(--af-titulo); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.3; color: var(--af-creme-suave);
}
[data-rodape] [data-apresentacao] > p strong { font-weight: 500; color: var(--af-creme); }
[data-rodape] [data-apresentacao] > a {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--af-ocre);
}
[data-rodape] [data-apresentacao] > a:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-rodape] nav h2 {
  font-family: inherit; font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--af-ocre);
}
[data-rodape] nav[aria-label="Temas"] ul { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
[data-rodape] nav[aria-label="Temas"] a {
  display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--af-linha-clara);
  font-family: var(--af-titulo); font-size: 1.05rem; line-height: 1.3; color: var(--af-creme);
}
[data-rodape] nav[aria-label="Institucional"] { border-top: 1px solid var(--af-linha-clara); padding-top: 1.5rem; }
[data-rodape] nav[aria-label="Institucional"] ul { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; }
[data-rodape] nav[aria-label="Institucional"] :is(a, button) { font-size: 0.875rem; line-height: 1.4; color: var(--af-creme-suave); text-align: left; }
[data-rodape] nav a:hover, [data-rodape] nav button:hover { color: var(--af-ocre); }
[data-rodape] [data-direitos] {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  border-top: 1px solid var(--af-linha-clara); padding-top: 1.25rem;
  font-size: 0.75rem; line-height: 1.5; color: rgb(255 248 236 / 0.6);
}
[data-rodape] [data-direitos] p:last-child { max-width: 40rem; }
@media (min-width: 64rem) {
  body > footer[data-rodape] { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 5rem; padding-bottom: 2.5rem; }
  body > footer[data-rodape] { padding-top: 4.5rem; }
  [data-rodape] > nav[aria-label="Institucional"], [data-rodape] > [data-direitos] { grid-column: 1 / -1; }
  [data-rodape] > nav:not([aria-label="Temas"]):not([aria-label="Institucional"]) { grid-column: 1 / -1; }
}

/* ======================================================================
   Páginas internas: mesmo conteúdo, acabamento do layout
   ====================================================================== */
/* Post */
#post { max-width: 46rem; }
#post > nav[aria-label="Trilha de navegação"] { font-size: 0.75rem; line-height: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
#post > h1 { margin-top: 1.25rem; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
#post > [data-resumo] { font-size: 1.2rem; line-height: 1.65; }
#post > [data-autoria] { border-color: var(--site-text); border-bottom-color: var(--site-border); }
#post > [data-destaque] > span { border-radius: 0; aspect-ratio: 3 / 2; }
#post > [data-destaque] figcaption { border-left: 2px solid var(--af-ocre); padding-left: 0.6rem; }
#post [data-compartilhar] > :is(a, button) { border-radius: 2px; }
.article-body { font-size: 1.0625rem; }
.article-body p, .article-body li { line-height: 1.75; }
.article-body h2 { margin-top: 3rem; font-size: 1.85rem; line-height: 1.2; font-weight: 600; border-top: 1px solid var(--site-border); padding-top: 1.25rem; }
.article-body h2:first-child { border-top: 0; padding-top: 0; }
.article-body h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 600; }
.article-body img { border-radius: 0; aspect-ratio: 3 / 2; }
.article-body blockquote { border-left-color: var(--af-ocre); font-family: var(--af-titulo); font-style: normal; font-size: 1.25rem; color: var(--site-text); }
.article-body thead { background: var(--af-noite); color: var(--af-creme); }
.article-body th { border-color: var(--af-noite); }
[data-planeje] { border: 0; border-top: 4px solid var(--site-primary); border-radius: 0; }
[data-planeje] li a { border-radius: 0; }
[data-caixa-autor] { border-radius: 0; border: 0; border-top: 2px solid var(--site-text); background: var(--site-surface); }
[data-caixa-autor] > div > p:nth-child(2) { font-family: var(--af-titulo); font-size: 1.35rem; }
[data-relacionados] h2 { font-size: 1.9rem; font-weight: 500; border-top: 2px solid var(--site-text); padding-top: 1rem; }
[data-relacionados] a > span:first-child { border-radius: 0; aspect-ratio: 3 / 2; }
[data-relacionados] a > span + span { font-family: var(--af-titulo); font-size: 1.15rem; font-weight: 500; line-height: 1.3; }

/* Lista do blog e categorias */
#blog { max-width: var(--af-largura); }
#blog > h1 { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); line-height: 1.05; font-weight: 500; border-top: 2px solid var(--site-text); padding-top: 1rem; }
#blog > h1 + p { font-size: 1.0625rem; }
#blog > [data-cartoes] { row-gap: 3rem; column-gap: 1.75rem; }
#blog article { border: 0; border-radius: 0; overflow: visible; }
#blog article > a:first-child { aspect-ratio: 3 / 2; overflow: hidden; }
#blog article > div { padding: 1rem 0 0; }
#blog article > div > a:first-child { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; }
#blog article h2 { font-size: 1.4rem; line-height: 1.22; font-weight: 500; }
#blog article h2 a:hover { color: inherit; text-decoration: underline 1px; text-underline-offset: 4px; }
#blog article h2 + p { font-size: 0.9375rem; line-height: 1.55; }
#blog > nav[aria-label="Paginação"] a { border: 1px solid var(--site-border); border-radius: 0; min-width: 2.5rem; text-align: center; }
#blog > nav[aria-label="Paginação"] a[aria-current="page"] { background: var(--af-noite); border-color: var(--af-noite); color: var(--af-creme); }

/* Autor e institucionais */
#autor > [data-perfil] h1, [data-moldura] > h1 { font-weight: 500; letter-spacing: -0.02em; font-size: clamp(2.2rem, 1.7rem + 2vw, 3.1rem); line-height: 1.08; }
#autor > h2 { font-size: 1.6rem; font-weight: 500; }
[data-moldura] > h1 { border-top: 2px solid var(--site-text); padding-top: 1rem; }
