/* blogdoudenilson.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 "classic" ---------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fontes/poppins-400.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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fontes/poppins-500.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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fontes/poppins-600.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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fontes/poppins-700.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: "Poppins Fallback";
  src: local("Arial");
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}
:root {
  --font-texto: "Poppins", "Poppins Fallback";

}
body {
  font-family: var(--font-texto);
  font-style: normal;
}

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

/* Layout "classic" (Destinos de África, Blog Dou Denilson).
   Mesmo visual do Next: components/site/header*.tsx, footer.tsx, home/*.
   Valores tirados das classes Tailwind v4 de cada elemento (sm 640, md 768,
   lg 1024). Cores só por var(--site-*). Sem classes: estrutura, ids e data-*. */

body {
  background: var(--site-background);
  color: var(--site-text);
}

/* ------------------------------------------------------------ utilidades */
/* Hovers só em aparelhos com mouse (@media (hover: hover)), como o Tailwind v4 do Next. */

[data-cabecalho] svg,
[data-rodape] svg,
main [data-dobra] svg {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/* "Ver todos", CTAs: a seta anda 4px no hover (motion-safe). */
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    [data-dobra] a:hover > svg:last-child,
    [data-dobra="planejamento"] a:hover > span:last-child > svg {
      translate: 0.25rem 0;
    }
  }
}
[data-dobra] a > svg:last-child,
[data-dobra="planejamento"] a > span:last-child > svg {
  transition: translate 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Caixa de foto que preenche o pai (equivalente ao next/image "fill"). */
/* (O <picture> é display: contents na base: quem se posiciona é o <img>.) */
[data-dobra] :is([data-foto], [data-dobra="destaques"] > div > a, [data-grade] a, figure, [data-dobra="comece"] > div > a) > img,
[data-dobra] :is([data-foto], [data-dobra="destaques"] > div > a, [data-grade] a, figure, [data-dobra="comece"] > div > a) > picture > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* ------------------------------------------------------------- cabeçalho */

[data-cabecalho] {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-background);
}
[data-cabecalho]::before {
  content: "";
  display: block;
  height: 0.25rem;
  background-image: linear-gradient(to right in oklab, var(--site-primary) 0%, var(--site-accent) 50%, var(--site-secondary) 100%);
}
[data-cabecalho] > div {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1rem;
}

/* Logo: caixa 160x40 (176 a partir de sm), imagem contida à esquerda. */
[data-cabecalho] [data-logo] {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  color: var(--site-text);
  text-decoration: none;
}
[data-cabecalho] [data-logo] img {
  display: block;
  width: 10rem;
  height: 2.5rem;
}
[data-cabecalho] [data-logo] img {
  object-fit: contain;
  object-position: left;
}
[data-cabecalho] [data-logo] > span {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

/* Navegação do computador (lg+). */
[data-cabecalho] > div > nav {
  display: none;
}
[data-cabecalho] > div > nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-cabecalho] > div > nav > ul > li > a,
[data-cabecalho] summary {
  display: block;
  border-radius: 9999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--site-text);
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-cabecalho] > div > nav > ul > li > a:hover,
  [data-cabecalho] summary:hover {
    background: var(--site-surface);
    color: var(--site-primary);
  }
}
[data-cabecalho] > div > nav > ul > li > a[aria-current="page"] {
  background: color-mix(in oklab, var(--site-primary) 10%, transparent);
  color: var(--site-primary);
}
[data-cabecalho] > div > nav > ul > li > a[data-cta] {
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  color: #fff;
  background-image: linear-gradient(to right in oklab, var(--site-primary), var(--site-secondary));
  box-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-cabecalho] > div > nav > ul > li > a[data-cta]:hover {
    background-color: transparent;
    color: #fff;
    opacity: 0.9;
  }
}

