/*
Theme Name: Essência do Vale
Theme URI: https://essenciadovale.com
Author: OBF Marketing
Description: Tema do blog da Essência do Vale, réplica do visual do site institucional (Astro). Editor Clássico.
Version: 1.1.3
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: essencia
*/

/* ---------------------------------------------------------------------------
   Os valores abaixo são os do global.css do site, traduzidos das classes
   Tailwind para CSS puro. Pontos de quebra iguais: 640 (sm), 1024 (lg), 1280 (xl).
--------------------------------------------------------------------------- */

/* A Getho não tem algarismos: o unicode-range pula 0-9 e o navegador desce
   para a Poppins só nos dígitos (mesma solução do site) */
@font-face {
  font-family: 'Getho';
  src: url('assets/fonts/Getho-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0-2F, U+3A-10FFFF;
}
@font-face {
  font-family: 'Getho';
  src: url('assets/fonts/Getho-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0-2F, U+3A-10FFFF;
}

:root {
  --oliva: #5C7252;
  --oliva-escuro: #47593f;
  --terracota: #D06740;
  --terracota-escuro: #b0522f;
  --marrom: #4B2F28;
  --tinta: #3D3C35;
  --creme: #F7EEDC;
  --dourado: #F4A637;
  --terroso: #6B655B;
  --fonte-titulo: "Getho", "Poppins", Arial, sans-serif;
  --fonte-texto: "Poppins", Arial, Helvetica, sans-serif;
  --raio: 14px;
  --largura: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

/* clip e não hidden: hidden transformaria o body em container de rolagem */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
  background: #fff;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  left: -9999px;
}
.pular:focus {
  left: 16px;
  top: 16px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: var(--raio);
  background: var(--terracota);
  color: #fff;
}

/* ---------------------------------------------------------------------------
   CABEÇALHO (Header.astro)
--------------------------------------------------------------------------- */
.barra {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(107 101 91 / 0.15);
  background-color: rgb(255 255 255 / 0.95);
  transition: background-color .35s ease, backdrop-filter .35s ease,
              border-color .35s ease, box-shadow .35s ease;
}

/* Com a barra de administração do WordPress aberta, o topo desce junto */
.admin-bar .barra { top: 32px; }
@media (max-width: 782px) { .admin-bar .barra { top: 46px; } }
@media (max-width: 600px) { .admin-bar .barra { top: 0; } }

/* 0.7 e não menos: com foto escura por baixo, o texto do menu fica em 5,2:1 */
.barra.rolado {
  background-color: rgb(255 255 255 / 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: rgb(255 255 255 / 0.55);
  box-shadow: 0 10px 30px -14px rgb(61 60 53 / 0.3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .barra.rolado { background-color: rgb(255 255 255 / 0.94); }
}

.barra__dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.barra__logo { flex-shrink: 0; display: block; }
.barra__logo img { display: block; height: 56px; width: auto; }

.menu { display: none; }
.menu ul { display: flex; align-items: center; gap: 24px; }

.menu a,
.menu-celular a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--tinta);
  text-decoration: none;
  transition: color .15s ease;
}
.menu a:hover,
.menu-celular a:hover,
.menu a[aria-current="page"],
.menu-celular a[aria-current="page"] { color: var(--oliva); }

.botao-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--raio);
  background: none;
  color: var(--tinta);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.botao-menu:hover { background: rgb(92 114 82 / 0.1); color: var(--oliva); }
.botao-menu svg { width: 24px; height: 24px; }
.botao-menu svg[hidden] { display: none; }

.menu-celular {
  border-top: 1px solid rgb(107 101 91 / 0.15);
  background: #fff;
}
.menu-celular[hidden] { display: none; }
.menu-celular nav { max-width: var(--largura); margin: 0 auto; padding: 8px 20px; }
.menu-celular li { border-bottom: 1px solid rgb(107 101 91 / 0.1); }
.menu-celular li:last-child { border-bottom: 0; }
.menu-celular a { display: flex; min-height: 52px; }

@media (min-width: 1280px) {
  .menu { display: block; }
  .botao-menu,
  .menu-celular { display: none !important; }
}

/* ---------------------------------------------------------------------------
   BOTÕES DA MARCA (mesma regra do site: no hover fundo e texto trocam,
   com contorno interno para o botão não sumir sobre fundo da mesma cor)
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--raio);
  font-family: var(--fonte-texto);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--btn-fundo);
  color: var(--btn-tinta);
  box-shadow: inset 0 0 0 2px var(--btn-fundo);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover,
.btn:focus-visible {
  background-color: var(--btn-tinta);
  color: var(--btn-fundo);
}
.btn-terracota { --btn-fundo: var(--terracota); --btn-tinta: #fff; }
.btn-oliva     { --btn-fundo: var(--oliva);     --btn-tinta: #fff; }

/* ---------------------------------------------------------------------------
   ABERTURA DAS PÁGINAS (faixa creme, igual à primeira dobra de /historia)
--------------------------------------------------------------------------- */
.abertura { background: var(--creme); }

.abertura__dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 64px 20px 48px;
}
.abertura__dentro--estreito { max-width: 860px; }

