/*
Theme Name: Astra Manchete
Template: astra
Description: Tema filho do Astra com a linguagem visual "Manchete" (giorgiopasquale.com): uma cor por bloco, fundo no tom claro da cor, titulo grande com palavra colorida, sparkles, capas em palco. Home + posts. Versao 1.0 (2026-09-22).
Author: Giorgio Pasquale
Version: 1.0.5
*/

/* =====================================================================
   TOKENS (uma cor dominante por bloco; nunca azul e vermelho juntos)
   ===================================================================== */
:root {
  --gpm-ink: #1E1E1E; --gpm-ink-2: #3C4043; --gpm-muted: #5F6368; --gpm-line: rgba(30,30,30,.10); --gpm-paper: #FFFFFF;
  --gpm-blue: #4285F4; --gpm-tblue: #E8F0FE;
  --gpm-meta: #0866FF; --gpm-tmeta: #E7F0FD;
  --gpm-amber: #F29900; --gpm-tamber: #FEF7E0;
  --gpm-green: #34A853; --gpm-tgreen: #E6F4EA;
  --gpm-violet: #7A3EF0; --gpm-tviolet: #EFE6FF;
  --gpm-radius: 18px;
  --gpm-font: "Poppins", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =====================================================================
   COMPONENTES COMPARTILHADOS (home e posts)
   ===================================================================== */
.gpm-selo { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 6px 12px; color: var(--gpm-ink); box-shadow: 0 1px 0 rgba(30,30,30,.08); font-family: var(--gpm-font); }
.gpm-selo b { width: 8px; height: 8px; border-radius: 50%; background: var(--gpm-c, var(--gpm-blue)); }
.gpm-spark { position: absolute; width: var(--s, 16px); height: var(--s, 16px); background: var(--gpm-c, var(--gpm-blue)); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: gpm-twinkle 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes gpm-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72) rotate(12deg); opacity: .72; } }
.gpm-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--gpm-ink) !important; border: 1.5px solid var(--gpm-ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none !important; transition: transform .15s ease; font-family: var(--gpm-font); }
.gpm-pill:hover { transform: translateY(-1px); }
.gpm-pill.solid { background: var(--gpm-ink); color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .gpm-spark, .gpm-panel * { animation: none !important; } }

/* =====================================================================
   HOME (page id 2) - o HTML esta no conteudo da pagina
   ===================================================================== */
body.home, body.page-id-2 { background: var(--gpm-paper) !important; }
body.home .entry-content, body.page-id-2 .entry-content, body.home .ast-no-sidebar, body.page-id-2 .ast-no-sidebar { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
body.home #content, body.page-id-2 #content { padding: 0 !important; }
body.home .entry-content a, body.page-id-2 .entry-content a { text-decoration: none !important; }

.gpm { font-family: var(--gpm-font); color: var(--gpm-ink); line-height: 1.55; max-width: 1320px; margin: 0 auto; padding: 0 20px 48px; }
.gpm * { box-sizing: border-box; }
.gpm h1, .gpm h2, .gpm h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; font-family: var(--gpm-font); color: var(--gpm-ink); }
.gpm p { margin: 0; }
.gpm a { color: inherit; text-decoration: none; }

