/* Fonts (precisa vir primeiro) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ---------- Base / utilidades ---------- */

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  word-wrap: break-word;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  --viridis-pessoas-color: #D7E150;
  --viridis-matas-color: #73C373;
  --viridis-aguas-color: #41878C; /* ; corrigido */
  --viridis-sociedade-color: #411E69;
  --viridis-dados-color: #323232;
  --custom-white-color: #ffffff;
  --custom-gray1-color: #f2f2f2;
  --custom-gray2-color: #dddddd;
  --custom-gray3-color: #9d9d9d;
  --custom-black-color: #000000;

  /* WP presets comuns (mantidos) */
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4 / 3;
  --wp--preset--aspect-ratio--3-4: 3 / 4;
  --wp--preset--aspect-ratio--3-2: 3 / 2;
  --wp--preset--aspect-ratio--2-3: 2 / 3;
  --wp--preset--aspect-ratio--16-9: 16 / 9;
  --wp--preset--aspect-ratio--9-16: 9 / 16;

  --wp--preset--color--black: #000000;
  --wp--preset--color--white: #ffffff;

  --wp--preset--font-size--small: 18px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 26.25px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--font-size--normal: 21px;
  --wp--preset--font-size--larger: 32px;
}

@supports (font-variation-settings: normal) {
  body {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  }
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
  text-align: center;
}

header {
  display: block;
  text-align: center;
}

/* ---------- Layouts específicos ---------- */

.row {
  background-color: #fff;
}

/* Bloco imagem + texto */
.block {
  width: 500px;
  height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start; /* conteúdo no topo */
  gap: 20px;               /* espaço entre imagem e texto */
}
.block img {
  width: 33.33%;
  height: auto;
  flex-shrink: 0;
}
.block .text-content {
  flex: 1; /* ocupa os 2/3 restantes */
}
.block h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

/* Títulos de herói CoBlocks (mantido) */
.home .wp-block-coblocks-hero h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 4.7em;
  font-weight: 700;
  line-height: 107% !important;
}

/* ---------- Header sticky / theme ---------- */

#site-header {
  background: #fff;
  position: relative;
  border-bottom: 2px solid var(--viridis-matas-color) !important;
  box-shadow: none !important;
}