/* "Temas" (details/summary): painel de 34rem com os temas em 2 colunas. */
[data-cabecalho] details {
  position: relative;
}
[data-cabecalho] summary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
[data-cabecalho] summary::-webkit-details-marker {
  display: none;
}
[data-cabecalho] details[open] > summary {
  background: var(--site-surface);
}
[data-cabecalho] summary svg {
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-cabecalho] details[open] > summary svg {
  transform: rotate(180deg);
}
#header-topics {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  margin-top: 0.75rem;
  width: 34rem;
  border: 1px solid var(--site-border);
  border-radius: 1rem;
  background: var(--site-background);
  padding: 0.75rem;
  box-shadow: 0 25px 50px -12px #00000040;
}
#header-topics ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-topics li a {
  display: block;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--site-text);
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  #header-topics li a:hover {
    background: color-mix(in oklab, var(--site-primary) 10%, transparent);
    color: var(--site-primary);
  }
}
#header-topics > a {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  background: var(--site-surface);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--site-primary);
  text-decoration: none;
}

/* Botões redondos de 44px (abrir/fechar menu). */
[data-menu-abrir],
[data-menu-fechar] {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--site-text);
  padding: 0;
  cursor: pointer;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-menu-abrir]:hover,
  [data-menu-fechar]:hover {
    background: var(--site-surface);
  }
}
[data-cabecalho] :is([data-menu-abrir], [data-menu-fechar]) svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Menu móvel: <dialog> de tela cheia. */
#header-mobile {
  position: fixed;
  inset: 0;
  z-index: 50;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  border: 0;
  padding: 0;
  overflow-y: auto;
  background: var(--site-background);
  color: var(--site-text);
}
#header-mobile[open] {
  display: flex;
  flex-direction: column;
}
#header-mobile::backdrop {
  background: transparent;
}
#header-mobile > div {
  display: flex;
  height: 4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}
#header-mobile > nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 1rem 2.5rem;
}
#header-mobile > nav > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-mobile > nav > ul > li + li {
  margin-top: 0.25rem;
}
#header-mobile > nav > ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--site-text);
  text-decoration: none;
}
@media (hover: hover) {
  #header-mobile > nav > ul a:hover {
    background: var(--site-surface);
  }
}
#header-mobile > nav > ul a[aria-current="page"] {
  background: color-mix(in oklab, var(--site-primary) 10%, transparent);
  color: var(--site-primary);
}
#header-mobile > nav > ul a svg {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.5;
}
#header-mobile nav > div > p {
  margin: 0;
  padding: 0 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--site-text-muted);
}
#header-mobile nav > div ul {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem;
  list-style: none;
}
#header-mobile nav > div a {
  display: inline-block;
  border: 1px solid var(--site-border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--site-text);
  text-decoration: none;
}
@media (hover: hover) {
  #header-mobile nav > div a:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
  }
}
#header-mobile > nav > a[data-cta] {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background-image: linear-gradient(to right in oklab, var(--site-primary), var(--site-secondary));
}

@media (min-width: 640px) {
  [data-cabecalho] > div,
  #header-mobile > div {
    padding: 0 1.5rem;
  }
  #header-mobile > nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  [data-cabecalho] [data-logo] img {
    width: 11rem;
  }
}
@media (min-width: 1024px) {
  [data-cabecalho] > div {
    height: 4.5rem;
  }
  [data-cabecalho] > div > nav {
    display: flex;
    align-items: center;
  }
  [data-menu-abrir],
  #header-mobile,
  #header-mobile[open] {
    display: none;
  }
}

/* -------------------------------------------------------- dobras da home */

/* Zera margens (antes do contêiner, para não anular o margin auto). */
[data-dobra] p,
[data-dobra] h1,
[data-dobra] h2,
[data-dobra] h3,
[data-dobra] ul,
[data-dobra] dl,
[data-dobra] dd,
[data-dobra] figure {
  margin: 0;
}

/* Contêiner padrão: max-w-6xl, px-4 / sm:px-6. */
[data-dobra] > :is(header, ul, div),
[data-dobra="destaques"] > div {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
[data-dobra] ul {
  list-style: none;
}
[data-dobra] a {
  text-decoration: none;
}

/* Cabeçalho de cada dobra (SectionHeading). */
[data-dobra] > header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-dobra] > header > div {
  max-width: 42rem;
}
[data-dobra] > header p:first-child,
[data-dobra="comece"] > div > div > p:first-child,
[data-dobra="quem-somos"] > div > div > p:first-child {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--site-primary);
}
[data-dobra] > header h2,
[data-dobra="comece"] h2,
[data-dobra="quem-somos"] h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--site-text);
}
[data-dobra] > header h2 + p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--site-text-muted);
}
[data-dobra] > header > a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--site-primary);
}

