/* ==========================================================
   Ateliê de Crochê da Isa — estilos
   Paleta: baunilha, bege e rosa quente (não lilás)
   ========================================================== */

:root {
  --baunilha: #FDF9F0;
  --bege: #F3EADB;
  --bege-escuro: #E5D6C0;
  --rosa-claro: #FBDDE4;
  --rosa: #F5A8B8;
  --rosa-forte: #E2879C;
  /* Tons mais escuros só para os BOTÕES, deixando claro o que é ativo */
  --rosa-botao: #D9738D;
  --rosa-botao-hover: #C55F79;
  --marrom: #8A6552;
  --texto: #5C4A3F;
  --branco: #FFFFFF;
  --sombra: 0 8px 24px rgba(138, 101, 82, 0.12);
  --raio: 18px;
  --fonte-titulo: 'Parisienne', cursive;
  --fonte-corpo: 'Quicksand', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* O atributo hidden sempre vence, mesmo quando a classe define display */
[hidden] {
  display: none !important;
}

/* Nada pode esticar a página na horizontal (especialmente no celular) */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

input,
select,
textarea,
button {
  max-width: 100%;
  min-width: 0;
}

.admin-colunas > * {
  min-width: 0;
}

.editor-area {
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  background-color: var(--baunilha);
  color: var(--texto);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- Padrão xadrezinho rosa (como o logo) ----------
   Duas camadas de listras (vertical + horizontal) se sobrepõem e
   criam os 3 tons clássicos do vichy: branco, rosa claro e rosa. */
.xadrez {
  background-image:
    repeating-linear-gradient(0deg, rgba(245, 168, 184, 0.35) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, rgba(245, 168, 184, 0.35) 0 22px, transparent 22px 44px);
  background-color: var(--branco);
}


/* ---------- Cabeçalho / navegação ---------- */
.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(253, 249, 240, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bege-escuro);
}

/* Compensa a altura do cabeçalho fixo */
body {
  padding-top: 58px;
}

/* Âncoras (ex.: #sobre) param abaixo do cabeçalho fixo */
section[id] {
  scroll-margin-top: 70px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-family: var(--fonte-titulo);
  font-size: 1.6rem;
  color: var(--marrom);
  line-height: 1.15;
}

.logo span {
  color: var(--rosa-forte);
}

.menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.menu a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.menu a:hover,
.menu a.ativo {
  color: var(--rosa-forte);
  border-bottom-color: var(--rosa);
}

.botao-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--marrom);
  padding: 0.2rem 0.5rem;
}

/* ---------- Botões ---------- */
.botao {
  display: inline-block;
  background-color: var(--rosa-botao);
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: background-color 0.2s, transform 0.2s;
}

.botao:hover {
  background-color: var(--rosa-botao-hover);
  transform: translateY(-2px);
}

/* Enquanto salva/envia (botão desativado): mais claro, com cara de inativo */
.botao:disabled {
  background-color: var(--rosa-claro);
  color: var(--rosa-forte);
  box-shadow: none;
  cursor: default;
  opacity: 0.85;
}

.botao:disabled:hover {
  background-color: var(--rosa-claro);
  transform: none;
}

.botao-claro {
  background-color: var(--branco);
  color: var(--rosa-forte);
  border: 2px solid var(--rosa);
}

.botao-claro:hover {
  background-color: var(--rosa-claro);
}

/* ---------- Hero ---------- */
.hero {
  /* Xadrezinho rosa em destaque, como no logo */
  background:
    linear-gradient(135deg, rgba(253, 249, 240, 0.55) 0%, rgba(251, 221, 228, 0.35) 100%),
    repeating-linear-gradient(0deg, rgba(245, 168, 184, 0.4) 0 26px, transparent 26px 52px),
    repeating-linear-gradient(90deg, rgba(245, 168, 184, 0.4) 0 26px, transparent 26px 52px),
    var(--branco);
  overflow: hidden;
}

/* Cartãozinho atrás do texto do hero, com borda de "crochê":
   um SVG repetido desenha a carreira de conchinhas em volta,
   e o ::after faz a linha pontilhada interna, como costura. */
.hero-texto {
  position: relative;
  /* Borda de "cordão de lã": listras diagonais rosa dentro da moldura,
     como um fio trançado contornando o cartão — nada vaza para fora */
  border: 12px solid transparent;
  background:
    linear-gradient(rgba(253, 249, 240, 0.94), rgba(253, 249, 240, 0.94)) padding-box,
    repeating-linear-gradient(45deg, var(--rosa) 0 7px, var(--rosa-claro) 7px 14px) border-box;
  border-radius: 18px;
  padding: 2.4rem 2.6rem;
}