/* Mantém sticky em telas altas */
@media screen and (min-height: 600px) {
  #site-header {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

/* Remove linhas fantasmas injetadas pelo WP (footer widgets etc.) */
.footer-nav-widgets-wrapper.header-footer-group {
  border-top: none !important;
  border-bottom: none !important;
}

/* Ajusta espaçamento para não sobrar branco entre header e conteúdo */
.header-inner,
.header-footer-group {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ---------- PÁGINA "SOBRE" ---------- */

.title-about {
  font-family: 'Inter', sans-serif !important;
  font-size: 3.75em;
  font-weight: 600;
  line-height: 107% !important;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.capa_sobre {
  position: relative;
  width: 100%;
  background-image: url("../img/CapaSobre.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding-top: 26.3%; /* mantém proporção da imagem */
  overflow: hidden;
}

.capa_sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.capa_sobre_content {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 137% !important;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  margin: 0 auto;
  max-width: 800px;
  color: #ffffff;
}
.capa_sobre_content a {
  color: #ffffff;
  text-decoration: underline;
}
.capa_sobre_content a:hover {
  color: #ddd;
}

.texto_livre {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 137% !important;
  text-align: left;
  margin: 2rem auto;
  max-width: 550px;
  color: #000000;
}
.texto_livre code {
  color: #000000;
}

.fale_conosco {
  font-family: 'Inter', sans-serif !important;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 115% !important;
}

.contato {
  font-family: 'Inter', sans-serif !important;
  font-size: 1em;
  font-weight: 400;
  line-height: 137% !important;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.contato a {
  color: #3f8513;
  text-decoration: underline;
}

.contato a:hover {
  color: #3f8513;
  text-decoration: none;
}

.contato code {
  color: #000000;
}

summary {
  display: list-item;
  cursor: pointer;
  font-family:'Inter', sans-serif !important;
  font-size: 1.15em !important;
  font-weight: 700;
  line-height: 155% !important;
  color:#73c172;
}

.FAQ {
  max-width: 800px;       /* largura máxima do bloco */
  margin: 0 auto;          /* centraliza horizontalmente */
  padding: 0 20px;         /* margem interna nas laterais */
  text-align: center;
}

/* ---------- Fim Página "SOBRE" ---------- */

/* ---------- CAPA (home hero) ---------- */

/* Container com background já definido no HTML ou aqui */
.capa {
  background-image: url("../img/CapaSite.png");
  background-position: 45% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* opcional: parallax */
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* base para o ::before */
}

/* Overlay escuro para contraste */
.capa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo acima do overlay */
.capa-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 860px;
  padding: 2rem;
  margin: 0 auto;
}

/* Título e subtítulo da capa */
.capa .capa-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 9rem;     
  font-weight: 800;    
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff;
}
.capa .capa-content p {
  font-size: 2.5rem;   
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* CTA */
.cta-button {
  display: inline-block;
  background-color: #73c172;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #5fa85f;
}

/* Responsivo: ajuste correto para h2 */
@media (max-width: 768px) {
  .capa .capa-content h2 {
    font-size: 3.2rem;
  }
  .capa .capa-content p {
    font-size: 1.4rem;
  }
  .capa-content {
    padding: 1rem;
  }
}  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

/* ---------- CAPA (home hero) ---------- */

/* Container com background já definido no HTML ou aqui */
.capa {
  background-image: url("../img/CapaSite.png");
  background-position: 45% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* opcional: parallax */
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* base para o ::before */
}

/* Overlay escuro para contraste */
.capa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo acima do overlay */
.capa-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 860px;
  padding: 2rem;
  margin: 0 auto;
}

/* Título e subtítulo da capa */
.capa .capa-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 8rem;     /* maior */
  font-weight: 800;    /* negrito forte */
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff;
}
.capa .capa-content p {
  font-size: 1.8rem;   /* maior */
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* CTA */
.cta-button {
  display: inline-block;
  background-color: #73c172;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #5fa85f;
}

/* Responsivo: ajuste correto para h2 */
@media (max-width: 768px) {
  .capa .capa-content h2 {
    font-size: 3.2rem;
  }
  .capa .capa-content p {
    font-size: 1.4rem;
  }
  .capa-content {
    padding: 1rem;
  }
}

/* ===================== DZAM FOOTER OVERRIDES ===================== */

/* Linha separadora no topo do bloco de widgets e do rodapé */
.footer-nav-widgets-wrapper.header-footer-group { 
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 24px;
}
#site-footer.header-footer-group.dzam-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 16px;
}

/* Garantir alinhamento vertical entre colunas do footer */
.footer-nav-widgets-wrapper .footer-widgets-wrapper,
.footer-nav-widgets-wrapper .wp-container-core-columns-is-layout-1,
.footer-nav-widgets-wrapper .wp-container-core-columns-is-layout-2 {
  align-items: center !important;
}

/* Coluna 2 (redes) alinhada à direita em desktop, com espaçamento consistente */
.footer-nav-widgets-wrapper .footer-widgets.column-two .wp-container-core-columns-is-layout-2 {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

/* Evita “pulo” de imagem e garante renderização nítida dos ícones */
.footer-nav-widgets-wrapper .wp-block-image img {
  display: block !important;
  height: auto;
}

/* Tamanho dos ícones de redes (ajuste centralizado aqui) */
.footer-nav-widgets-wrapper .footer-widgets.column-two .wp-block-image img {
  width: 60px !important;
  height: 60px !important;
}

/* Em telas pequenas, centraliza as redes e dá respiro */
@media (max-width: 782px) {
  .footer-nav-widgets-wrapper .footer-widgets.column-two .wp-container-core-columns-is-layout-2 {
    justify-content: center !important;
  }
  .footer-nav-widgets-wrapper .footer-widgets.column-two {
    margin-top: 8px;
  }
}

/* Créditos sem espaçamento extra (mantém o bloco compacto) */
#site-footer.header-footer-group.dzam-footer .footer-credits p {
  margin: 0.25rem 0;
}  font-weight: 500;
  line-height: 115% !important;
}

/* Título 4 */
h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.7em;
  font-weight: 400;
  letter-spacing: 5%;
  line-height: 155% !important;
}