/* hero */
.gpm-hero { position: relative; background: var(--gpm-tblue); border-radius: 28px; overflow: hidden; padding: 40px 40px 0; margin-top: 8px; }
.gpm-hero .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gpm-hero .data { font-size: 13px; font-weight: 500; color: var(--gpm-muted); }
.gpm-hero .grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.gpm-hero h1 { font-weight: 800; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; margin-top: 26px; max-width: 14ch; }
.gpm-hero h1 .k { color: var(--gpm-blue); }
.gpm-hero h1 .ic { display: inline-block; width: .82em; height: .82em; vertical-align: -0.06em; }
.gpm-hero .lede { margin-top: 22px; max-width: 54ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--gpm-ink-2); }
.gpm-hero .lede b { color: var(--gpm-ink); font-weight: 600; }
/* painel animado */
.gpm-panel { background: #fff; border-radius: 20px; box-shadow: 0 24px 50px rgba(30,30,30,.14); padding: 18px 18px 14px; transform: rotate(1.5deg); position: relative; }
.gpm-panel .ph { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gpm-muted); }
.gpm-panel .ph i { width: 8px; height: 8px; border-radius: 50%; background: var(--gpm-blue); display: inline-block; margin-right: 6px; animation: gpm-pulse 2s ease-in-out infinite; }
@keyframes gpm-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
.gpm-panel .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.gpm-panel .kpi { background: var(--gpm-tblue); border-radius: 12px; padding: 10px 12px; }
.gpm-panel .kpi span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gpm-muted); }
.gpm-panel .kpi b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--gpm-ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.gpm-panel .kpi em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gpm-blue); }
.gpm-panel svg { width: 100%; height: auto; display: block; margin-top: 12px; }
.gpm-panel .grid-l { stroke: #E8EAED; stroke-width: 1; }
.gpm-panel .line { fill: none; stroke: var(--gpm-blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: gpm-draw 9s ease-in-out infinite; }
.gpm-panel .area { fill: url(#gpmArea); opacity: 0; animation: gpm-fade 9s ease-in-out infinite; }
.gpm-panel .dot { fill: var(--gpm-blue); stroke: #fff; stroke-width: 3; opacity: 0; animation: gpm-dot 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.gpm-panel .bar { fill: var(--gpm-blue); opacity: .85; transform-origin: bottom; transform-box: fill-box; animation: gpm-grow 9s ease-in-out infinite; }
.gpm-panel .bar:nth-child(2) { animation-delay: .15s; } .gpm-panel .bar:nth-child(3) { animation-delay: .3s; } .gpm-panel .bar:nth-child(4) { animation-delay: .45s; } .gpm-panel .bar:nth-child(5) { animation-delay: .6s; } .gpm-panel .bar:nth-child(6) { animation-delay: .75s; } .gpm-panel .bar:nth-child(7) { animation-delay: .9s; }
@keyframes gpm-draw { 0% { stroke-dashoffset: 620; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 620; } }
@keyframes gpm-fade { 0%, 8% { opacity: 0; } 34%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gpm-dot { 0%, 28% { opacity: 0; transform: scale(.4); } 34%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes gpm-grow { 0% { transform: scaleY(.1); } 30%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
.gpm-panel .legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--gpm-muted); margin-top: 6px; font-weight: 500; }
/* palco de capas */
.gpm-palco { position: relative; height: 300px; margin-top: 30px; }
.gpm-palco .card { position: absolute; bottom: -34px; width: 34%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(30,30,30,.18); border: 4px solid #fff; transition: transform .25s ease; }
.gpm-palco .card img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.gpm-palco .c1 { left: 2%; transform: rotate(-4deg); z-index: 1; }
.gpm-palco .c2 { left: 33%; bottom: -14px; transform: rotate(1.5deg); z-index: 3; width: 36%; }
.gpm-palco .c3 { right: 2%; transform: rotate(4deg); z-index: 2; }
.gpm-palco .card:hover { transform: translateY(-14px) rotate(0); }
@media (max-width: 860px) { .gpm-hero .grid { grid-template-columns: 1fr; } .gpm-panel { transform: none; } }
@media (max-width: 760px) { .gpm-hero { padding: 24px 20px 0; border-radius: 22px; } .gpm-hero .gpm-spark:nth-of-type(2) { display: none; } .gpm-palco { height: 210px; } .gpm-palco .card { width: 44%; } .gpm-palco .c2 { left: 28%; width: 46%; } }

/* secoes */
.gpm-section { padding-top: 64px; }
.gpm-section .section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.gpm-section h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; }
.gpm-section h2 .k { color: var(--gpm-c, var(--gpm-blue)); }
.gpm-section .sub { color: var(--gpm-muted); font-size: 15px; max-width: 48ch; }

.gpm-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gpm-pillar { --gpm-c: var(--gpm-blue); --gpm-t: var(--gpm-tblue); position: relative; background: var(--gpm-t); border-radius: var(--gpm-radius); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; overflow: hidden; transition: transform .2s ease; }
.gpm-pillar:hover { transform: translateY(-4px); }
.gpm-pillar .gpm-selo { align-self: flex-start; }
.gpm-pillar h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.gpm-pillar p { color: var(--gpm-ink-2); font-size: 14.5px; flex: 1; }
.gpm-pillar .go { font-weight: 700; color: var(--gpm-c); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.gpm-pillar .mini { position: absolute; right: -14px; bottom: -18px; width: 120px; height: 74px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(30,30,30,.10); display: flex; align-items: end; gap: 6px; padding: 10px; transform: rotate(-6deg); }
.gpm-pillar .mini i { flex: 1; background: var(--gpm-c); border-radius: 4px 4px 0 0; opacity: .9; }
.gpm-pillar.amber { --gpm-c: var(--gpm-amber); --gpm-t: var(--gpm-tamber); }
.gpm-pillar.meta { --gpm-c: var(--gpm-meta); --gpm-t: var(--gpm-tmeta); }
.gpm-pillar.green { --gpm-c: var(--gpm-green); --gpm-t: var(--gpm-tgreen); }
.gpm-pillar.violet { --gpm-c: var(--gpm-violet); --gpm-t: var(--gpm-tviolet); }
@media (max-width: 980px) { .gpm-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gpm-pillars { grid-template-columns: 1fr; } }

.gpm-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 18px; }
.gpm-post { display: flex; flex-direction: column; gap: 10px; --gpm-c: var(--gpm-blue); }
.gpm-post .cover { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--gpm-tblue); border: 1px solid var(--gpm-line); }
.gpm-post .cover img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; transition: transform .3s ease; }
.gpm-post:hover .cover img { transform: scale(1.03); }
.gpm-post .tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gpm-c); }
.gpm-post h3 { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.gpm-post .meta { font-size: 13px; color: var(--gpm-muted); }
.gpm-post.meta-ads { --gpm-c: var(--gpm-meta); } .gpm-post.analise-tracking { --gpm-c: var(--gpm-violet); } .gpm-post.carreira-midia-paga { --gpm-c: var(--gpm-green); } .gpm-post.estrategia-crescimento, .gpm-post.marketing-digital { --gpm-c: var(--gpm-amber); }
@media (max-width: 980px) { .gpm-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gpm-posts { grid-template-columns: 1fr; } }

.gpm-bio { position: relative; background: var(--gpm-tamber); border-radius: 28px; padding: 44px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; overflow: hidden; }
.gpm-bio h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.gpm-bio h2 .k { color: var(--gpm-amber); }
.gpm-bio p { margin-top: 16px; color: var(--gpm-ink-2); max-width: 58ch; }
.gpm-bio .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gpm-bio .tags span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.gpm-bio .stack { position: relative; height: 240px; }
.gpm-bio .stack .w { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px rgba(30,30,30,.12); padding: 14px; }
.gpm-bio .stack .w i { display: block; height: 8px; border-radius: 4px; background: #E8EAED; margin-top: 8px; }
.gpm-bio .stack .w i.c { background: var(--gpm-amber); width: 55%; }
.gpm-bio .stack .w1 { left: 0; top: 10px; width: 62%; transform: rotate(-3deg); }
.gpm-bio .stack .w2 { right: 0; top: 60px; width: 58%; transform: rotate(2deg); }
.gpm-bio .stack .w3 { left: 18%; bottom: 0; width: 60%; transform: rotate(-1deg); background: var(--gpm-amber); }
.gpm-bio .stack .w3 i { background: rgba(255,255,255,.55); }
.gpm-bio .stack .w3 b { color: #fff; font-size: 22px; font-weight: 800; }
@media (max-width: 860px) { .gpm-bio { grid-template-columns: 1fr; padding: 30px 22px; } .gpm-bio .stack { height: 200px; } }

.gpm-temas { display: flex; flex-wrap: wrap; gap: 10px; }
.gpm-temas a { --gpm-c: var(--gpm-blue); --gpm-t: var(--gpm-tblue); background: var(--gpm-t); color: var(--gpm-ink); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.gpm-temas a b { width: 8px; height: 8px; border-radius: 50%; background: var(--gpm-c); }
.gpm-temas a.amber { --gpm-c: var(--gpm-amber); --gpm-t: var(--gpm-tamber); } .gpm-temas a.meta { --gpm-c: var(--gpm-meta); --gpm-t: var(--gpm-tmeta); } .gpm-temas a.green { --gpm-c: var(--gpm-green); --gpm-t: var(--gpm-tgreen); } .gpm-temas a.violet { --gpm-c: var(--gpm-violet); --gpm-t: var(--gpm-tviolet); }

/* =====================================================================
   POSTS - reestiliza o markup gerado pelas rotinas (.gp-post/.gp-hero...)
   Cor por categoria via classe do <article> (category-<slug>).
   Ordem importa: a ultima regra vence quando o post tem 2 categorias.
   ===================================================================== */
html body.single.single-post { background: var(--gpm-paper) !important; }
body.single-post .site-content, body.single-post #primary, body.single-post .ast-article-single, body.single-post .site-main { background: transparent !important; }
body.single-post article.post .gp-post { --accent: var(--gpm-blue); --accent-deep: var(--gpm-blue); --accent-soft: var(--gpm-tblue); --accent-tint: var(--gpm-tblue); --bg: #fff; --bg-soft: var(--gpm-tblue); --tint: var(--gpm-tblue); --ink: var(--gpm-ink); --ink-soft: var(--gpm-ink-2); --muted: var(--gpm-muted); }
body.single-post article.category-marketing-digital .gp-post, body.single-post article.category-estrategia-crescimento .gp-post { --accent: var(--gpm-amber); --accent-deep: var(--gpm-amber); --accent-soft: var(--gpm-tamber); --accent-tint: var(--gpm-tamber); --bg-soft: var(--gpm-tamber); --tint: var(--gpm-tamber); }
body.single-post article.category-carreira-midia-paga .gp-post { --accent: var(--gpm-green); --accent-deep: var(--gpm-green); --accent-soft: var(--gpm-tgreen); --accent-tint: var(--gpm-tgreen); --bg-soft: var(--gpm-tgreen); --tint: var(--gpm-tgreen); }
body.single-post article.category-analise-tracking .gp-post { --accent: var(--gpm-violet); --accent-deep: var(--gpm-violet); --accent-soft: var(--gpm-tviolet); --accent-tint: var(--gpm-tviolet); --bg-soft: var(--gpm-tviolet); --tint: var(--gpm-tviolet); }
body.single-post article.category-meta-ads .gp-post { --accent: var(--gpm-meta); --accent-deep: var(--gpm-meta); --accent-soft: var(--gpm-tmeta); --accent-tint: var(--gpm-tmeta); --bg-soft: var(--gpm-tmeta); --tint: var(--gpm-tmeta); }
body.single-post article.category-google-ads .gp-post { --accent: var(--gpm-blue); --accent-deep: var(--gpm-blue); --accent-soft: var(--gpm-tblue); --accent-tint: var(--gpm-tblue); --bg-soft: var(--gpm-tblue); --tint: var(--gpm-tblue); }

/* hero do post vira manchete */
body.single-post article.post .gp-post .gp-hero { position: relative; background: var(--tint) !important; border-radius: 28px; padding: 36px 40px 0 !important; margin: 24px -40px 40px !important; border-bottom: 0 !important; overflow: hidden; }
body.single-post article.post .gp-post .gp-hero::before, body.single-post article.post .gp-post .gp-hero::after { content: ""; position: absolute; background: var(--accent); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: gpm-twinkle 3.2s ease-in-out infinite; pointer-events: none; }
body.single-post article.post .gp-post .gp-hero::before { width: 18px; height: 18px; right: 12%; top: 34px; }
body.single-post article.post .gp-post .gp-hero::after { width: 11px; height: 11px; right: 8%; top: 84px; animation-delay: 1.1s; }
body.single-post article.post .gp-hero .eyebrow { gap: 10px !important; letter-spacing: .02em !important; text-transform: none !important; font-size: 13px !important; font-weight: 500 !important; color: var(--gpm-ink-2) !important; margin-bottom: 22px !important; flex-wrap: wrap; }
body.single-post article.post .gp-hero .eyebrow .dot { display: none !important; }
body.single-post article.post .gp-hero .eyebrow > span:nth-child(2)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
body.single-post article.post .gp-hero .eyebrow > span:nth-child(2) { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 6px 12px 6px 10px; color: var(--gpm-ink); box-shadow: 0 1px 0 rgba(30,30,30,.08); display: inline-flex; align-items: center; gap: 8px; }
body.single-post article.post .gp-hero .eyebrow .sep { display: none !important; }
body.single-post article.post .gp-hero .eyebrow > span:nth-child(n+4)::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 8px 2px 4px; }
body.single-post article.post .gp-hero h1 { font-weight: 800 !important; letter-spacing: -0.03em !important; font-size: clamp(1.9rem, 4.6vw, 3.4rem) !important; }
body.single-post article.post .gp-hero h1 .accent { color: var(--accent) !important; }
body.single-post article.post .gp-hero .dek { color: var(--gpm-ink-2) !important; }
body.single-post article.post .gp-hero .meta { font-size: 14px !important; color: var(--gpm-ink-2) !important; font-weight: 500 !important; margin-bottom: 8px; }
body.single-post article.post .gp-hero .meta .author { background: var(--gpm-ink) !important; }
/* capa em palco (injetada por functions.php dentro do hero) */
body.single-post article.post .gp-hero .gpm-capa { max-width: 640px; margin: 28px auto -4px; }
body.single-post article.post .gp-hero .gpm-capa .img { aspect-ratio: 16/9; border-radius: 18px 18px 0 0; overflow: hidden; border: 5px solid #fff; border-bottom: 0; box-shadow: 0 -12px 40px rgba(30,30,30,.14); background: #fff; }
body.single-post article.post .gp-hero .gpm-capa img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
body.single-post article.post .gp-hero:not(:has(.gpm-capa)) { padding-bottom: 36px !important; }
@media (max-width: 860px) { body.single-post article.post .gp-post .gp-hero { margin: 16px 0 32px !important; padding: 22px 20px 0 !important; border-radius: 22px; } }
/* elementos internos herdam a cor da categoria */
body.single-post article.post .gp-post .gp-tldr { background: var(--gpm-ink) !important; border: 0 !important; }
body.single-post article.post .gp-post .gp-tldr .label, body.single-post article.post .gp-post .gp-highlight .label, body.single-post article.post .gp-post .gp-quote .accent, body.single-post article.post .gp-post .gp-stat .text .accent { color: var(--accent) !important; }
body.single-post article.post .gp-post .gp-stat { background: var(--gpm-ink) !important; }
body.single-post article.post .gp-post .gp-stat .num { color: var(--accent) !important; }
body.single-post article.post .gp-post .gp-myth-fact .col.myth .label { color: var(--gpm-muted) !important; }
body.single-post article.post .gp-post .gp-myth-fact .col.fact .label { color: var(--gpm-green) !important; }
body.single-post article.post .gp-post .gp-faq summary::after { color: var(--accent) !important; }
body.single-post article.post .gp-post h2 { color: var(--gpm-ink) !important; }
body.single-post .entry-content a { text-decoration-color: color-mix(in srgb, var(--accent, var(--gpm-blue)) 45%, transparent) !important; }
body.single-post .entry-content a:hover { text-decoration-color: var(--accent, var(--gpm-blue)) !important; }
body.single-post .post-thumb-img-content, body.single-post .ast-single-post-header, body.single-post article > header.entry-header { display: none !important; }

/* =====================================================================
   ARQUIVOS DE CATEGORIA - layout Manchete. Vence o CSS v6 do Customizer
   por especificidade (html body.archive.category ...).
   ===================================================================== */
html body.archive.category { background: var(--gpm-paper) !important; --gpm-c: var(--gpm-blue); --gpm-t: var(--gpm-tblue); }
html body.archive.category-meta-ads { --gpm-c: var(--gpm-meta); --gpm-t: var(--gpm-tmeta); }
html body.archive.category-analise-tracking { --gpm-c: var(--gpm-violet); --gpm-t: var(--gpm-tviolet); }
html body.archive.category-carreira-midia-paga { --gpm-c: var(--gpm-green); --gpm-t: var(--gpm-tgreen); }
html body.archive.category-estrategia-crescimento, html body.archive.category-marketing-digital { --gpm-c: var(--gpm-amber); --gpm-t: var(--gpm-tamber); }
html body.archive.category .site-content > .ast-container, html body.archive.category #content > .ast-container { max-width: 1320px !important; padding-left: 20px !important; padding-right: 20px !important; margin: 0 auto !important; }
html body.archive.category .ast-archive-description { position: relative; left: auto !important; right: auto !important; width: auto !important; max-width: none !important; margin: 8px 0 36px !important; padding: 40px 40px 44px !important; background: var(--gpm-t) !important; color: var(--gpm-ink) !important; border-radius: 28px !important; overflow: hidden; font-family: var(--gpm-font); }
html body.archive.category .ast-archive-description::before, html body.archive.category .ast-archive-description::after { content: "" !important; position: absolute; width: 18px; height: 18px; top: 34px; right: 10%; left: auto; bottom: auto; background: var(--gpm-c) !important; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: gpm-twinkle 3.2s ease-in-out infinite; pointer-events: none; z-index: 0; }
html body.archive.category .ast-archive-description::after { width: 11px; height: 11px; top: 84px; right: 6%; animation-delay: 1.1s; }
html body.archive.category .ast-archive-title { font-family: var(--gpm-font) !important; font-weight: 800 !important; font-size: clamp(2.2rem, 5.5vw, 4.2rem) !important; line-height: 1.02 !important; letter-spacing: -0.03em !important; color: var(--gpm-ink) !important; margin: 0 0 18px !important; }
html body.archive.category .ast-archive-title::before { content: "Blog"; display: flex; width: max-content; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 6px 12px 6px 22px; color: var(--gpm-ink); box-shadow: 0 1px 0 rgba(30,30,30,.08); margin-bottom: 22px; position: relative; }
html body.archive.category .ast-archive-description p, html body.archive.category .page-description { font-family: var(--gpm-font) !important; font-size: clamp(1rem, 1.5vw, 1.15rem) !important; color: var(--gpm-ink-2) !important; max-width: 56ch !important; margin: 0 !important; line-height: 1.55 !important; }
/* grade de cards igual a da home */
html body.archive.category .site-main, html body.archive.category #primary { max-width: none !important; padding: 0 !important; margin: 0 !important; }
html body.archive.category .site-main .ast-row { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 26px 18px !important; margin: 0 !important; }
html body.archive.category .ast-row > article, html body.archive.category .ast-row > article:first-of-type { grid-column: auto !important; margin: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; transform: none !important; }
html body.archive.category.category article.post.ast-article-post.hentry > div.ast-article-inner, html body.archive.category.category article.post.ast-article-post.hentry > div.ast-article-inner > div.post-content { padding: 0 !important; margin: 0 !important; }
html body.archive.category article .post-thumb-img-content, html body.archive.category article .ast-blog-featured-section, html body.archive.category article .post-thumb { max-height: none !important; border-radius: 14px !important; overflow: hidden; border: 1px solid var(--gpm-line); background: var(--gpm-t); margin: 0 0 10px !important; }
html body.archive.category article .post-thumb-img-content::after, html body.archive.category article .ast-blog-featured-section::after, html body.archive.category article .post-thumb::after { display: none !important; }
html body.archive.category article .post-thumb-img-content img, html body.archive.category article .post-thumb img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 16/9; object-fit: cover !important; filter: none !important; display: block; transition: transform .3s ease !important; }
html body.archive.category article:hover .post-thumb-img-content img { transform: scale(1.03) !important; filter: none !important; }
html body.archive.category article .entry-meta { font-family: var(--gpm-font) !important; font-size: 0 !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: var(--gpm-c) !important; margin: 0 0 6px !important; }
html body.archive.category article .entry-meta .cat-links a { color: var(--gpm-c) !important; font-size: 12px !important; text-decoration: none !important; }
html body.archive.category article .entry-meta .posted-by, html body.archive.category article .entry-meta .ast-date-meta { display: none !important; }
html body.archive.category article .entry-title, html body.archive.category .ast-row > article:first-of-type .entry-title { font-family: var(--gpm-font) !important; font-weight: 600 !important; font-size: 1rem !important; line-height: 1.3 !important; letter-spacing: -0.01em !important; margin: 0 0 6px !important; }
html body.archive.category article .entry-title a { color: var(--gpm-ink) !important; text-decoration: none !important; }
html body.archive.category article .entry-title a:hover { color: var(--gpm-c) !important; }
html body.archive.category article .ast-excerpt-container, html body.archive.category article .entry-content, html body.archive.category article .entry-summary, html body.archive.category article .read-more, html body.archive.category article .more-link, html body.archive.category article .ast-read-more-container { display: none !important; }
html body.archive.category article:not(.has-post-thumbnail)::before { display: none !important; }
html body.archive.category .navigation.pagination, html body.archive.category nav.pagination { margin: 48px 0 80px !important; padding: 0 !important; max-width: none !important; }
html body.archive.category .pagination .page-numbers.current { background: var(--gpm-c) !important; border-color: var(--gpm-c) !important; color: #fff !important; }
html body.archive.category .pagination .page-numbers:hover { border-color: var(--gpm-c) !important; color: var(--gpm-c) !important; }
@media (max-width: 1000px) { html body.archive.category .site-main .ast-row { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { html body.archive.category .site-main .ast-row { grid-template-columns: 1fr !important; display: grid !important; } html body.archive.category .ast-archive-description { padding: 24px 20px 28px !important; border-radius: 22px !important; } html body.archive.category .ast-archive-description::after { display: none; } }

/* =====================================================================
   CABECALHO - botao "Fale comigo" (WhatsApp) no fim do menu principal
   ===================================================================== */
/* menu principal mais compacto pra caber o botao em 1366px */
.ast-desktop .main-header-menu > .menu-item > .menu-link { padding: 0 11px !important; font-size: 15px !important; }
.gpm-menu-cta { display: flex !important; align-items: center; margin-left: 6px; }
.gpm-menu-cta > a.gpm-pill { padding: 8px 14px !important; font-size: 13px !important; line-height: 1 !important; background: var(--gpm-ink) !important; color: #fff !important; border-color: var(--gpm-ink) !important; }
.gpm-menu-cta > a.gpm-pill:hover { background: var(--gpm-blue) !important; border-color: var(--gpm-blue) !important; }
.ast-header-break-point .gpm-menu-cta { margin: 10px 0 4px; }
.ast-header-break-point .gpm-menu-cta > a.gpm-pill { display: inline-flex !important; width: max-content; }

/* =====================================================================
   /sobre-mim (page 574) - hero inline (era preto+verde) vira Manchete azul
   e o corpo troca o verde-salvia do CSS v6 por azul
   ===================================================================== */
html body.page-id-574 { background: var(--gpm-paper) !important; }
html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"] { background: var(--gpm-tblue) !important; color: var(--gpm-ink) !important; margin: 8px auto 40px !important; padding: 40px 40px 44px !important; max-width: 1320px; width: auto !important; border-radius: 28px !important; box-sizing: border-box; }
html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"] > div[style*="radial-gradient"] { display: none !important; }
html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"]::before, html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"]::after { content: ""; position: absolute; background: var(--gpm-blue); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: gpm-twinkle 3.2s ease-in-out infinite; pointer-events: none; }
html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"]::before { width: 18px; height: 18px; right: 10%; top: 36px; }
html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"]::after { width: 11px; height: 11px; right: 6%; top: 86px; animation-delay: 1.1s; }
html body.page-id-574 .entry-content div[style*="max-width:1080px"] { max-width: none !important; padding: 0 !important; }
html body.page-id-574 .entry-content div[style*="letter-spacing:0.28em"] { background: #fff !important; color: var(--gpm-ink) !important; border-radius: 999px !important; padding: 6px 12px 6px 22px !important; letter-spacing: .08em !important; font-size: 12px !important; position: relative; box-shadow: 0 1px 0 rgba(30,30,30,.08); }
html body.page-id-574 .entry-content div[style*="letter-spacing:0.28em"]::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gpm-blue); }
html body.page-id-574 .entry-content h1[style] { color: var(--gpm-ink) !important; font-size: clamp(2.4rem, 6vw, 4.6rem) !important; letter-spacing: -0.03em !important; }
html body.page-id-574 .entry-content h1 em[style] { color: var(--gpm-blue) !important; }
html body.page-id-574 .entry-content p[style*="rgba(247,244,238"] { color: var(--gpm-ink-2) !important; }
html body.page-id-574 .entry-content div[style*="border-top:1px solid rgba(247,244,238"] { border-top-color: rgba(30,30,30,.12) !important; gap: 40px !important; }
html body.page-id-574 .entry-content span[style*="color:#7FB098"] { color: var(--gpm-blue) !important; font-weight: 800 !important; }
html body.page-id-574 .entry-content span[style*="rgba(247,244,238,0.55)"] { color: var(--gpm-muted) !important; letter-spacing: .08em !important; }
html body.page-id-574 .sm-section { color: var(--gpm-blue) !important; border-bottom-color: rgba(66,133,244,.25) !important; }
html body.page-id-574 .sm-expertise li::before { color: var(--gpm-blue) !important; }
html body.page-id-574 .sm-closing a, html body.page-id-574 .sm-body a { color: var(--gpm-blue) !important; background-image: none !important; text-decoration: underline !important; text-decoration-color: rgba(66,133,244,.45) !important; }
html body.page-id-574 .sm-brand { border-color: var(--gpm-line) !important; }
@media (max-width: 760px) { html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"] { padding: 24px 20px 28px !important; border-radius: 22px !important; } html body.page-id-574 .entry-content > div[style*="background:#1A1A1A"]::after { display: none; } }

/* =====================================================================
   v1.0.5: blocos escuros dos posts PADRONIZADOS (os templates antigos
   tinham TL;DR e stat claros sem padding proprio): cores e espacamento
   explicitos, valem pra todos os posts.
   ===================================================================== */
html body.single-post article.post .gp-post .gp-tldr, html body.single-post article.post .gp-post .gp-stat:not(.light) { background: var(--gpm-ink) !important; color: #F1F3F4 !important; padding: 40px 44px !important; border-radius: 18px !important; border: 0 !important; margin: 40px 0 !important; position: relative; overflow: hidden; }
html body.single-post article.post .gp-post .gp-tldr::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 6px; background: var(--accent); }
html body.single-post article.post .gp-post .gp-stat:not(.light)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
html body.single-post article.post .gp-post .gp-tldr .label { color: var(--accent) !important; margin-bottom: 18px !important; }
html body.single-post article.post .gp-post .gp-tldr h3 { color: #FFFFFF !important; margin: 0 0 18px !important; font-weight: 700 !important; font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important; }
html body.single-post article.post .gp-post .gp-tldr ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body.single-post article.post .gp-post .gp-tldr ul li { color: rgba(255,255,255,.88) !important; padding-left: 28px !important; position: relative; margin-bottom: 14px !important; }
html body.single-post article.post .gp-post .gp-tldr ul li::before { content: "\2192"; color: var(--accent) !important; position: absolute; left: 0; top: 0; font-weight: 700; }
html body.single-post article.post .gp-post .gp-tldr ul li strong, html body.single-post article.post .gp-post .gp-tldr p strong { color: #FFFFFF !important; }
html body.single-post article.post .gp-post .gp-tldr p { color: rgba(255,255,255,.88) !important; }
html body.single-post article.post .gp-post .gp-stat:not(.light) .num { color: var(--accent) !important; font-weight: 800 !important; }
html body.single-post article.post .gp-post .gp-stat:not(.light) .num small { color: rgba(255,255,255,.6) !important; }
html body.single-post article.post .gp-post .gp-stat:not(.light) .text { color: rgba(255,255,255,.88) !important; }
html body.single-post article.post .gp-post .gp-stat:not(.light) .text strong { color: #FFFFFF !important; }
html body.single-post article.post .gp-post .gp-stat:not(.light) .text .accent { color: #FFFFFF !important; font-weight: 700 !important; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
html body.single-post article.post .gp-post .gp-stat.light { background: var(--tint) !important; color: var(--gpm-ink) !important; padding: 40px 44px !important; border-radius: 18px !important; border: 0 !important; margin: 40px 0 !important; }
html body.single-post article.post .gp-post .gp-stat.light .num { color: var(--accent) !important; }
html body.single-post article.post .gp-post .gp-stat.light .text, html body.single-post article.post .gp-post .gp-stat.light .num small { color: var(--gpm-ink-2) !important; }
html body.single-post article.post .gp-post .gp-quote { color: var(--gpm-ink) !important; border-left: 4px solid var(--accent) !important; padding: 12px 0 12px 28px !important; }
html body.single-post article.post .gp-post .gp-highlight { background: var(--tint) !important; border-left: 4px solid var(--accent) !important; color: var(--gpm-ink) !important; padding: 22px 26px !important; border-radius: 0 14px 14px 0 !important; }
html body.single-post article.post .gp-post .gp-highlight p, html body.single-post article.post .gp-post .gp-highlight .label { color: var(--gpm-ink) !important; }
@media (max-width: 640px) { html body.single-post article.post .gp-post .gp-tldr, html body.single-post article.post .gp-post .gp-stat { padding: 26px 22px !important; } }

/* categorias: paginacao em portugues, cor atual azul, categorias separadas */
html body.archive.category nav.navigation.pagination .nav-links .page-numbers.current, html body.archive.category .pagination .nav-links .page-numbers.current { background: var(--gpm-c) !important; border-color: var(--gpm-c) !important; color: #fff !important; }
html body.archive.category nav.navigation.pagination .nav-links a.page-numbers:hover { border-color: var(--gpm-c) !important; color: var(--gpm-c) !important; }
html body.archive.category nav.navigation.pagination .nav-links .page-numbers.next, html body.archive.category nav.navigation.pagination .nav-links .page-numbers.prev { font-size: 0 !important; gap: 0 !important; }
html body.archive.category nav.navigation.pagination .nav-links .page-numbers.next::before { content: "Próxima\00a0\2192"; font-size: 13px; font-weight: 600; }
html body.archive.category nav.navigation.pagination .nav-links .page-numbers.prev::before { content: "\2190\00a0Anterior"; font-size: 13px; font-weight: 600; }
html body.archive.category nav.navigation.pagination .nav-links .page-numbers.next svg, html body.archive.category nav.navigation.pagination .nav-links .page-numbers.prev svg, html body.archive.category nav.navigation.pagination .nav-links .page-numbers.next .ast-icon, html body.archive.category nav.navigation.pagination .nav-links .page-numbers.prev .ast-icon { display: none !important; }
html body.archive.category article .entry-meta .cat-links { display: inline-flex !important; gap: 10px; flex-wrap: wrap; }
html body.archive.category article .entry-meta .cat-links a[href*="/category/destaques/"] { display: none !important; }