/* Fold 1: hero. */
[data-dobra="hero"] {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 34rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--site-secondary-dark);
  color: #fff;
}
[data-dobra="hero"] > img,
[data-dobra="hero"] > picture > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
[data-dobra="hero"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--site-hero-shade, transparent), var(--site-hero-shade, transparent)),
    linear-gradient(to right in oklab, color-mix(in oklab, var(--site-secondary) 45%, transparent) 0%, transparent 50%, transparent 100%),
    linear-gradient(to top in oklab, #000000b3 0%, #0000001a 50%, #00000040 100%);
}
[data-dobra="hero"] > div:first-of-type {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
[data-dobra="hero"] > div:first-of-type > p:first-child {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #ffffff40;
  border-radius: 9999px;
  background: #0000004d;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
}
[data-dobra="hero"] > div:first-of-type > p:first-child svg {
  width: 0.875rem;
  height: 0.875rem;
}
[data-dobra="hero"] h1 {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
[data-dobra="hero"] h1 + p {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: #ffffffe6;
}
[data-dobra="hero"] > div:first-of-type > div {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
[data-dobra="hero"] > div:first-of-type > div > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-dobra="hero"] > div:first-of-type > div > a:first-child {
  gap: 0.5rem;
  background: var(--site-primary);
  box-shadow: 0 10px 15px -3px #0003, 0 4px 6px -4px #0003;
}
@media (hover: hover) {
  [data-dobra="hero"] > div:first-of-type > div > a:first-child:hover {
    background: var(--site-primary-dark);
  }
}
[data-dobra="hero"] > div:first-of-type > div > a:last-child {
  border: 1px solid #fff6;
  background: #00000040;
}
@media (hover: hover) {
  [data-dobra="hero"] > div:first-of-type > div > a:last-child:hover {
    background: #fff3;
  }
}
/* Entrada suave (só opacidade/transform), desligada em movimento reduzido. */
@keyframes classic-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
[data-dobra="hero"] > div:first-of-type > * {
  animation: classic-fade-up 0.6s ease-out both;
}
[data-dobra="hero"] > div:first-of-type > h1 {
  animation-delay: 0.08s;
}
[data-dobra="hero"] > div:first-of-type > :is(h1 + p, div) {
  animation-delay: 0.16s;
}
@media (prefers-reduced-motion: reduce) {
  [data-dobra="hero"] > div:first-of-type > * {
    animation: none;
  }
}
[data-dobra="hero"] > div:last-of-type {
  width: 100%;
  padding-bottom: 1rem;
}
[data-dobra="hero"] dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #ffffff26;
  border-radius: 1rem;
  background: #0006;
}
[data-dobra="hero"] dl > div {
  padding: 1rem 0.75rem;
  text-align: center;
}
[data-dobra="hero"] dl > div:not(:last-child) {
  border-right: 1px solid #ffffff26;
}
[data-dobra="hero"] dt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}
[data-dobra="hero"] dd > span:first-child {
  display: block;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}
[data-dobra="hero"] dd > span:last-child {
  margin-top: 0.125rem;
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: #ffffffbf;
}
[data-dobra="hero"] dl + p {
  margin-top: 0.5rem;
  text-align: right;
  font-size: 10px;
  line-height: 1.25;
  color: #fff9;
}

/* "Comece por aqui" (só sites cujo copy define). */
[data-dobra="comece"] {
  padding: 3.5rem 0;
}
[data-dobra="comece"] > div > * {
  min-width: 0;
}
[data-dobra="comece"] > div {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface);
  padding: 0;
  max-width: none;
  margin-left: max(1rem, calc((100% - 72rem) / 2 + 1rem));
  margin-right: max(1rem, calc((100% - 72rem) / 2 + 1rem));
}
[data-dobra="comece"] > div > a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 16rem;
  background: var(--site-secondary-dark);
}
[data-dobra="comece"] > div > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
[data-dobra="comece"] h2 + p {
  margin-top: 1rem;
  line-height: 1.75rem;
  color: var(--site-text-muted);
}
[data-dobra="comece"] > div > div > a {
  margin-top: 1.5rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--site-primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-dobra="comece"] > div > div > a:hover {
    background: var(--site-primary-dark);
  }
}
[data-dobra="comece"] ul {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
}
[data-dobra="comece"] ul a {
  display: inline-flex;
  border: 1px solid var(--site-border);
  border-radius: 9999px;
  background: var(--site-background);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--site-text);
}
@media (hover: hover) {
  [data-dobra="comece"] ul a:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
  }
}