.rotulo {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracota-escuro);
}
.rotulo a { color: inherit; text-decoration: none; }
.rotulo a:hover { text-decoration: underline; }

.abertura__titulo {
  margin-top: 12px;
  max-width: 20ch;
  font-size: 36px;
  color: var(--oliva);
}
.abertura__titulo--post { max-width: none; font-size: 30px; line-height: 1.1; }

.abertura__apoio {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--terroso);
}

@media (min-width: 640px) {
  .abertura__titulo { font-size: 48px; }
  .abertura__titulo--post { font-size: 40px; }
}
@media (min-width: 1024px) {
  .abertura__dentro { padding: 96px 20px 64px; }
  .abertura__titulo { font-size: 60px; }
  .abertura__titulo--post { font-size: 48px; }
}

.post__meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--terroso);
}

/* Abertura da home: texto + busca à esquerda, post mais recente à direita */
.abertura__dentro--destaque { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .abertura__dentro--destaque {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    padding-bottom: 80px;
  }
  .abertura__dentro--destaque .abertura__titulo { font-size: 52px; }
}

/* Categoria e busca: título à esquerda, busca à direita, na mesma linha de base */
.abertura__dentro--compacta { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) {
  .abertura__dentro--compacta { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.abertura__busca { margin-top: 32px; max-width: 460px; }
.abertura__busca--lado { margin-top: 0; width: 100%; }
@media (min-width: 1024px) { .abertura__busca--lado { width: 380px; flex-shrink: 0; } }

.destaque {
  display: flex;
  flex-direction: column;
  border-radius: var(--raio);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgb(61 60 53 / 0.35);
}
.destaque__foto {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--creme);
}
.destaque__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.destaque:hover .destaque__foto img { transform: scale(1.03); }
.destaque__selo {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--terracota-escuro);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.destaque__texto { padding: 24px 28px 28px; }
.destaque__titulo {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.12;
  color: var(--oliva);
}
@media (min-width: 1024px) { .destaque__titulo { font-size: 28px; } }
.destaque__titulo a { text-decoration: none; }
.destaque__titulo a:hover { color: var(--oliva-escuro); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Faixa de assuntos, alinhada com a grade de posts */
.assuntos {
  background: #fff;
  border-bottom: 1px solid rgb(107 101 91 / 0.15);
}
.assuntos__dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.assuntos__rotulo {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terroso);
}
/* No celular os assuntos correm na horizontal, sem quebrar em várias linhas */
.assuntos .pilulas {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin: -2px;
}
.assuntos .pilulas::-webkit-scrollbar { display: none; }
.assuntos .pilulas li { flex-shrink: 0; }
@media (min-width: 1024px) {
  .assuntos .pilulas { flex-wrap: wrap; overflow: visible; }
}

/* 404 ainda usa esse bloco para a busca */
.filtros { margin-top: 40px; }

.pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.pilulas a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(92 114 82 / 0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--tinta);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.pilulas a:hover { box-shadow: inset 0 0 0 2px var(--oliva); color: var(--oliva); }
.pilulas a[aria-current="page"] {
  background: var(--oliva);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--oliva);
}

.busca {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--raio);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(92 114 82 / 0.25);
  width: 100%;
}
.busca input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--tinta);
}
.busca input::placeholder { color: rgb(107 101 91 / 0.8); }
.busca input:focus { outline: none; }
.busca:focus-within { box-shadow: inset 0 0 0 2px var(--oliva); }
.busca .btn { padding: 0 20px; }

/* ---------------------------------------------------------------------------
   LISTA DE POSTS
--------------------------------------------------------------------------- */
.lista__dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.grade {
  display: grid;
  gap: 40px 32px;
}
/* minmax(0, 1fr) e não 1fr: o resumo com line-clamp informa a frase inteira
   como largura mínima, e com 1fr a coluna estourava a tela */