/* Título 5 */
h5 {
  color: var(--viridis-matas-color);
  font-family: 'Inter', sans-serif !important;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 5%;
  line-height: 130% !important;
  text-transform: uppercase;
}

/* Título 6 */
h6 {
  color: var(--viridis-aguas-color);
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875em;
  font-weight: 300;
  line-height: 128% !important;
}

/* Texto Comum */
p, time {
  font-family: 'Inter', sans-serif !important;
  font-size: 1em;
  font-weight: 400;
  line-height: 137% !important;
}

/* Título da capa da página principal (tema original) */
.home .wp-block-coblocks-hero h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 4.7em;
  font-weight: 700;
  line-height: 107% !important;
}

/* Títulos na página de Histórias */
article header h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 2.5em !important;
  font-weight: 700;
  line-height: 115% !important;
}

/* Títulos das seções de Comentários */
#reply-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 115% !important;
}

/* Subtítulos (Página inicial) */
.has-small-font-size {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.15em !important;
  font-weight: 400;
  letter-spacing: 5%;
  line-height: 155% !important;
}

/* Tipos de Post e Tags  */
.cat-links {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875em !important;
  font-weight: 400;
  letter-spacing: 5%;
  line-height: 130% !important;
  text-transform: uppercase;
}
.entry-categories-inner a {
  color: var(--viridis-matas-color) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 5%;
  line-height: 130% !important;
  text-transform: uppercase;
}
.post-tags .meta-text a {
  color: var(--viridis-aguas-color) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875em;
  font-weight: 300;
  line-height: 128% !important;
}
.post-tags .meta-text a:before { content: '#'; }

/* Botões */
.wp-block-button a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875em;
  font-weight: 400;
  line-height: 128% !important;
}


/* ==============================
   COMPONENTES / AJUSTES
============================== */

/* Acordeon (Sobre) */
.wp-block-coblocks-accordion { font-family: 'Inter', sans-serif !important; }
.wp-block-coblocks-accordion-item__title {
  background-color: var(--custom-white-color) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.15em !important;
  font-weight: 400;
  letter-spacing: 5%;
  line-height: 155% !important;
}
.wp-block-coblocks-accordion-item__title::marker { color: var(--viridis-matas-color) !important; }
.wp-block-coblocks-accordion-item__content {
  border-top: 1px solid rgba(140, 140, 151, 0.1);
  font-family: 'Inter', sans-serif !important;
  font-size: 1em !important;
  font-weight: 400;
  line-height: 144% !important;
}

/* Capas de posts */
.wp-block-cover__image-background {
  height: 100% !important;
  margin: 0 auto !important;
  width: auto !important;
}

/* Grid de visualizações */
.visualisacoes-grid { margin-top: 0 !important; margin-bottom: 0 !important; }
.visualisacoes-grid h4 { text-align: center; margin-top: 0.25em !important; margin-bottom: 0 !important; }
.visualisacoes-grid .wp-block-button { margin-top: -0.5em !important; margin-bottom: 0 !important; }

/* Menus sem link */
.placeholder_menu > div > a:link,
.placeholder_menu > div > a:visited {
  color: lightgray !important;
  text-decoration: none !important;
  pointer-events: none;
}
.not_clickable > div > a:link,
.not_clickable > div > a:visited {
  text-decoration: none !important;
  pointer-events: none;
}

/* Search: remove texto */
.search-toggle > span > span { display: none; }

/* Espaçamentos globais */
.wp-block-cover { margin-bottom: 0 !important; }
.has-no-padding { margin-top: 0 !important; }
.post-inner.thin { padding-top: 0; }

/* Header fixo no topo */
@media screen and (min-height: 600px) {
  #site-header { position: sticky; top: 0; z-index: 10; }
}