/* Corações e estrelinhas de crochê (contorno tracejado = pontinhos) */
.croche-deco {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 2px 3px rgba(138, 101, 82, 0.25));
  transform: rotate(var(--rot, 0deg));
  animation: flutuar-deco 3.5s ease-in-out infinite alternate;
}

.croche-coracao {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.6C12 20.6 4.8 16.1 2.8 11.7 1.2 8.2 3.4 4.9 6.6 4.9 8.7 4.9 10.4 6.1 12 8 13.6 6.1 15.3 4.9 17.4 4.9 20.6 4.9 22.8 8.2 21.2 11.7 19.2 16.1 12 20.6 12 20.6Z' fill='%23F5A8B8' stroke='%23D96E8B' stroke-width='1.3' stroke-dasharray='2.4 1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.croche-estrela {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8 14.6 8.3 20.7 9 16.2 13.1 17.4 19.1 12 16.1 6.6 19.1 7.8 13.1 3.3 9 9.4 8.3Z' fill='%23F7E7C8' stroke='%23D3B285' stroke-width='1.3' stroke-dasharray='2.4 1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.deco-1 { width: 64px; height: 64px; top: -34px; left: -30px; --rot: -14deg; }
.deco-2 { width: 54px; height: 54px; top: -28px; right: -22px; --rot: 14deg; animation-delay: -1.2s; }
.deco-3 { width: 48px; height: 48px; bottom: -26px; right: -18px; --rot: 10deg; animation-delay: -2s; }
.deco-4 { width: 44px; height: 44px; bottom: -24px; left: -16px; --rot: -10deg; animation-delay: -0.6s; }

@keyframes flutuar-deco {
  from { transform: rotate(var(--rot, 0deg)) translateY(0); }
  to { transform: rotate(var(--rot, 0deg)) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .croche-deco { animation: none; }
}

.hero-conteudo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0;
}

.hero-selo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--branco);
  color: var(--rosa-forte);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--marrom);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  max-width: 32rem;
}