/* Fold 2: temas. */
[data-dobra="temas"] {
  padding: 4rem 0;
}
[data-dobra="temas"] > ul {
  margin-top: 2.5rem;
  gap: 0.75rem;
}
[data-grade="cinco"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-grade="livre"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
[data-grade="livre"] > li {
  width: calc(50% - 0.375rem);
}
[data-grade] a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--site-surface);
}
[data-grade] a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(to top in oklab, #000000bf 0%, #0000001a 50%, transparent 100%);
}
[data-grade] a > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem;
  color: #fff;
}
[data-grade] a > span > span:first-child {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}
[data-grade] a > span > span:last-child {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #fffc;
}

/* Zoom suave das fotos no hover (motion-safe). */
[data-dobra] :is([data-grade] a, [data-dobra="destaques"] > div > a, [data-foto], [data-dobra="comece"] > div > a) img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    [data-grade] a:hover img {
      transform: scale(1.1);
    }
  }
  @media (hover: hover) {
    [data-dobra="destaques"] > div > a:hover img,
    [data-dobra="roteiros"] a:hover img,
    [data-dobra="comece"] > div > a:hover img {
      transform: scale(1.05);
    }
  }
  @media (hover: hover) {
    [data-dobra="destaques"] li a:hover img {
      transform: scale(1.1);
    }
  }
}
[data-dobra="destaques"] li [data-foto] img {
  transition-duration: 0.5s;
}

/* Fold 3: destaques (revista: 1 grande + 4 compactos).
   Obs.: no Next o "line-clamp-2 block" do resumo (e dos roteiros/planejamento) perde o
   corte, porque .block vem depois no CSS; aqui o texto também sai inteiro. */
[data-dobra="destaques"] {
  background: var(--site-surface);
  padding: 4rem 0;
}
[data-dobra="destaques"] > div {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
[data-dobra="destaques"] > div > * {
  min-width: 0;
}
[data-dobra="destaques"] > div > a {
  position: relative;
  display: block;
  min-height: 22rem;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--site-secondary-dark);
}
[data-dobra="destaques"] > div > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(to top in oklab, #000000d9 0%, #0000004d 50%, transparent 100%);
}
[data-dobra="destaques"] > div > a > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
}
[data-dobra="destaques"] > div > a [data-categoria] {
  display: inline-block;
  border-radius: 9999px;
  background: var(--site-primary);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
[data-dobra="destaques"] > div > a [data-titulo] {
  margin-top: 0.75rem;
  display: block;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
}
[data-dobra="destaques"] > div > a [data-resumo] {
  display: block;
  margin-top: 0.5rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #ffffffd9;
}
[data-dobra="destaques"] > div > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}
[data-dobra="destaques"] > div > ul > li {
  flex: 1;
}
[data-dobra="destaques"] li a {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  gap: 1rem;
  border: 1px solid var(--site-border);
  border-radius: 1rem;
  background: var(--site-background);
  padding: 0.75rem;
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-dobra="destaques"] li a:hover {
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  }
}
[data-dobra="destaques"] li [data-foto] {
  position: relative;
  display: block;
  height: 6rem;
  width: 7rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--site-surface);
}
[data-dobra="destaques"] li [data-foto] + span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}
[data-dobra="destaques"] li [data-categoria] {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--site-primary);
}
[data-dobra="destaques"] li [data-titulo] {
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.375;
  font-weight: 600;
  color: var(--site-text);
}
@media (hover: hover) {
  [data-dobra="destaques"] li a:hover [data-titulo] {
    color: var(--site-primary);
  }
}