/* Remover título da Home (duas variantes) */
.home .entry-header { overflow: hidden; display: none; }
.page-id-3997 .entry-header { overflow: hidden; display: none; }

/* Iframe Shiny */
.shinyblock { height: 75vh; min-height: 400px; }
.shinyframe { height: 100%; }

/* ==============================
   SEÇÕES LOCAIS DO SEU JEKYLL
============================== */

header { text-align: center; }
.row { background-color: #fff; }

/* Bloco imagem + texto (suas seções) */
.block {
  width: 500px;
  height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.block img { width: 33.33%; height: auto; flex-shrink: 0; }
.block .text-content { flex: 1; }
.block h3 { margin-top: 0; margin-bottom: 15px; }

/* ==============================
   CAPA (HERÓI) – COM OVERLAY
============================== */

.capa {
  background-image: url("../img/CapaSite.png");
  background-position: 45% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* pode desativar no iOS se precisar */
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* base p/ ::before */
}
.capa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* contraste mais forte */
  z-index: 1;
  pointer-events: none;
}
.capa-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 860px;
  padding: 2rem;
  margin: 0 auto;
}
/* Título/subtítulo maiores que o original (seu pedido) */
.capa .capa-content h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 8rem;        /* maior que 3.75em do tema */
  font-weight: 800 !important;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff !important;
}
.capa .capa-content p {
  font-size: 1.8rem;      /* maior que 1em do tema */
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,.6);
}
/* CTA */
.cta-button {
  display: inline-block;
  background-color: #73c172;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  transition: background-color .3s ease;
}
.cta-button:hover { background-color: #5fa85f; }

/* Responsivo */
@media (max-width: 768px) {
  .capa .capa-content h2 { font-size: 3.2rem; }
  .capa .capa-content p { font-size: 1.4rem; }
  .capa-content { padding: 1rem; }
}


/* ======= Footer ======= */

footer.dzam-footer {
  border-top: 2px solid var(--viridis-matas-color);
  padding: 50px 0;
}

footer.dzam-footer.row {
  display: flex;
  justify-content: center;   /* centra as colunas dentro do .row */
  align-items: center;
  gap: 50px;                 /* espaço entre logos e redes (ajuste fino) */
}


footer.dzam-footer .footer-logo {
  display: block;
  max-height: 96px;   /* ajuste para ficar próximo do mock (2) */
  width: auto;
  height: auto;
  margin: 0 auto;     /* centraliza dentro da coluna */
}

footer.dzam-footer .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;        
}
footer.dzam-footer .social-icon {
  width: 52px;    
  height: 52px;
  display: block;
  vertical-align: middle;
}

/* Créditos */
footer.dzam-footer .footer-credits {
  display: flex;
  align-items: center;
  gap: 16px;            
  font-size: 1.4rem;
}

footer.dzam-footer .footer-credits .copyright {
  color: #000;          /* © 2025 Data Zoom Amazônia em preto e negrito */
  font-weight: 700;
}

footer.dzam-footer .footer-credits .credits {
  color: #666;          /* texto de apoio em cinza */
  font-weight: 400;
}

footer.dzam-footer .footer-credits a {
  color: #666;
  text-decoration: none;
}
footer.dzam-footer .footer-credits a:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  /* Empilha os créditos no mobile */
  footer.dzam-footer .footer-credits {
    flex-direction: column;
    text-align: center;
    gap: 4px; /* espaço menor entre as linhas */
  }
}

/* --------- Viz --------- */

.rodape_viz {
  font-family: 'Inter', sans-serif !important;
  font-size: 1em;
  font-weight: 400;
  line-height: 137% !important;
  text-align: left;
}

.rodape_viz a {
  color: #3f8513;
  text-decoration: underline;
}

.rodape_viz a:hover {
  text-decoration: none;
}

.code_viz {
  color: #000000;
  background: none;
}

.text-center {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;       /* ~18px */
  color: #3f8513;
  text-align: center;
  max-width: 800px;          /* largura máxima */
  margin: 20px auto;         /* centraliza horizontalmente */
  line-height: 1.5;
}
/*------------------Fim Viz-----------------*/