.hero-foto {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-foto .moldura {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% var(--raio) var(--raio) / 40% 40% var(--raio) var(--raio);
  background: linear-gradient(160deg, #FBDDE4 0%, #F9E9D8 45%, #F3EADB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--sombra);
  border: 6px solid var(--branco);
}

.hero-foto .moldura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- Faixa de qualidades ---------- */
.qualidades {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--bege-escuro);
}

.qualidades-lista {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.qualidade .icone {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.3rem;
}

.qualidade strong {
  display: block;
  color: var(--marrom);
  font-size: 0.95rem;
}

.qualidade small {
  font-size: 0.82rem;
  color: #9b8677;
}

/* ---------- Seções ---------- */
.secao {
  padding: 4rem 0;
}

.secao-alt {
  /* Versão bege do xadrezinho, bem sutil */
  background:
    linear-gradient(rgba(243, 234, 219, 0.82), rgba(243, 234, 219, 0.82)),
    repeating-linear-gradient(0deg, rgba(229, 214, 192, 0.55) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, rgba(229, 214, 192, 0.55) 0 22px, transparent 22px 44px),
    var(--branco);
}

.secao-titulo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.secao-titulo h2 {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  color: var(--marrom);
  line-height: 1.25;
}

.secao-titulo .divisor {
  display: inline-block;
  color: var(--rosa);
  font-size: 1rem;
  letter-spacing: 0.4em;
  margin-top: 0.3rem;
}

.secao-titulo p {
  max-width: 34rem;
  margin: 0.5rem auto 0;
  font-size: 0.98rem;
}

/* ---------- Cartões da galeria ---------- */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.filtro {
  background-color: var(--branco);
  border: 2px solid var(--bege-escuro);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.filtro:hover {
  border-color: var(--rosa);
  color: var(--rosa-forte);
}

.filtro.ativo {
  background-color: var(--rosa-botao);
  border-color: var(--rosa-botao);
  color: var(--branco);
}

.galeria-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
}

.cartao {
  background-color: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.cartao:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(138, 101, 82, 0.18);
}

.cartao.escondido {
  display: none;
}

.cartao-foto {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.cartao-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fundos dos placeholders (trocar por <img> quando tiver fotos) */
.foto-1 { background: linear-gradient(150deg, #FBDDE4, #F9EBD9); }
.foto-2 { background: linear-gradient(150deg, #F9EBD9, #F3EADB); }
.foto-3 { background: linear-gradient(150deg, #FDEFE4, #FBDDE4); }
.foto-4 { background: linear-gradient(150deg, #F3EADB, #FBE3DC); }

.cartao-info {
  padding: 1rem 1.2rem 1.3rem;
}

.cartao-info .categoria {
  display: inline-block;
  background-color: var(--rosa-claro);
  color: var(--rosa-forte);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.cartao-info h3 {
  font-size: 1.05rem;
  color: var(--marrom);
  margin-bottom: 0.25rem;
}

.cartao-info p {
  font-size: 0.88rem;
  color: #9b8677;
}

.galeria-vazia {
  text-align: center;
  padding: 2rem 0;
  color: #9b8677;
  display: none;
}

/* ---------- Botão de curtir ---------- */
.cartao.clicavel {
  cursor: pointer;
}

.cartao-acoes {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.botao-curtir {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 0.9rem;
  color: #b5a394;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.botao-curtir:hover {
  background-color: var(--rosa-claro);
  color: var(--rosa-forte);
}

.botao-curtir .coracao {
  font-size: 1.2rem;
  line-height: 1;
}

.botao-curtir.curtido {
  color: var(--rosa-forte);
}

.botao-curtir.curtido .coracao {
  animation: pulinho-coracao 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pulinho-coracao {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Portinha secreta do Cantinho: o 💗 do rodapé responde com um pulinho */
.coracao-secreto {
  display: inline-block;
  user-select: none;
}

.coracao-secreto.pulinho {
  animation: pulinho-coracao 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Lightbox da galeria ---------- */
body.sem-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(92, 74, 63, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.aberto {
  opacity: 1;
  visibility: visible;
}

.lightbox-conteudo {
  position: relative;
  background-color: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(60, 40, 30, 0.35);
  transform: scale(0.72) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.aberto .lightbox-conteudo {
  transform: scale(1) translateY(0);
}

.lightbox-fechar {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--marrom);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: transform 0.2s;
}

.lightbox-fechar:hover {
  transform: rotate(90deg);
}

.lightbox-foto {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
}

.lightbox-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 1.2rem 1.5rem 1.5rem;
}

.lightbox-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.lightbox-cabecalho .botao-curtir {
  font-size: 1rem;
}

.lightbox-cabecalho .botao-curtir .coracao {
  font-size: 1.45rem;
}

.lightbox-info h3 {
  font-family: var(--fonte-titulo);
  font-size: 1.7rem;
  color: var(--marrom);
  line-height: 1.3;
  margin: 0.4rem 0 0.3rem;
}

.lightbox-info p {
  font-size: 0.95rem;
  color: #9b8677;
}

/* ---------- Blog ---------- */
.blog-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.post {
  background-color: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post.clicavel {
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.post.clicavel:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(138, 101, 82, 0.18);
}

.post-capa {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.post-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-corpo {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-data {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rosa-forte);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.post h3 {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  color: var(--marrom);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.post p {
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.post .leia-mais {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rosa-forte);
}

.post .leia-mais:hover {
  text-decoration: underline;
}

/* ---------- Página de visualização do post ---------- */
.post-completo {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.post-completo .post-capa {
  height: 340px;
  font-size: 4.5rem;
}

.post-completo-corpo {
  padding: 2rem 2.2rem 2.4rem;
}

.post-completo-corpo h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--marrom);
  line-height: 1.25;
  margin: 0.3rem 0 1.2rem;
}

.post-completo-corpo p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.post-conteudo-rico h3 {
  font-family: var(--fonte-corpo);
  color: var(--marrom);
  font-size: 1.15rem;
  margin: 1.2rem 0 0.5rem;
}

.post-conteudo-rico ul,
.post-conteudo-rico ol {
  margin: 0.4rem 0 1rem 1.5rem;
}

.post-conteudo-rico li {
  margin-bottom: 0.3rem;
}

.post-conteudo-rico img {
  max-width: 100%;
  border-radius: 14px;
  margin: 1rem auto;
  display: block;
  box-shadow: var(--sombra);
}

.post-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rosa-forte);
  margin-bottom: 1.4rem;
}

.post-voltar:hover {
  text-decoration: underline;
}

.post-nao-encontrado {
  text-align: center;
  padding: 3rem 1rem;
}

/* ---------- Sobre ---------- */
.sobre-conteudo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.sobre-foto {
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--rosa-claro), var(--bege));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 8px solid var(--branco);
  box-shadow: var(--sombra);
  width: min(320px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.sobre-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.sobre-texto h2 {
  font-family: var(--fonte-titulo);
  font-size: 2.2rem;
  color: var(--marrom);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.sobre-texto p {
  margin-bottom: 1rem;
}

/* ---------- Formulário de contato ---------- */
.formulario {
  max-width: 560px;
  margin: 0 auto;
  background-color: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 2.2rem;
}

.campo {
  margin-bottom: 1.2rem;
}

.campo label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--marrom);
  margin-bottom: 0.35rem;
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
  color: var(--texto);
  background-color: var(--baunilha);
  border: 2px solid var(--bege-escuro);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s;
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  outline: none;
  border-color: var(--rosa);
}

.campo textarea {
  resize: vertical;
  min-height: 130px;
}

.formulario .botao {
  width: 100%;
}

.contato-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.contato-extra {
  background-color: var(--branco);
  border-radius: var(--raio);
  padding: 1.2rem 1rem;
  box-shadow: var(--sombra);
}

.contato-extra .icone {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.3rem;
}

.contato-extra strong {
  color: var(--marrom);
  font-size: 0.9rem;
  display: block;
}

.contato-extra small {
  font-size: 0.8rem;
  color: #9b8677;
}

/* ---------- Chamada final ---------- */
.chamada {
  text-align: center;
  padding: 3.5rem 0;
}

.chamada-caixa {
  background:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    repeating-linear-gradient(0deg, rgba(245, 168, 184, 0.45) 0 20px, transparent 20px 40px),
    repeating-linear-gradient(90deg, rgba(245, 168, 184, 0.45) 0 20px, transparent 20px 40px),
    var(--branco);
  border: 2px solid var(--rosa-claro);
  border-radius: calc(var(--raio) * 1.5);
  padding: 3rem 2rem;
}

.chamada h2 {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  color: var(--marrom);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.chamada p {
  margin-bottom: 1.5rem;
}

/* ---------- Rodapé ---------- */
.rodape {
  /* Degradê rosa → pêssego → bege com rabisquinhos variados do tema:
     novelo, corações, florzinhas, estrelinhas douradas, correntinha e agulha */
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='%23E2879C' stroke-opacity='0.3' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='70' cy='70' r='22'/%3E%3Cpath d='M50 62 Q70 72 90 64 M50 74 Q70 84 90 76 M56 88 Q72 94 86 86 M90 78 Q112 86 104 102'/%3E%3C/g%3E%3Cpath d='M210 72c-8-11-22-5-19 6 2 8 19 16 19 16s17-8 19-16c3-11-11-17-19-6z' fill='%23F5A8B8' fill-opacity='0.3'/%3E%3Cpath d='M330 78l4.5 10 11 1.5-8 7.5 2.5 11-10-6-10 6 2.5-11-8-7.5 11-1.5z' fill='%23E8C578' fill-opacity='0.4'/%3E%3Cg fill='none' stroke='%238A6552' stroke-opacity='0.18' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='120' cy='205' r='6'/%3E%3Ccircle cx='120' cy='190' r='7'/%3E%3Ccircle cx='134' cy='199' r='7'/%3E%3Ccircle cx='129' cy='215' r='7'/%3E%3Ccircle cx='111' cy='215' r='7'/%3E%3Ccircle cx='106' cy='199' r='7'/%3E%3Cpath d='M50 250 L98 202 M98 202 q8 -8 2.5 -12.5 q-5.5 -4.5 -11.5 2.5'/%3E%3C/g%3E%3Cg fill='%23F5A8B8' fill-opacity='0.22'%3E%3Ccircle cx='300' cy='212' r='7'/%3E%3Ccircle cx='314' cy='221' r='7'/%3E%3Ccircle cx='309' cy='237' r='7'/%3E%3Ccircle cx='291' cy='237' r='7'/%3E%3Ccircle cx='286' cy='221' r='7'/%3E%3C/g%3E%3Ccircle cx='300' cy='226' r='5' fill='%23E8C578' fill-opacity='0.45'/%3E%3Cg fill='none' stroke='%23E2879C' stroke-opacity='0.35' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M238 150 a8 8 0 0 1 16 0 M252 150 a8 8 0 0 1 16 0 M266 150 a8 8 0 0 1 16 0'/%3E%3Cpath d='M375 185c-5-7-14-3-12 4 1.5 5 12 10 12 10s10.5-5 12-10c2-7-7-11-12-4z' stroke-dasharray='3 2.4'/%3E%3C/g%3E%3Cg fill='%23E2879C' fill-opacity='0.25'%3E%3Ccircle cx='160' cy='120' r='3'/%3E%3Ccircle cx='390' cy='60' r='3'/%3E%3Ccircle cx='30' cy='160' r='3'/%3E%3Ccircle cx='230' cy='260' r='3'/%3E%3Ccircle cx='370' cy='270' r='3'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #FBDDE4 0%, #F8E7DA 45%, #F3EADB 100%);
  background-size: 420px 300px, 100% 100%;
  padding: 4rem 0 2rem;
  text-align: center;
}

/* Bico de crochê na entrada do rodapé: conchinhas com fiapinho rosa */
.rodape::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  height: 14px;
  background-image: radial-gradient(circle at 50% 100%, #FBDDE4 0 10.5px, #E2879C 11px 13px, transparent 13.5px);
  background-size: 28px 14px;
  background-repeat: repeat-x;
}

.rodape .logo::after {
  content: '✿ ✿ ✿';
  display: block;
  font-family: var(--fonte-corpo);
  font-size: 0.8rem;
  color: var(--rosa-forte);
  letter-spacing: 0.45em;
  margin-top: 0.55rem;
}

.rodape .logo {
  font-size: 1.45rem;
}

.rodape-menu {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  list-style: none;
  margin: 1.3rem 0;
  flex-wrap: wrap;
}

.rodape-menu a {
  font-size: 0.88rem;
  font-weight: 600;
}

.rodape-menu a:hover {
  color: var(--rosa-forte);
}

.rodape small {
  color: #9b8677;
  font-size: 0.8rem;
}

/* ---------- Mensagem de sucesso do formulário ---------- */
.aviso-sucesso {
  display: none;
  background-color: #EAF7EC;
  border: 2px solid #A8D5B0;
  color: #3E7049;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

/* ---------- Página de administração (Cantinho da Isa) ---------- */
.admin-abas {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.admin-colunas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.admin-colunas .formulario {
  margin: 0;
  max-width: none;
}

.admin-form-titulo {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  color: var(--marrom);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.admin-dica {
  display: block;
  margin-top: 0.3rem;
  color: #9b8677;
  font-size: 0.8rem;
}

/* Caixinha de marcar (queridinho da peça, rascunho do post) */
.campo-caixinha label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  margin-bottom: 0;
}

.campo-caixinha input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--rosa-botao);
}

.admin-erro {
  background-color: #FDEBEE;
  border: 2px solid var(--rosa);
  color: #B4425C;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.admin-ok {
  background-color: #EFF6EC;
  border: 2px solid #A8CBA0;
  color: #4F7A48;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Aba "Conteúdo do site": textos agrupados por página e seção */
#campos-conteudo {
  margin-top: 1.6rem;
}

.conteudo-pagina + .conteudo-pagina {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px dashed var(--bege-escuro);
}

/* Editor de foto embutido numa seção de conteúdo */
.conteudo-imagem {
  margin-top: 0.9rem;
}

.conteudo-imagem .identidade-preview {
  margin: 0.6rem 0 1rem;
}

/* Respiro entre "Salvar foto" e "Voltar à foto original" */
.conteudo-imagem .botao + .botao {
  margin-top: 0.7rem;
}

.conteudo-secao {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b8677;
  margin: 1.1rem 0 0.5rem;
}

/* Aba "Imagens de identidade": pré-visualização da foto atual */
.identidade-preview {
  width: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: 16px;
  border: 3px solid var(--rosa-claro);
  background: linear-gradient(160deg, var(--rosa-claro), var(--bege));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  margin: 0 auto 1.2rem;
}

.identidade-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.admin-lista li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background-color: var(--branco);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  box-shadow: var(--sombra);
}

.admin-miniatura {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--rosa-claro), var(--bege));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.admin-miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-texto {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.admin-item-texto strong {
  color: var(--marrom);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-item-texto small {
  color: #9b8677;
  font-size: 0.78rem;
}

.admin-abrir,
.admin-excluir {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 0.3rem;
  border-radius: 8px;
  transition: background-color 0.2s;
  text-decoration: none;
}

.admin-abrir:hover {
  background-color: var(--rosa-claro);
}

.admin-excluir:hover {
  background-color: #FDEBEE;
}

.admin-vazio {
  justify-content: center;
  color: #9b8677;
  font-size: 0.9rem;
}

.admin-lista li.admin-editando {
  outline: 3px solid var(--rosa);
  outline-offset: -1px;
}

.admin-cancelar {
  width: 100%;
  margin-top: 0.7rem;
}

.admin-filtro-lista {
  margin-bottom: 1rem;
}

.admin-filtro-lista label {
  font-size: 0.82rem;
}

/* ---------- Filtro de meses do blog público ---------- */
.filtro-meses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.botao-sair {
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
}

/* ---------- Editor rich text ---------- */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--baunilha);
  border: 2px solid var(--bege-escuro);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 0.45rem 0.6rem;
}

.editor-toolbar button {
  background-color: var(--branco);
  border: 1px solid var(--bege-escuro);
  border-radius: 8px;
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: all 0.15s;
}

.editor-toolbar button:hover {
  border-color: var(--rosa);
  color: var(--rosa-forte);
}

.editor-separador {
  width: 1px;
  height: 1.3rem;
  background-color: var(--bege-escuro);
  margin: 0 0.25rem;
}

.editor-area {
  min-height: 220px;
  background-color: var(--baunilha);
  border: 2px solid var(--bege-escuro);
  border-radius: 0 0 12px 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  overflow-y: auto;
}

.editor-area:focus {
  outline: none;
  border-color: var(--rosa);
}

.editor-area:empty::before {
  content: attr(data-placeholder);
  color: #b5a394;
}

.editor-area p {
  margin-bottom: 0.6rem;
}

.editor-area h3 {
  color: var(--marrom);
  margin: 0.6rem 0 0.4rem;
}

.editor-area ul,
.editor-area ol {
  margin: 0.4rem 0 0.6rem 1.4rem;
}

.editor-area img {
  max-width: 100%;
  border-radius: 12px;
  margin: 0.5rem 0;
  display: block;
}

/* ---------- Preview da foto de destaque ---------- */
.destaque-preview {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.destaque-preview img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--rosa-claro);
}

.destaque-preview .botao {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  box-shadow: none;
}

.campo input[type="file"] {
  padding: 0.5rem;
  font-size: 0.85rem;
  color: #9b8677;
}

/* Botão "Escolher arquivo" no estilo do site */
.campo input[type="file"]::file-selector-button {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rosa-forte);
  background-color: var(--rosa-claro);
  border: 1px solid var(--rosa);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  margin-right: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.campo input[type="file"]::file-selector-button:hover {
  background-color: var(--rosa);
  color: var(--branco);
}

.campo input[type="file"]::-webkit-file-upload-button {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rosa-forte);
  background-color: var(--rosa-claro);
  border: 1px solid var(--rosa);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  margin-right: 0.8rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .admin-colunas {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 820px) {
  .hero-conteudo {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 0;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-foto {
    order: -1;
  }

  .hero-foto .moldura {
    width: min(260px, 80%);
  }

  .qualidades-lista {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-conteudo {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contato-extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .botao-menu {
    display: block;
  }

  .logo {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--baunilha);
    border-bottom: 1px solid var(--bege-escuro);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu.aberto {
    max-height: 320px;
  }

  .menu li {
    width: 100%;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--bege);
  }

  .secao {
    padding: 2.8rem 0;
  }

  .formulario {
    padding: 1.6rem 1.3rem;
  }

  /* No admin não há botão hambúrguer: o menu fica sempre visível na linha */
  .nav-admin .menu {
    position: static;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    background: none;
    border: none;
    overflow: visible;
  }

  .nav-admin .menu li {
    width: auto;
  }

  .nav-admin .menu a {
    padding: 0.4rem 0.2rem;
    border-bottom: none;
  }

  .admin-abas {
    flex-wrap: wrap;
  }

  .admin-colunas {
    gap: 1.4rem;
  }

  .destaque-preview {
    flex-wrap: wrap;
  }

  .editor-toolbar button {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero-texto {
    padding: 1.6rem 1.2rem;
    border-width: 9px;
  }

  .deco-1 { width: 46px; height: 46px; top: -24px; left: -12px; }
  .deco-2 { width: 40px; height: 40px; top: -20px; right: -10px; }
  .deco-3 { width: 36px; height: 36px; bottom: -18px; right: -8px; }
  .deco-4 { width: 32px; height: 32px; bottom: -16px; left: -8px; }
}