/* Fold 4: roteiros (carrossel com snap no celular, 3 colunas no lg). */
[data-dobra="roteiros"] {
  background: var(--site-secondary);
  padding: 4rem 0;
  color: #fff;
}
[data-dobra="roteiros"] > header p:first-child {
  color: #ffffffb3;
}
[data-dobra="roteiros"] > header h2 {
  color: #fff;
}
[data-dobra="roteiros"] > header h2 + p {
  color: #fffc;
}
[data-dobra="roteiros"] > header > a {
  color: #fff;
}
[data-dobra="roteiros"] > ul {
  margin-top: 2.5rem;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
/* -mx-4 + px-4 dentro de um contêiner max-w-6xl px-4: o carrossel encosta
   nas bordas do contêiner (sem o padding), como no Next. */
[data-dobra="roteiros"] > ul {
  max-width: 72rem;
}
[data-dobra="roteiros"] > ul::-webkit-scrollbar {
  display: none;
}
[data-dobra="roteiros"] > ul > li {
  width: 18rem;
  flex-shrink: 0;
  scroll-snap-align: start;
}
[data-dobra="roteiros"] li a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--site-background);
  color: var(--site-text);
  box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), translate 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    [data-dobra="roteiros"] li a:hover {
      translate: 0 -0.25rem;
    }
  }
}
[data-dobra="roteiros"] [data-foto] {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--site-surface);
}
[data-dobra="roteiros"] [data-foto] > span {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: #fffffff2;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--site-primary);
  box-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
}
[data-dobra="roteiros"] [data-foto] > span svg {
  width: 0.875rem;
  height: 0.875rem;
}
[data-dobra="roteiros"] [data-foto] + span {
  display: block;
  padding: 1.25rem;
}
[data-dobra="roteiros"] [data-titulo] {
  display: block;
  overflow: hidden;
  font-size: 1.125rem;
  line-height: 1.375;
  font-weight: 600;
}
@media (hover: hover) {
  [data-dobra="roteiros"] li a:hover [data-titulo] {
    color: var(--site-primary);
  }
}
[data-dobra="roteiros"] [data-resumo] {
  display: block;
  margin-top: 0.5rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--site-text-muted);
}

/* Fold 5: planejamento. */
[data-dobra="planejamento"] {
  padding: 4rem 0;
}
[data-dobra="planejamento"] > ul {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
[data-dobra="planejamento"] li a {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  border: 1px solid var(--site-border);
  border-radius: 1rem;
  background: var(--site-background);
  padding: 1.5rem;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  [data-dobra="planejamento"] li a:hover {
    translate: 0 -0.125rem;
    border-color: var(--site-primary);
    box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
  }
}
[data-dobra="planejamento"] li a > span:first-child {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--site-primary) 10%, transparent);
  color: var(--site-primary);
}
[data-dobra="planejamento"] li a > span:first-child svg {
  width: 1.5rem;
  height: 1.5rem;
}
[data-dobra="planejamento"] [data-titulo] {
  margin-top: 1.25rem;
  display: block;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--site-text);
}
[data-dobra="planejamento"] [data-resumo] {
  display: block;
  margin-top: 0.5rem;
  overflow: hidden;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--site-text-muted);
}
[data-dobra="planejamento"] li a > span:last-child {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--site-primary);
}