/*------------------ Visualizacoes -----------------*/

.selecao_por_tema {
  color: #73c373;            /* verde claro */
  font-family: 'Inter', sans-serif !important;
  font-size: 1.6em;
  font-weight: 600;
  line-height: 130% !important;
}
  
.botoes-container {
  display: flex;
  flex-wrap: wrap;       /* permite quebrar linha */
  gap: 10px;             /* espaço entre os botões */
  justify-content: center; /* centraliza no meio */
  margin: 20px 0;
}

a.botao {
  display: inline-block !important;
  background-color: #3f8513 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.1em;
  font-weight: 700;
  padding: 12px 18px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}
  
a.botao:hover {
  text-decoration: underline;
  background-color: #2f640e; /* tom mais escuro no hover */
}


.imagens-container {
  flex-direction: row;
  display: flex;
  align-items: center !important; 
  justify-content: center; /* centraliza */
  gap: 50px;               /* espaço entre as imagens */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.imagens-container img {
  width: 300px;       /* controla o tamanho */
  height: auto;       /* mantém proporção */
  border-radius: 6px; /* opcional: cantos arredondados */
  transition: transform 0.2s ease;
}

.imagens-container img:hover {
  transform: scale(1.05); /* efeito zoom ao passar o mouse */
}

.icone-bloco {
  display: flex;
  flex-direction: column;  /* empilha imagem + descrição */
  align-items: center;     /* centraliza dentro do bloco */
  text-align: center;     
  max-width: 300px;     /* mesma largura da imagem */
}


/*------------------ Fim Visualizacoes -----------------*/

/* remove espaço extra logo abaixo do header */
.header-inner,
.header-footer-group {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* =========================================================
   MOBILE OVERRIDES — Data Zoom Amazônia
   Cole no FINAL do style.css
========================================================= */

/* ---------- Tipografia base fluida ---------- */
@media (max-width: 1024px) { html { font-size: 60%; } }
@media (max-width: 782px)  { html { font-size: 58%; } }
@media (max-width: 600px)  { html { font-size: 56.25%; } }

h1, .home .wp-block-coblocks-hero h2, .title-about, .fale_conosco,
.capa .capa-content h2 {
  font-size: clamp(2.4rem, 4.5vw + 1.2rem, 8rem) !important;
  line-height: 1.12 !important;
}
.capa .capa-content p,
.texto_livre, .contato, .FAQ, p, time {
  font-size: clamp(1.4rem, 1.3vw + 1rem, 1.8rem) !important;
}

/* =========================================================
   HEADER MOBILE FIXES (até 782px)
========================================================= */
@media (max-width: 782px) {
  /* Layout geral do header */
  #site-header .header-inner,
  #site-header .section-inner.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px !important;
  }

  /* Logo/branding */
  #site-header .header-titles-wrapper,
  #site-header .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  #site-header .site-logo img,
  #site-header .custom-logo,
  #site-header .custom-logo-link img,
  #site-header .wp-block-site-logo img,
  #site-header .site-branding img {
    max-height: 32px !important;
    height: auto !important;
    width: auto !important;
  }

  /* Grupo da direita (menu, idioma, busca) */
  #site-header .header-actions,
  #site-header .nav-toggle-wrapper,
  #site-header .menu-group,
  #site-header .language-switch,
  #site-header .lang-switch,
  #site-header .pll-switcher,
  #site-header .wpml-ls,
  #site-header #menu-toggle,
  #site-header .menu-toggle,
  #site-header .search-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  /* Botões do header */
  #site-header .toggle,
  #site-header .menu-toggle,
  #site-header #menu-toggle,
  #site-header .search-toggle,
  #site-header .language-switch a,
  #site-header .lang-switch a,
  #site-header .pll-switcher a,
  #site-header .wpml-ls a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    letter-spacing: normal !important;
    text-transform: none !important;
  }

  /* Esconde rótulos de texto dentro dos toggles, deixa só ícone */
  #site-header .toggle .toggle-inner > span:not(.toggle-icon),
  #site-header .menu-toggle .toggle-inner > span:not(.toggle-icon),
  #site-header .search-toggle .toggle-inner > span:not(.toggle-icon) {
    display: none !important;
  }

  /* Se switch de idioma for lista */
  #site-header .pll-switcher li,
  #site-header .wpml-ls li {
    margin: 0 !important;
  }

  /* FAILSAFE: zera letter-spacing em tudo no header */
  #site-header,
  #site-header * {
    letter-spacing: normal !important;
  }
}
@media (max-width: 600px) {
  #site-header .site-logo img,
  #site-header .custom-logo,
  #site-header .custom-logo-link img,
  #site-header .wp-block-site-logo img {
    max-height: 28px !important;
  }
}