@media (min-width: 640px) { .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cartao { display: flex; flex-direction: column; min-width: 0; }

.cartao__foto {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--raio);
  background: var(--creme);
}
.cartao__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cartao:hover .cartao__foto img { transform: scale(1.03); }

.cartao__texto { padding-top: 20px; }

.cartao__titulo {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.18;
  color: var(--oliva);
  /* Títulos do blog são longos: em caixa alta passavam de 4 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cartao__titulo a { text-decoration: none; }
.cartao__titulo a:hover { color: var(--oliva-escuro); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.cartao__resumo {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--terroso);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cartao__data {
  margin-top: 12px;
  font-size: 12px;
  color: var(--terroso);
}

.vazio { text-align: center; padding: 40px 0; }
.vazio p { margin-bottom: 24px; color: var(--terroso); }

/* Paginação */
.pagination { margin-top: 64px; }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--raio);
  font-size: 14px;
  font-weight: 600;
  color: var(--tinta);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(92 114 82 / 0.25);
}
.pagination a.page-numbers:hover { box-shadow: inset 0 0 0 2px var(--oliva); color: var(--oliva); }
.pagination .page-numbers.current { background: var(--oliva); color: #fff; box-shadow: none; }
.pagination .page-numbers.dots { box-shadow: none; }

/* ---------------------------------------------------------------------------
   POST
--------------------------------------------------------------------------- */
.post__capa {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  isolation: isolate; /* sem isso o ::before com z-index -1 vai para baixo do fundo da página */
}
/* A capa sobe sobre a faixa creme, para ligar a abertura ao texto */
.post__capa::before {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  /* Largura da tela inteira, não só da coluna da capa */
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: var(--creme);
  z-index: -1;
}
.post__capa img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--raio);
}

.conteudo-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--tinta);
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { .conteudo-post { font-size: 18px; padding-top: 64px; } }

.conteudo-post > * + * { margin-top: 1.25em; }

/* Posts vindos do WordPress antigo trazem span com font-weight inline:
   o peso de negrito do <strong> precisa vencer */
.conteudo-post strong, .conteudo-post b { font-weight: 600; }

.conteudo-post h2,
.conteudo-post h3,
.conteudo-post h4 { color: var(--oliva); margin-top: 2em; }
.conteudo-post h2 { font-size: 28px; }
.conteudo-post h3 { font-size: 22px; }
.conteudo-post h4 {
  font-family: var(--fonte-texto);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}
@media (min-width: 1024px) {
  .conteudo-post h2 { font-size: 34px; }
  .conteudo-post h3 { font-size: 26px; }
}

.conteudo-post a {
  color: var(--terracota-escuro);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.conteudo-post a:hover { color: var(--oliva); }

.conteudo-post ul,
.conteudo-post ol { padding-left: 1.4em; }
.conteudo-post ul { list-style: disc; }
.conteudo-post ol { list-style: decimal; }
.conteudo-post li + li { margin-top: .5em; }
.conteudo-post li::marker { color: var(--terracota); }

.conteudo-post img { border-radius: var(--raio); }
.conteudo-post figure { margin-left: 0; margin-right: 0; }
.conteudo-post figcaption,
.conteudo-post .wp-caption-text {
  margin-top: 8px;
  font-size: 13px;
  color: var(--terroso);
  text-align: center;
}
.conteudo-post .wp-caption { max-width: 100%; }
.conteudo-post .aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  .conteudo-post .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
  .conteudo-post .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
}
.conteudo-post::after { content: ""; display: table; clear: both; }

.conteudo-post blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 24px 28px;
  border-left: 4px solid var(--terracota);
  border-radius: 0 var(--raio) var(--raio) 0;
  background: var(--creme);
  font-size: 1.05em;
}

.conteudo-post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.conteudo-post th,
.conteudo-post td { padding: 10px 12px; border-bottom: 1px solid rgb(107 101 91 / 0.2); text-align: left; }
.conteudo-post th { background: var(--creme); font-weight: 600; }

.conteudo-post iframe { max-width: 100%; border-radius: var(--raio); }
.conteudo-post hr { border: 0; border-top: 1px solid rgb(107 101 91 / 0.2); margin: 2.5em 0; }

.relacionados { background: var(--creme); }
.relacionados .lista__dentro { padding-top: 64px; }
.relacionados__titulo { font-size: 32px; color: var(--oliva); margin-bottom: 40px; }
@media (min-width: 1024px) { .relacionados__titulo { font-size: 40px; } }