/* Fold 6: quem somos. */
[data-dobra="quem-somos"] {
  padding-bottom: 4rem;
}
[data-dobra="quem-somos"] > div > div:first-child,
[data-dobra="quem-somos"] > div > div:last-child {
  min-width: 0;
}
[data-dobra="quem-somos"] > div {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  border-radius: 1.5rem;
  background: var(--site-surface);
  padding: 1.5rem;
  max-width: none;
  margin-left: max(1rem, calc((100% - 72rem) / 2 + 1rem));
  margin-right: max(1rem, calc((100% - 72rem) / 2 + 1rem));
}
[data-dobra="quem-somos"] h2 + p {
  margin-top: 1rem;
  line-height: 1.75rem;
  color: var(--site-text-muted);
}
[data-dobra="quem-somos"] ul {
  margin-top: 1.5rem;
  padding: 0;
}
[data-dobra="quem-somos"] ul > li + li {
  margin-top: 0.75rem;
}
[data-dobra="quem-somos"] ul > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--site-text);
}
[data-dobra="quem-somos"] ul > li > span {
  margin-top: 0.125rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--site-primary) 10%, transparent);
  color: var(--site-primary);
}
[data-dobra="quem-somos"] ul + p {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
[data-dobra="quem-somos"] ul + p > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-dobra="quem-somos"] ul + p > a:first-child {
  background: var(--site-primary);
  color: #fff;
}
@media (hover: hover) {
  [data-dobra="quem-somos"] ul + p > a:first-child:hover {
    background: var(--site-primary-dark);
  }
}
[data-dobra="quem-somos"] ul + p > a:last-child {
  border: 1px solid var(--site-border);
  background: var(--site-background);
  color: var(--site-text);
}
@media (hover: hover) {
  [data-dobra="quem-somos"] ul + p > a:last-child:hover {
    border-color: var(--site-primary);
  }
}
[data-dobra="quem-somos"] > div > div:last-child:not(:first-child) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
}
[data-dobra="quem-somos"] figure {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--site-background);
  aspect-ratio: 1 / 1;
}
[data-dobra="quem-somos"] figure:first-child {
  grid-row: span 2 / span 2;
  min-height: 20rem;
  aspect-ratio: auto;
}