/* =========================================================
   CAPA (hero) — ajustes mobile
========================================================= */
@media (max-width: 1024px) {
  .capa { background-attachment: scroll !important; }
  .capa-content { max-width: 720px; padding: 1.5rem; }
}
@media (max-width: 600px) {
  .capa { min-height: 85vh; }
  .capa .capa-content h2 { margin-bottom: 0.6rem; }
  .capa .capa-content p { margin-bottom: 1.2rem; }
  .cta-button {
    padding: 0.9rem 1.6rem;
    font-size: 1.6rem;
    border-radius: 6px;
    min-height: 44px;
  }
}

/* =========================================================
   Bloco imagem + texto
========================================================= */
@media (max-width: 1024px) {
  .block {
    width: 100%;
    max-width: 920px;
    height: auto;
    padding: 0 16px;
    gap: 16px;
  }
}
@media (max-width: 782px) {
  .block {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .block img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .block .text-content { width: 100%; }
  .block h3 { margin: 8px 0 8px; }
}

/* =========================================================
   Página Sobre
========================================================= */
@media (max-width: 782px) {
  .capa_sobre { padding-top: 42%; background-size: cover; }
  .capa_sobre_content { padding: 0 16px; font-size: 1.05em; }
  .FAQ { max-width: 100%; padding: 0 16px; }
}

/* =========================================================
   Botões / CTA
========================================================= */
@media (max-width: 600px) {
  a.botao {
    width: 100%;
    max-width: 520px;
    text-align: center;
    padding: 12px 16px !important;
    font-size: 1.2em;
  }
  .botoes-container { gap: 8px; padding: 0 12px; }
}

/* =========================================================
   Visualizações — grid/imagens
========================================================= */
@media (max-width: 1024px) {
  .imagens-container { gap: 28px; padding: 0 12px; }
  .imagens-container img { width: min(46vw, 320px); }
}
@media (max-width: 600px) {
  .imagens-container { gap: 20px; }
  .imagens-container img { width: min(88vw, 320px); }
  .icone-bloco { max-width: min(88vw, 320px); }
}



/* =========================================================
   Shiny embed
========================================================= */
@media (max-width: 782px) {
  .shinyblock { height: 65vh; min-height: 360px; }
}

/* =========================================================
   Footer DZAM
========================================================= */
@media (max-width: 1024px) {
  footer.dzam-footer { padding: 28px 0; }
  footer.dzam-footer.row {
    gap: 28px;
    padding-left: 12px;
    padding-right: 12px;
  }
  footer.dzam-footer .footer-logo { max-height: 84px; }
  footer.dzam-footer .social-links { gap: 20px; }
  footer.dzam-footer .social-icon { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  footer.dzam-footer.row { flex-direction: column; align-items: center; }
  footer.dzam-footer .footer-logo { max-height: 72px; }
  footer.dzam-footer .social-links { gap: 16px; }
  footer.dzam-footer .social-icon { width: 40px; height: 40px; }
  footer.dzam-footer .footer-credits {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    font-size: 1.3rem;
  }
}

/* =========================================================
   Ajustes finos
========================================================= */
@media (max-width: 600px) {
  summary { font-size: 1.05em !important; }
  .contato, .texto_livre { padding: 0 16px; }
  .selecao_por_tema { font-size: 1.4em; }
}

/* Remove efeitos pesados no mobile */
@media (hover: none) and (pointer: coarse) {
  .imagens-container img:hover { transform: none; }
}