/* ---------------------------------------------------------------------------
   COMENTÁRIOS
--------------------------------------------------------------------------- */
.comentarios__dentro { max-width: 760px; margin: 0 auto; padding: 64px 20px 80px; }
.comentarios__titulo { font-size: 26px; color: var(--oliva); margin-bottom: 24px; }
.comentarios__lista { list-style: none; margin-bottom: 48px; }
.comentarios__lista .children { list-style: none; padding-left: 24px; border-left: 2px solid var(--creme); }
.comentarios__lista .comment-body { padding: 20px 0; border-bottom: 1px solid rgb(107 101 91 / 0.15); font-size: 15px; line-height: 1.7; }
.comentarios__lista .comment-author { font-weight: 600; }
.comentarios__lista .says { display: none; }
.comentarios__lista .comment-metadata { font-size: 12px; margin-bottom: 8px; }
.comentarios__lista .comment-metadata a { color: var(--terroso); text-decoration: none; }
.comentarios__lista .reply a { font-size: 13px; font-weight: 600; color: var(--terracota-escuro); }
.comentarios__nota { font-size: 13px; color: var(--terroso); margin-bottom: 16px; }

.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgb(107 101 91 / 0.35);
  border-radius: var(--raio);
  font: inherit;
  font-size: 15px;
  color: var(--tinta);
  background: #fff;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--oliva); box-shadow: 0 0 0 1px var(--oliva); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; font-size: 13px; }

/* ---------------------------------------------------------------------------
   RODAPÉ (Footer.astro)
--------------------------------------------------------------------------- */
.rodape { background: var(--oliva); color: #fff; }

.rodape__dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  gap: 40px;
}
@media (min-width: 640px) { .rodape__dentro { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rodape__dentro { grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 64px 20px; } }

.rodape__logo { display: block; height: 80px; width: auto; }
.rodape__frase { margin-top: 16px; max-width: 32ch; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.8); }

/* -12px: compensa a folga interna da área de toque para o ícone alinhar com o logo */
.rodape__redes { margin: 24px 0 0 -12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rodape__redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--dourado);
  transition: background-color .15s ease;
}
.rodape__redes a:hover { background: rgb(255 255 255 / 0.1); }
.rodape__redes a:focus-visible { outline: 2px solid var(--dourado); outline-offset: 0; }
.icone { width: 20px; height: 20px; }

.rodape__titulo { font-size: 18px; color: var(--dourado); }

.rodape__horarios { margin-top: 16px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.85); }
.rodape__horarios > div + div { margin-top: 16px; }
.rodape__horarios dt { font-weight: 600; color: #fff; }
.rodape__horarios dd { color: rgb(255 255 255 / 0.75); }
.rodape__horarios dd:first-of-type { margin-top: 4px; }

.rodape__links { margin-top: 16px; display: grid; column-gap: 24px; font-size: 14px; color: rgb(255 255 255 / 0.85); }
@media (min-width: 640px) { .rodape__links { grid-template-columns: repeat(2, 1fr); } }
.rodape__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color .15s ease;
}
.rodape__links a:hover,
.rodape__links a:focus-visible { color: var(--dourado); outline: none; }

.rodape__direitos {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: rgb(255 255 255 / 0.6);
}
/* No celular o botão flutuante do WhatsApp cobria esta linha (igual ao Footer.astro) */
@media (max-width: 1023px) {
  .rodape__direitos { padding-bottom: 96px; }
}

/* ---------------------------------------------------------------------------
   BOTÃO FLUTUANTE DO WHATSAPP (BotaoWhatsapp.astro)
--------------------------------------------------------------------------- */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1), 0 0 0 1px rgb(0 0 0 / 0.05);
  transition: transform .2s ease;
}
.whatsapp:hover { transform: scale(1.05); }
.whatsapp:focus-visible { outline: 2px solid var(--oliva); outline-offset: 2px; }
.whatsapp__icone { width: 28px; height: 28px; color: #fff; }
.whatsapp__dica {
  display: none;
  position: absolute;
  right: 100%;
  margin-right: 12px;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--raio);
  background: rgb(61 60 53 / 0.85);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.whatsapp:hover .whatsapp__dica { opacity: 1; }
@media (min-width: 640px) {
  .whatsapp { right: 28px; bottom: 28px; width: 64px; height: 64px; }
  .whatsapp__icone { width: 32px; height: 32px; }
}
@media (min-width: 1024px) { .whatsapp__dica { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .barra, .btn, .cartao__foto img, .destaque__foto img, .whatsapp { transition: none; }
  .cartao:hover .cartao__foto img { transform: none; }
}
