/* =========================================================
   comunicadoranimal.com.br - design system
   Identidade: verde #265645 + dourado #FFC33E + display Brume
   HTML/CSS puro, sem framework, sem dependencia de JS.
   ========================================================= */

/* ---------- Fontes da marca (ja hospedadas no proprio site) ---------- */
@font-face {
  font-family: "Brume";
  src: url("/wp-content/uploads/2024/11/Brume-Regular.woff") format("woff"),
       url("/wp-content/uploads/2024/11/Brume-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --verde: #265645;
  --verde-escuro: #141f1c;
  --verde-claro: #3c7a63;
  --dourado: #ffc33e;
  --dourado-suave: #ffeec6;
  --terracota: #bd4825;

  --creme: #fbf9f5;
  --creme-2: #f4f0e8;
  --branco: #ffffff;
  --texto: #22302b;
  --texto-suave: #5c6b65;
  --borda: #e6e0d5;

  --fonte-display: "Brume", Georgia, "Times New Roman", serif;
  --fonte-corpo: "Plus Jakarta Sans", "Raleway", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --raio: 16px;
  --raio-grande: 28px;
  --sombra: 0 2px 4px rgba(20, 31, 28, .04), 0 12px 32px rgba(20, 31, 28, .07);
  --sombra-forte: 0 4px 8px rgba(20, 31, 28, .06), 0 20px 48px rgba(20, 31, 28, .12);

  --largura: 1120px;
  --largura-texto: 720px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--verde); text-decoration-color: rgba(38, 86, 69, .3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--verde); }

h1, h2, h3, h4 {
  font-family: var(--fonte-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--verde);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.625rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
h4 { font-family: var(--fonte-corpo); font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; }

p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: 24px; }
.wrap-texto { width: 100%; max-width: var(--largura-texto); margin-inline: auto; padding-inline: 24px; }

section { padding-block: clamp(56px, 9vw, 104px); }
.sec-creme { background: var(--creme-2); }
.sec-verde { background: var(--verde); color: #eef3f0; }
.sec-verde h2, .sec-verde h3 { color: var(--branco); }
.sec-verde a { color: var(--dourado); text-decoration-color: rgba(255, 195, 62, .4); }

.centro { text-align: center; }
.centro > p { margin-inline: auto; max-width: 620px; }

/* Cabecalho de secao */
.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: .75rem;
}
.sec-verde .eyebrow { color: var(--dourado); }

/* ---------- Header / Nav ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(38, 86, 69, .97);
  backdrop-filter: blur(8px);
}
.topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-block: 12px;
}
.topo-logo img { height: 34px; width: auto; }
.topo nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topo nav li { margin: 0; }
.topo nav a {
  color: #dfeae4;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}
.topo nav a:hover, .topo nav a[aria-current="page"] { color: var(--dourado); }

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primario { background: var(--dourado); color: var(--verde-escuro); box-shadow: 0 6px 20px rgba(255, 195, 62, .35); }
.btn-primario:hover { background: #ffcf5f; }
.btn-verde { background: var(--verde); color: #fff; box-shadow: 0 6px 20px rgba(38, 86, 69, .25); }
.btn-verde:hover { background: #2e6853; }
.btn-vazado { border-color: currentColor; color: var(--verde); background: transparent; }
.sec-verde .btn-vazado { color: #eef3f0; }
.sec-verde .btn-primario { color: var(--verde-escuro); }
.btn-bloco { display: flex; width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.centro .btns { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--verde) 0%, #1c4235 55%, var(--verde-escuro) 100%);
  color: #eef3f0;
  padding-block: clamp(64px, 11vw, 128px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(255, 195, 62, .16) 0%, transparent 68%);
  pointer-events: none;
}
.hero h1 { color: var(--branco); margin-bottom: .3em; }
.hero-sub {
  font-family: var(--fonte-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--dourado);
  margin-bottom: 1.4em;
}
.hero p { color: #d8e4de; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-foto img {
  border-radius: var(--raio-grande);
  box-shadow: var(--sombra-forte);
  width: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-foto { order: -1; max-width: 380px; margin-inline: auto; }
}

/* Selo de prova social */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 195, 62, .35);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: .95rem;
  font-weight: 600;
  color: #eef3f0;
  margin-top: 28px;
}
.selo strong { color: var(--dourado); }
.selo .bandeiras { letter-spacing: .12em; font-size: 1.05rem; }

/* ---------- Banner do Blog ---------- */
.blog-hero {
  background: linear-gradient(160deg, var(--verde) 0%, #1c4235 55%, var(--verde-escuro) 100%);
  color: #eef3f0;
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(255, 195, 62, .18) 0%, transparent 68%);
  pointer-events: none;
}
.blog-hero .breadcrumb { position: relative; z-index: 1; }
.blog-hero .breadcrumb a { color: #d8e4de; }
.blog-hero .breadcrumb li + li::before { color: rgba(216, 228, 222, .5); }
.blog-hero .breadcrumb li:last-child { color: var(--dourado); }
.blog-hero-eyebrow {
  position: relative; z-index: 1;
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--dourado);
  margin-top: 18px;
}
.blog-hero h1 { position: relative; z-index: 1; color: var(--branco); margin: .15em 0 .35em; }
.blog-hero p.blog-hero-desc { position: relative; z-index: 1; color: #d8e4de; max-width: 640px; margin-bottom: 0; }
.blog-hero .selo { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.grade { display: grid; gap: clamp(20px, 3vw, 32px); }
.grade-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grade-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--texto-suave); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icone {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--dourado-suave);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* Passos numerados */
.passo { position: relative; }
.passo-num {
  font-family: var(--fonte-display);
  font-size: 2.6rem;
  color: var(--dourado);
  line-height: 1;
  margin-bottom: .3em;
  display: block;
}
.passo img { border-radius: var(--raio); margin-bottom: 20px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* ---------- Depoimentos ---------- */
.depo {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-left: 4px solid var(--dourado);
  border-radius: var(--raio);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.depo blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--texto); }
.depo blockquote p:last-child { margin-bottom: 0; }
.depo-pessoa { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.depo-pessoa img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.depo-nome { font-weight: 800; font-size: .98rem; line-height: 1.3; }
.depo-user { font-size: .87rem; color: var(--texto-suave); }
.depo-user a { color: var(--texto-suave); }

/* ---------- Citacao destaque ---------- */
.citacao {
  font-family: var(--fonte-display);
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--branco);
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.citacao-autor {
  display: block;
  margin-top: 24px;
  font-family: var(--fonte-corpo);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dourado);
}

/* ---------- Video ---------- */
.video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra-forte);
  background: #000;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Lista de beneficios ---------- */