@media (min-width: 640px) {
  [data-dobra] > :is(header, ul, div),
  [data-dobra="destaques"] > div {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  [data-dobra] > header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  [data-dobra] > header h2,
  [data-dobra="comece"] h2,
  [data-dobra="quem-somos"] h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  [data-dobra="hero"] h1 {
    font-size: 3rem;
  }
  [data-dobra="hero"] h1 + p {
    font-size: 1.125rem;
  }
  [data-dobra="hero"] > div:first-of-type > div {
    flex-direction: row;
  }
  [data-dobra="hero"] dl > div {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  [data-dobra="hero"] dd > span:first-child {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  [data-dobra="hero"] dd > span:last-child {
    font-size: 0.75rem;
  }
  [data-dobra="comece"] {
    padding: 5rem 0;
  }
  [data-dobra="comece"] > div {
    margin-left: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
    margin-right: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
  }
  [data-dobra="comece"] > div > div {
    padding: 2.5rem;
  }
  [data-dobra="temas"],
  [data-dobra="destaques"],
  [data-dobra="roteiros"],
  [data-dobra="planejamento"] {
    padding: 5rem 0;
  }
  [data-dobra="temas"] > ul {
    gap: 1rem;
  }
  [data-grade="livre"] > li {
    width: calc(50% - 0.5rem);
  }
  [data-dobra="destaques"] > div > a > span {
    padding: 2rem;
  }
  [data-dobra="destaques"] > div > a [data-titulo] {
    font-size: 1.875rem;
  }
  [data-dobra="destaques"] li [data-foto] {
    height: 7rem;
    width: 9rem;
  }
  [data-dobra="destaques"] li [data-titulo] {
    font-size: 1rem;
  }
  [data-dobra="roteiros"] > ul {
    scroll-padding-inline: 1.5rem;
  }
  [data-dobra="roteiros"] > ul > li {
    width: 20rem;
  }
  [data-dobra="planejamento"] > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-dobra="quem-somos"] {
    padding-bottom: 6rem;
  }
  [data-dobra="quem-somos"] > div {
    padding: 2.5rem;
    margin-left: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
    margin-right: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
  }
  [data-dobra="quem-somos"] ul + p {
    flex-direction: row;
  }
}
@media (min-width: 768px) {
  [data-dobra="hero"] {
    min-height: 40rem;
  }
  [data-grade="cinco"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  [data-grade="livre"] > li {
    width: calc(33.333% - 0.667rem);
  }
}
@media (min-width: 1024px) {
  [data-dobra="hero"] {
    min-height: 46rem;
  }
  [data-dobra="hero"] h1 {
    font-size: 3.75rem;
  }
  [data-dobra="comece"] > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-dobra="comece"] > div > a {
    min-height: 26rem;
  }
  [data-dobra="comece"] > div > div {
    padding: 3rem;
  }
  [data-grade="cinco"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  [data-grade="livre"] > li {
    width: calc(16.666% - 0.834rem);
  }
  [data-dobra="destaques"] > div {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  [data-dobra="destaques"] > div > a {
    grid-column: span 7 / span 7;
  }
  [data-dobra="destaques"] > div > a {
    min-height: 32rem;
  }
  [data-dobra="destaques"] > div > ul {
    grid-column: span 5 / span 5;
  }
  [data-dobra="roteiros"] > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-padding-inline: 0;
  }
  [data-dobra="roteiros"] > ul > li {
    width: auto;
  }
  [data-dobra="planejamento"] > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  [data-dobra="quem-somos"] > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    padding: 3.5rem;
  }
}

/* ------------------------------------------------------------------ rodapé */

[data-rodape] {
  margin-top: auto;
  background: var(--site-secondary-dark);
  color: #fff;
}
[data-rodape] p,
[data-rodape] h2,
[data-rodape] ul {
  margin: 0;
}
[data-rodape] ul {
  padding: 0;
  list-style: none;
}
[data-rodape] > div:first-child {
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  max-width: 72rem;
  gap: 2.5rem;
  padding: 3.5rem 1rem;
}
[data-rodape] > div:first-child > * {
  min-width: 0;
}
/* Logo numa caixa branca 176x40 com cantos arredondados. */
[data-rodape] [data-apresentacao] img {
  box-sizing: border-box;
  display: block;
  width: 11rem;
  height: 2.5rem;
  max-width: none;
  padding: 0.25rem;
  border-radius: 0.375rem;
  background: #fff;
  object-fit: contain;
  object-position: left;
}
[data-rodape] [data-apresentacao] > span {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}
[data-rodape] [data-apresentacao] > p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #ffffffbf;
}
[data-rodape] [data-apresentacao] > a {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
@media (hover: hover) {
  [data-rodape] [data-apresentacao] > a:hover {
    text-decoration: underline;
  }
}
[data-rodape] h2 {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff9;
}
[data-rodape] nav ul {
  margin-top: 1rem;
}
[data-rodape] nav li + li {
  margin-top: 0.625rem;
}
[data-rodape] nav[aria-label="Temas"] ul {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.625rem;
}
[data-rodape] nav[aria-label="Temas"] li + li {
  margin-top: 0;
}
[data-rodape] nav :is(a, button) {
  text-align: left;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #ffffffbf;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-rodape] nav button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
@media (hover: hover) {
  [data-rodape] nav :is(a, button):hover {
    color: #fff;
  }
}
[data-rodape] > div:last-child {
  border-top: 1px solid #ffffff1a;
}
[data-rodape] > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem max(1rem, calc((100% - 72rem) / 2 + 1rem));
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #fff9;
}
@media (min-width: 640px) {
  [data-rodape] > div:first-child {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  [data-rodape] > div:last-child {
    padding-left: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
    padding-right: max(1.5rem, calc((100% - 72rem) / 2 + 1.5rem));
  }
  [data-rodape] > div:first-child:not([data-guias]) nav[aria-label="Temas"] ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  [data-rodape] > div:first-child {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  [data-rodape] > div:first-child > [data-apresentacao] {
    grid-column: span 5 / span 5;
  }
  [data-rodape] > div:first-child > nav[aria-label="Temas"] {
    grid-column: span 4 / span 4;
  }
  [data-rodape] > div:first-child > nav[aria-label="Institucional"] {
    grid-column: span 3 / span 3;
  }
  [data-rodape] > div[data-guias] > [data-apresentacao] {
    grid-column: span 12 / span 12;
  }
  [data-rodape] > div[data-guias] > nav {
    grid-column: span 4 / span 4 !important;
  }
  [data-rodape] > div:last-child {
    flex-direction: row;
    justify-content: space-between;
  }
  [data-rodape] > div:last-child > p:last-child {
    max-width: 36rem;
    text-align: right;
  }
}
@media (min-width: 1024px) {
  [data-rodape] > div[data-guias] > [data-apresentacao] {
    grid-column: span 4 / span 4;
  }
  [data-rodape] > div[data-guias] > nav {
    grid-column: span 3 / span 3 !important;
  }
  [data-rodape] > div[data-guias] > nav[aria-label="Institucional"] {
    grid-column: span 2 / span 2 !important;
  }
}