.beneficios { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.beneficios li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 18px 22px;
  margin: 0;
}
.beneficios li::before {
  content: "✓";
  color: var(--verde);
  background: var(--dourado);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FAQ (native details, zero JS) ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--verde);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dourado);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { padding-bottom: 8px; }
.faq-resposta { padding: 0 24px 22px; color: var(--texto-suave); }
.faq-resposta p:last-child { margin-bottom: 0; }

/* ---------- Artigo ---------- */
.artigo-topo { background: var(--creme-2); padding-block: clamp(32px, 5vw, 56px) clamp(24px, 3vw, 32px); }
.breadcrumb { font-size: .87rem; color: var(--texto-suave); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--borda); }

.artigo-meta { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--texto-suave); margin-top: 20px; }
.artigo-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.artigo-capa { margin-block: clamp(24px, 4vw, 40px); }
.artigo-capa img { border-radius: var(--raio-grande); box-shadow: var(--sombra); width: 100%; }

.artigo { font-size: 1.06rem; }
.artigo h2 { margin-top: 2em; scroll-margin-top: 90px; }
.artigo h3 { margin-top: 1.6em; font-size: clamp(1.2rem, 2.2vw, 1.45rem); scroll-margin-top: 90px; }
.artigo img { border-radius: var(--raio); margin-block: 2em; box-shadow: var(--sombra); }
.artigo a { font-weight: 600; }

/* Answer-block (resposta direta no topo) */
.resumo {
  background: var(--verde);
  color: #eef3f0;
  border-radius: var(--raio-grande);
  padding: clamp(24px, 3.5vw, 36px);
  margin-block: 2em;
}
.resumo .eyebrow { color: var(--dourado); }
.resumo p { font-size: 1.08rem; margin-bottom: 0; color: #e8f0ec; }

/* Sumario */
.sumario {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 24px 28px;
  margin-block: 2em;
}
.sumario p { font-weight: 800; margin-bottom: .7em; color: var(--verde); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.sumario ol { margin: 0; padding-left: 1.2em; }
.sumario li { margin-bottom: .4em; }

/* Cartoes de dado com fonte */
.dados { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-block: 2em; }
.dado {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-top: 3px solid var(--dourado);
  border-radius: var(--raio);
  padding: 22px;
}
.dado-num { font-family: var(--fonte-display); font-size: 1.9rem; color: var(--verde); line-height: 1.1; margin-bottom: .3em; }
.dado p { font-size: .95rem; color: var(--texto-suave); margin-bottom: .6em; }
.dado .fonte { font-size: .8rem; }
.dado .fonte a { color: var(--texto-suave); }

/* Caixa de CTA dentro do artigo */
.cta-artigo {
  background: linear-gradient(150deg, var(--verde) 0%, var(--verde-escuro) 100%);
  color: #eef3f0;
  border-radius: var(--raio-grande);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  margin-block: 2.5em;
}
.cta-artigo h3 { color: var(--branco); }
.cta-artigo p { color: #d8e4de; max-width: 520px; margin-inline: auto; }
.cta-artigo .btn-vazado { color: #ffffff; border-color: #ffffff; }

/* Caixa do autor (E-E-A-T) */
.autor-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  padding: clamp(24px, 3vw, 32px);
  margin-block: 2.5em;
  box-shadow: var(--sombra);
}
.autor-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.autor-box h3 { font-size: 1.3rem; margin-bottom: .15em; }
.autor-cargo { font-size: .9rem; color: var(--verde-claro); font-weight: 700; margin-bottom: .8em; letter-spacing: .04em; text-transform: uppercase; }
.autor-box p { color: var(--texto-suave); font-size: .98rem; }
.autor-box p:last-child { margin-bottom: 0; }
@media (max-width: 620px) {
  .autor-box { flex-direction: column; }
  .autor-box img { width: 76px; height: 76px; }
}

/* ---------- Card de post (listagem) ---------- */
.post-card {
  display: block;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio-grande);
  overflow: hidden;
  box-shadow: var(--sombra);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); }
.post-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.post-card > div { padding: clamp(18px, 2.2vw, 26px); }
.post-card h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: .35em 0 .4em; }
.post-card p { color: var(--texto-suave); margin-bottom: .8em; }
.post-data { font-size: .85rem; color: var(--texto-suave); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.post-link { font-weight: 800; color: var(--verde); }

/* ---------- Rodape ---------- */
.rodape { background: var(--verde-escuro); color: #b9c8c1; padding-block: 56px 32px; }
.rodape a { color: #dfeae4; text-decoration: none; }
.rodape a:hover { color: var(--dourado); }
.rodape-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.rodape-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.rodape h4 { color: var(--branco); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: .6em; }
.rodape-fim {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
}
@media (max-width: 760px) {
  .rodape-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
