/*!
Theme Name: Apex Editorial
Theme URI: https://camillodantas.com.br/themes/apex-editorial
Author: Camillo Dantas
Author URI: https://camillodantas.com.br
Description: Tema institucional + blog editorial com Design System Unificado v1.0 (Fusão APEX + Rankz + Camillo Dantas DS). Light/Dark · Editorial/App · Lora + Instrument Serif + Archivo Black + Inter + JetBrains Mono. SEO técnico, AEO/GEO e E-E-A-T enterprise-grade. Schema.org JSON-LD completo, llms.txt, Core Web Vitals.
Version: 2.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: apex-editorial
Tags: blog, news, two-columns, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* ════════════════════════════════════════════════════════════════
   DESIGN SYSTEM UNIFICADO v1.0
   Tokens estruturais: tipografia, espaçamento, layout, radius,
   transições, sombras e gradientes.
   Tokens de cor são injetados dinamicamente por inc/appearance.php.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* TIPOGRAFIA */
  --font-display:     'Lora', Georgia, serif;
  --font-serif:       'Instrument Serif', Georgia, serif;
  --font-display-app: 'Archivo Black', 'Anton', system-ui, sans-serif;
  --font-body:        'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:        'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* BORDER RADIUS */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-full: 999px;

  /* LEGACY COMPAT (aliases usados no tema antigo) */
  --radius-pill: var(--radius-xs);
  --radius-card: var(--radius-sm);

  /* ESPAÇAMENTO — base 4px */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* LEGACY GAP ALIASES */
  --gap-xs:  var(--space-2);
  --gap-sm:  14px;
  --gap-md:  var(--space-5);
  --gap-lg:  var(--space-8);
  --gap-xl:  var(--space-12);
  --gap-2xl: var(--space-20);

  /* LAYOUT */
  --container-max:    1200px;
  --container-narrow: 760px;
  --sidebar-w:        240px;
  --topbar-h:         64px;
  --header-h:         72px;
  --grid-padding:     clamp(24px, 5vw, 64px);
  --section-padding:  clamp(64px, 10vh, 120px);

  /* TRANSIÇÕES */
  --duration-fast:   150ms;
  --duration-normal: 200ms;
  --duration-slow:   300ms;
  --duration-slower: 500ms;
  --ease-default:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:         cubic-bezier(0.4, 0, 1, 1);
  --ease-out:        cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);

  /* GRADIENTES */
  --gradient-radial:  radial-gradient(circle at center, rgba(34,197,94,0.08) 0%, transparent 70%);
  --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  --gradient-glow:    radial-gradient(circle at 50% 0%, rgba(52,211,153,0.15) 0%, transparent 60%);
  --gradient-score:   linear-gradient(90deg, #EF4444 0%, #EAB308 50%, #22C55E 100%);

  /* ACCENTS — universais, não variam por tema */
  --accent-primary:       #22C55E;
  --accent-primary-hover: #16A34A;
  --accent-primary-glow:  #34D399;
  --accent-cyan:          #22D3EE;
  --accent-orange:        #F97316;
  --accent-warm:          #C45C00;
  --accent-red:           #EF4444;
  --accent-red-hover:     #DC2626;
  --accent-yellow:        #EAB308;
  --accent-yellow-hover:  #CA8A04;
  --accent-blue:          #3B82F6;
  --accent-purple:        #8B5CF6;
  --accent-white:         #FFFFFF;
  --accent-black:         #000000;

  /* TERMINAL DOTS */
  --terminal-dot-red:    #FF5F56;
  --terminal-dot-yellow: #FFBD2E;
  --terminal-dot-green:  #27C93F;

  /* SOMBRAS LIGHT (default — dark sobrescreve via appearance.php) */
  --shadow-sm:       0 1px 3px rgba(43,33,24,0.06), 0 2px 8px rgba(43,33,24,0.04);
  --shadow-md:       0 4px 16px rgba(43,33,24,0.08), 0 1px 3px rgba(43,33,24,0.06);
  --shadow-lg:       0 8px 32px rgba(0,0,0,0.10);
  --shadow-app:      0 4px 12px rgba(0,0,0,0.18);
  --shadow-overlay:  0 6px 24px rgba(10,10,10,0.08);
  --shadow-card:     0 0 0 1px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow-sm:  0 0 20px rgba(34,197,94,0.10);
  --shadow-glow-md:  0 0 40px rgba(34,197,94,0.15);

  /* ESTADOS SEMÂNTICOS LIGHT (default) */
  --success-bg:  rgba(34,197,94,0.10);
  --success-ink: #15803D;
  --warning-bg:  #FEF3E8;
  --warning-ink: #92400E;
  --danger-bg:   rgba(239,68,68,0.10);
  --danger-ink:  #B91C1C;
  --info-bg:     #DCE2EC;
  --info-ink:    #1A2E4A;
}

/* ════════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  background: var(--canvas);
  color: var(--ink-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings — modo editorial por padrão (Lora + tracking editorial) */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(28px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(22px, 3vw, 36px); line-height: 1.25; }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
h5 { font-family: var(--font-body); font-size: 14px; font-weight: 700; }
h6 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

p { margin: 0 0 1.2em; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--duration-fast); }
a:hover { color: var(--ink-body); }
strong, b { font-weight: 700; color: var(--ink); }
small { font-size: 11px; color: var(--ink-muted); }

ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: 6px; }

code, pre { font-family: var(--font-mono); font-size: 0.9em; }
code { background: var(--canvas-deep); padding: 2px 6px; border-radius: 3px; color: var(--ink); }
pre { background: var(--ink); color: #E8E0B8; padding: 18px 22px; border-radius: var(--radius-sm); overflow-x: auto; line-height: 1.7; font-size: 13px; }
pre code { background: transparent; padding: 0; color: inherit; }

blockquote {
  margin: 1.5em 0;
  padding: 14px 22px;
  border-left: 3px solid var(--ink);
  background: var(--canvas-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-body);
}
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--ink-muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

hr { border: 0; border-top: 1px solid var(--hairline); margin: 2em 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0 0 1.5em; }
figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 8px; text-align: center; }

/* ACESSIBILIDADE */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: var(--surface); clip: auto !important; clip-path: none; color: var(--ink); display: block; font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
.skip-link { position: absolute; left: -9999px; z-index: 999; }
.skip-link:focus { left: 6px; top: 7px; display: block; padding: 8px 16px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-xs); text-decoration: none; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.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; }

/* LAYOUT */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
.section-pad { padding: var(--section-padding) 0; }
.section-pad-lg { padding: clamp(80px, 12vh, 160px) 0; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--ink-muted); }
.mono { font-family: var(--font-mono); }
.divider { border-top: 1px solid var(--hairline); }
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 22px; }
}

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .hero-grid, .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ════════════════════════════════════════════════════════════════
   TIPOGRAFIA — CLASSES UTILITÁRIAS
   ════════════════════════════════════════════════════════════════ */

/* MODO EDITORIAL */
.display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h1-ed { font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); }
.h2-ed { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 500; line-height: 1.25; color: var(--ink); }

/* MODO APP */
.display-xl { font-family: var(--font-display-app); font-weight: 900; font-size: clamp(56px, 8vw, 128px); line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase; color: var(--ink); }
.display-l  { font-family: var(--font-display-app); font-weight: 900; font-size: 56px; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.display-m  { font-family: var(--font-display-app); font-weight: 900; font-size: 32px; line-height: 1.0; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); }

/* EYEBROWS */
.eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.eyebrow-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.eyebrow-mono .num { color: var(--accent-primary); }
.eyebrow-app { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.overline { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-bottom: 16px; display: block; }

/* SEÇÃO TÉCNICA */
.section-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-cyan); margin-bottom: 20px; }
.section-label::before { content: '/ '; color: var(--ink-faint); }

/* MÉTRICAS */
.metric-lg { font-family: var(--font-display-app); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.metric    { font-family: var(--font-display-app); font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }

/* CORPO */
.body-lg { font-size: 17px; line-height: 1.65; color: var(--ink-body); }
.body    { font-size: 15px; line-height: 1.65; color: var(--ink-body); }

/* TIPOGRAFIA COMPARTILHADA */
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.strike  { text-decoration: line-through; text-decoration-color: var(--accent-warm); text-decoration-thickness: 2px; }
.caption { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.05em; color: var(--ink-muted); }
.mono-sm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; }
.mono-xs { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; }
.code    { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; letter-spacing: 0; }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  border-bottom: 1px solid var(--border-warm, var(--hairline));
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
}
.site-header-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-width: 0; }
.site-branding .logo-mark { width: 30px; height: 30px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display-app); font-size: 13px; }
.custom-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.custom-logo { max-height: 40px; width: auto; }
.site-title { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin: 0; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.site-title a { color: inherit; text-decoration: none; }
.site-description { display: none; }

.main-navigation { display: flex; align-items: center; flex: 1; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-navigation li { margin: 0; position: relative; }
.main-navigation li.menu-item-has-children::after,
.main-navigation li.page_item_has_children::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.main-navigation a { display: block; padding: 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-muted); text-decoration: none; border-radius: var(--radius-xs); transition: background var(--duration-fast), color var(--duration-fast); text-transform: uppercase; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { background: var(--hairline-soft); color: var(--ink); }
.main-navigation .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 6px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-overlay); display: none; z-index: 100; }
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: flex; }
.main-navigation .sub-menu a { padding: 8px 12px; font-size: 13px; border-radius: var(--radius-xs); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header .icon-btn { width: 34px; height: 34px; border-color: var(--hairline-soft); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.site-header .icon-btn:hover { background: var(--hairline-soft); border-color: var(--hairline-strong); }
.header-cta { margin-left: 2px; }
.menu-toggle { display: none; }

@media (max-width: 700px) {
  .header-cta { display: none; }
  .site-header-inner { gap: 16px; padding: 0 22px; }
}
@media (max-width: 900px) {
  .main-navigation { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   BOTÕES — MODO EDITORIAL
   ════════════════════════════════════════════════════════════════ */
.btn-ed {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: all var(--duration-fast) var(--ease-default);
  border: 1px solid transparent; white-space: nowrap;
  border-radius: var(--radius-sm);
}
.btn-ed-dark { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.btn-ed-dark:hover { background: var(--ink-body); color: var(--canvas); }
.btn-ed-primary { background: #3B4C3A; color: #E8F0E7; border-color: #3B4C3A; border-radius: var(--radius-full); }
.btn-ed-primary:hover { background: #4E6B4C; color: #E8F0E7; transform: translateY(-1px); }
.btn-ed-green { background: #3A7D5A; color: #FFFFFF; border-color: #3A7D5A; border-radius: var(--radius-sm); }
.btn-ed-green:hover { background: #2E6348; color: #FFFFFF; }
.btn-ed-outline { background: transparent; color: var(--ink-body); border-color: var(--rule, var(--hairline)); }
.btn-ed-outline:hover { background: var(--canvas-deep); }
.btn-ed-outline-pill { background: transparent; color: var(--ink-body); border-color: var(--border-warm-dark, var(--hairline)); border-radius: var(--radius-full); }
.btn-ed-outline-pill:hover { background: rgba(92,61,46,0.06); }
.btn-ed-outline-dark { background: transparent; color: #F1EDE4; border-color: rgba(241,237,228,0.35); }
.btn-ed-outline-dark:hover { background: rgba(241,237,228,0.08); }
.btn-ed-sm { padding: 7px 16px; font-size: 13px; }
.btn-ed-lg { padding: 14px 30px; font-size: 15px; }
.btn-arrow::after { content: ' →'; }

/* ════════════════════════════════════════════════════════════════
   BOTÕES — MODO APP
   ════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-xs); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--duration-fast), background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 14px; height: 14px; stroke-width: 2; }
.btn-primary   { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-body); color: var(--on-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--on-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--hairline-soft); }
.btn-danger { background: var(--accent-red); color: var(--accent-white); }
.btn-danger:hover { background: var(--accent-red-hover); }
.btn-hero-primary, .btn-dark-contrast { background: var(--canvas); color: var(--ink); }
.btn-hero-primary:hover, .btn-dark-contrast:hover { background: var(--on-ink); color: var(--ink); }
.btn-sm { height: 30px; padding: 0 12px; font-size: 11px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 13px; }

/* ICON BTN */
.icon-btn {
  width: 36px; height: 36px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--radius-xs);
  cursor: pointer; transition: border-color var(--duration-fast), background var(--duration-fast);
  text-decoration: none;
}
.icon-btn:hover { border-color: var(--ink); background: var(--canvas-deep); }
.icon-btn svg { width: 16px; height: 16px; }

/* BTN GROUP / SEGMENTED */
.btn-group { display: inline-flex; border: 1px solid var(--hairline); border-radius: var(--radius-xs); background: var(--surface); padding: 3px; }
.btn-group-item { background: transparent; border: none; color: var(--ink-muted); height: 28px; padding: 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius-xs); cursor: pointer; }
.btn-group-item.active { background: var(--ink); color: var(--on-ink); }

/* BTN TERMINAL */
.btn-terminal { background: var(--accent-white); color: var(--accent-black); font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 20px; border: none; border-radius: var(--radius-xs); cursor: pointer; transition: all var(--duration-normal) var(--ease-default); }
.btn-terminal:hover { background: var(--accent-primary-glow); box-shadow: 0 0 30px rgba(52,211,153,0.3); }

/* BTN TEXT / LINK ARROW */
.btn-text { background: transparent; color: var(--accent-primary-glow); font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn-text::after { content: '→'; transition: transform var(--duration-normal) var(--ease-default); }
.btn-text:hover::after { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════
   PILLS, BADGES, TAGS, STATUS
   ════════════════════════════════════════════════════════════════ */

/* STATUS — com ponto */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-xs); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-success { background: var(--success-bg); color: var(--success-ink); }
.status-success .status-dot { background: var(--success-ink); }
.status-warning { background: var(--warning-bg); color: var(--warning-ink); }
.status-warning .status-dot { background: var(--warning-ink); }
.status-danger  { background: var(--danger-bg);  color: var(--danger-ink); }
.status-danger  .status-dot { background: var(--danger-ink); }
.status-info    { background: var(--info-bg);    color: var(--info-ink); }
.status-info    .status-dot { background: var(--info-ink); }
.status-neutral { background: var(--hairline-soft); color: var(--ink-muted); }
.status-neutral .status-dot { background: var(--ink-muted); }

/* BADGE — pill suave */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.badge--green   { background: rgba(34,197,94,0.12);  color: var(--accent-primary); }
.badge--red     { background: rgba(239,68,68,0.12);  color: var(--accent-red); }
.badge--yellow  { background: rgba(234,179,8,0.12);  color: var(--accent-yellow); }
.badge--cyan    { background: rgba(34,211,238,0.12); color: var(--accent-cyan); }
.badge--neutral { background: var(--canvas-deep);    color: var(--ink-muted); }
.badge--dark    { background: var(--ink);             color: var(--on-ink); }

/* TAG — mono uppercase */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; width: fit-content; text-decoration: none; transition: background var(--duration-fast), color var(--duration-fast); }
.tag-warn    { background: var(--warning-bg);  color: var(--accent-warm);    border: 1px solid rgba(196,92,0,0.20); }
.tag-green   { background: var(--success-bg);  color: var(--accent-primary); border: 1px solid rgba(34,197,94,0.30); }
.tag-ink     { background: var(--canvas-deep); color: var(--ink);            border: 1px solid var(--hairline); }
.tag-outline { background: transparent;        color: var(--ink-muted);      border: 1px solid var(--hairline); }
.tag-dark    { background: var(--ink);          color: var(--on-ink);         border: 1px solid var(--ink); }
.tag:hover   { background: var(--canvas-deep); }
.tag-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* PILL / CHECK-PILL */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid var(--hairline); font-size: 12px; font-weight: 500; color: var(--ink-muted); background: var(--surface); text-decoration: none; }
.check-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--hairline); font-size: 13px; color: var(--ink-muted); }
.check-pill::before { content: '✓'; color: var(--accent-primary); font-weight: 700; }

/* BADGE TÉCNICO */
.badge-tech { display: inline-flex; padding: 4px 12px; border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-tech--outline { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--ink-body); }
.badge-tech--filled  { background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.30); color: var(--accent-primary-glow); }

/* CHIP REMOVÍVEL */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-xs); font-size: 11px; font-weight: 600; }
.chip-close { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chip-close svg { width: 9px; height: 9px; }

/* ════════════════════════════════════════════════════════════════
   ÍCONES & AVATARES
   ════════════════════════════════════════════════════════════════ */
.avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--canvas-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.avatar-sm  { width: 28px; height: 28px; font-size: 10px; font-weight: 700; }
.avatar-lg  { width: 56px; height: 56px; font-size: 18px; }
.avatar-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -10px; border: 2.5px solid var(--canvas); }
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar.purple { background: #C4B5FD; color: #4C1D95; }
.avatar.teal   { background: #99F6E4; color: #065F46; }

.icon-circle { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.icon-circle svg { width: 14px; height: 14px; stroke-width: 1.75; }
.cta-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: inline-flex; align-items: center; justify-content: center; }
.cta-icon svg { width: 18px; height: 18px; stroke-width: 1.75; }

/* ════════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════════ */

/* CARD BASE — App */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--duration-normal) var(--ease-default);
}
.card:hover { border-color: var(--hairline-strong); background: var(--canvas-deep); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.card-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.card-sub   { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

/* CARD OUTLINED com tab */
.card-outlined { background: var(--canvas); border: 1.5px solid var(--ink); border-radius: var(--radius-md); padding: 24px; position: relative; }
.card-header-tab { display: inline-block; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 18px; border-radius: var(--radius-xs); position: absolute; top: -16px; left: 18px; }

/* CARDS EDITORIAIS */
.card-ed { background: var(--canvas-warm, var(--surface)); border: 1px solid var(--border-warm, var(--hairline)); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card-editorial { background: var(--canvas-deep); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 24px; }
.card-quiet { background: var(--canvas-deep); border: 1px solid var(--hairline-soft); border-radius: var(--radius-md); padding: 20px 24px; }
.card-inset { background: var(--canvas-deep); border: 1px solid var(--hairline-soft); border-radius: var(--radius-sm); padding: 16px; }
.card-hover { transition: transform var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default); }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* CARD FEATURE */
.card-feature { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: all var(--duration-normal) var(--ease-default); }
.card-feature:hover { transform: translateY(-2px); border-color: var(--hairline-strong); }
.card-feature__icon { width: 40px; height: 40px; background: var(--canvas-deep); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.card-feature__icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.card-feature__title { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink); }
.card-feature__description { font-size: 14px; color: var(--ink-body); line-height: 1.5; }

/* CARD PRICING */
.card-pricing { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-xl); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.card-pricing--popular { border-color: var(--ink); position: relative; }
.card-pricing__badge { position: absolute; top: -12px; right: 24px; background: var(--ink); color: var(--on-ink); padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.card-pricing__name { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }
.card-pricing__price { font-family: var(--font-display-app); font-size: 48px; font-weight: 700; color: var(--ink); }
.card-pricing__features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.card-pricing__features li { font-size: 14px; color: var(--ink-body); display: flex; align-items: center; gap: 8px; }
.card-pricing__features li::before { content: "✓"; color: var(--accent-primary); font-weight: 600; }

/* CARD TERMINAL */
.card-terminal { background: #0E0E0E; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); overflow: hidden; }
.card-terminal .header { background: rgba(255,255,255,0.02); padding: 12px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.card-terminal .header .dots { display: flex; gap: 6px; }
.card-terminal .header .dots span { width: 10px; height: 10px; border-radius: 50%; }
.card-terminal .header .dots span:nth-child(1) { background: var(--terminal-dot-red); }
.card-terminal .header .dots span:nth-child(2) { background: var(--terminal-dot-yellow); }
.card-terminal .header .dots span:nth-child(3) { background: var(--terminal-dot-green); }
.card-terminal .header .path { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.35); }
.card-terminal .body { padding: 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.65); }

/* CARD NUMBERED */
.card-numbered { background: var(--canvas-deep); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 40px; position: relative; }
.card-numbered .number { font-family: var(--font-mono); font-size: 14px; color: var(--ink-faint); margin-bottom: 16px; }
.card-numbered .number::after { content: '_'; animation: blink 1s infinite; }
.card-numbered h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.card-numbered p { font-size: 14px; color: var(--ink-body); line-height: 1.7; }

/* POST CARDS */
.post-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; transition: all var(--duration-normal) var(--ease-default); }
.post-card:hover { border-color: var(--hairline-strong); box-shadow: var(--shadow-sm); }
.post-card-image { aspect-ratio: 16/10; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-default); }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.post-card-cat { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; }
.post-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--ink-body); }
.post-card-excerpt { font-size: 14px; color: var(--ink-body); line-height: 1.6; margin: 0; }
.post-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-muted); font-family: var(--font-mono); }
.post-card-meta a { color: inherit; text-decoration: none; }
.post-card-meta a:hover { color: var(--ink); }
.post-card-meta .sep { opacity: 0.5; }

/* MOCK FRAMES */
.mock-frame { background: var(--canvas-deep); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-md); }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--hairline); margin-bottom: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }

/* ════════════════════════════════════════════════════════════════
   KPI & DATA DISPLAY
   ════════════════════════════════════════════════════════════════ */
.kpi-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 20px 22px; }
.kpi-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.kpi-label svg { width: 13px; height: 13px; stroke-width: 1.75; }
.kpi-value { font-family: var(--font-display-app); font-weight: 900; font-size: 36px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.kpi-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-xs); letter-spacing: 0.04em; }
.kpi-delta.up   { background: var(--success-bg); color: var(--success-ink); }
.kpi-delta.down { background: var(--danger-bg);  color: var(--danger-ink); }
.kpi-delta.flat { background: var(--hairline-soft); color: var(--ink-muted); }

.stats-banner { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); padding: 40px 36px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 36px; }
.stats-banner-headline { font-family: var(--font-display-app); font-size: 28px; letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; }
.stats-banner-headline span { display: block; opacity: 0.5; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.16em; margin-top: 8px; }
.stats-banner-num { font-family: var(--font-display-app); font-size: 42px; letter-spacing: -0.02em; line-height: 1; }
.stats-banner-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }
.stats-num { font-family: var(--font-display-app); font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stats-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }

@media (max-width: 900px) {
  .stats-banner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stats-banner { grid-template-columns: 1fr; }
}

/* SCORE */
.score-bar { width: 100%; height: 4px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.score-bar__fill { height: 100%; border-radius: 2px; transition: width var(--duration-slower) var(--ease-default); }
.score-bar__fill--green  { background: var(--accent-primary); }
.score-bar__fill--yellow { background: var(--accent-yellow); }
.score-bar__fill--red    { background: var(--accent-red); }

/* ════════════════════════════════════════════════════════════════
   INPUTS & FORMULÁRIOS
   ════════════════════════════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.field-hint  { font-size: 11px; color: var(--ink-muted); }
.field-error { font-size: 11px; color: var(--accent-red); font-weight: 600; }

.input, .textarea, select {
  width: 100%; height: 38px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-xs); padding: 0 14px;
  font-family: var(--font-body); font-size: 13px; color: var(--ink);
  outline: none; transition: border var(--duration-fast), box-shadow var(--duration-fast);
}
.input:focus, .textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hairline-soft); }
.input.error { border-color: var(--accent-red); }
.textarea { height: auto; min-height: 80px; padding: 10px 14px; resize: vertical; }

.input-search { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-xs); height: 34px; padding: 0 12px; gap: 6px; width: 240px; }
.input-search svg { width: 14px; height: 14px; color: var(--ink-muted); }
.input-search input { border: none; outline: none; background: transparent; flex: 1; font-size: 12px; color: var(--ink); }

.row-check { appearance: none; width: 16px; height: 16px; border: 1.5px solid var(--hairline-strong); border-radius: 3px; cursor: pointer; position: relative; background: var(--surface); }
.row-check:checked { background: var(--ink); border-color: var(--ink); }
.row-check:checked::after { content: ""; position: absolute; top: 2px; left: 5px; width: 4px; height: 7px; border: solid var(--on-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* WP FORMS */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="search"], input[type="number"], input[type="password"],
textarea, select {
  background: var(--surface); border: 1px solid var(--hairline);
  color: var(--ink); border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px; padding: 8px 12px;
  outline: none; transition: border var(--duration-fast), box-shadow var(--duration-fast);
  width: 100%; max-width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="tel"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="password"]:focus, textarea:focus, select:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3px var(--hairline-soft);
}
input[type="submit"], button[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px;
  background: var(--ink); color: var(--on-ink);
  border: none; border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: background var(--duration-fast);
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--ink-body); }

/* ════════════════════════════════════════════════════════════════
   HERO & PAGE HEADER
   ════════════════════════════════════════════════════════════════ */
.hero { padding: clamp(64px, 10vh, 120px) 0; }
.hero-dark { background: var(--ink); color: var(--on-ink); }
.hero-dark .display, .hero-dark h1, .hero-dark h2 { color: var(--on-ink); }
.hero-eyebrow { margin-bottom: 16px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.hero-social-proof { display: flex; align-items: center; margin-top: 24px; gap: 10px; }

.page-hero { padding: clamp(48px, 8vh, 80px) 0; border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 12px 0 8px; }
.page-hero-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.page-hero-desc { font-size: 17px; color: var(--ink-body); line-height: 1.65; max-width: 52ch; margin: 0; }

/* GRID DECORATIVO */
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.35; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ════════════════════════════════════════════════════════════════ */
.breadcrumbs { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 12px; color: var(--ink-muted); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }
.breadcrumbs .current { color: var(--ink); font-weight: 500; }

/* ════════════════════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════════════════════ */
.single-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; padding: 48px 0 80px; }
@media (max-width: 1024px) { .single-layout { grid-template-columns: 1fr; gap: 40px; } }

.entry-header { margin-bottom: 32px; }
.entry-cats { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.entry-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px; }
.entry-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta .author-link { display: flex; align-items: center; gap: 8px; }
.entry-meta .author-link:hover { color: var(--ink); }
.entry-meta .sep { opacity: 0.4; }

.entry-featured { margin: 28px 0; }
.entry-featured img { width: 100%; height: auto; border-radius: var(--radius-sm); aspect-ratio: 16/9; object-fit: cover; }
.entry-featured figcaption { text-align: left; margin-top: 10px; }

.entry-content { max-width: 68ch; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content h2 { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; margin: 2em 0 0.5em; color: var(--ink); }
.entry-content h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; color: var(--ink); }
.entry-content h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin: 1.5em 0 0.4em; color: var(--ink); }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hairline-strong); }
.entry-content a:hover { text-decoration-color: var(--ink); }
.entry-content ul, .entry-content ol { margin-bottom: 1.5em; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 2em 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .wp-block-image { margin: 2em 0; }

/* Largura de conteúdo */
.entry-content .alignwide { max-width: none; margin-left: -40px; margin-right: -40px; }
.entry-content .alignfull { max-width: none; margin-left: calc(-1 * (100vw - 100%) / 2); margin-right: calc(-1 * (100vw - 100%) / 2); }
@media (max-width: 900px) {
  .entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

/* POST FOOTER */
.entry-footer { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* READING PROGRESS */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--hairline); }
.reading-progress-bar { height: 100%; background: var(--ink); width: 0; transition: width 0.1s linear; }

/* AUTHOR BOX */
.author-box { background: var(--canvas-deep); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; }
.author-box-avatar { flex-shrink: 0; }
.author-box-avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box-name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.author-box-bio { font-size: 14px; color: var(--ink-body); line-height: 1.6; margin: 0; }
.author-box-social { display: flex; gap: 8px; margin-top: 14px; }
.author-box-social a { color: var(--ink-muted); text-decoration: none; display: inline-flex; }
.author-box-social a:hover { color: var(--ink); }
@media (max-width: 600px) { .author-box { flex-direction: column; } }

/* TOC */
.toc-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-sticky h6 { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.toc-sticky ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--hairline); }
.toc-sticky li { margin: 0; }
.toc-sticky a { display: block; padding: 6px 14px; font-size: 13px; line-height: 1.4; color: var(--ink-muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; transition: color var(--duration-fast), border-color var(--duration-fast); }
.toc-sticky a:hover { color: var(--ink); }
.toc-sticky a.active { color: var(--ink); border-left-color: var(--ink); font-weight: 600; }

/* SHARE BUTTONS */
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius-xs); border: 1px solid var(--hairline); background: transparent; color: var(--ink-muted); text-decoration: none; cursor: pointer; transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast); }
.share-btn:hover { background: var(--canvas-deep); color: var(--ink); border-color: var(--hairline-strong); }
.share-btn svg { width: 13px; height: 13px; }

/* POST UTILITIES */
.post-utilities { display: flex; gap: 6px; align-items: center; }
.post-utilities .icon-btn { width: 32px; height: 32px; }
.post-utilities .icon-btn svg { width: 14px; height: 14px; }

/* TRUST BANNER */
.trust-banner { background: var(--canvas-deep); border-left: 3px solid var(--ink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 24px 0; display: flex; align-items: flex-start; gap: 12px; }
.trust-banner svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--ink-muted); }
.trust-banner-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.trust-banner-text { font-size: 13px; color: var(--ink-body); line-height: 1.5; margin: 0; }
.trust-banner-link { color: var(--ink-muted); font-size: 12px; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   NAVEGAÇÃO — TABS
   ════════════════════════════════════════════════════════════════ */
.tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.03); padding: 4px; border-radius: var(--radius-sm); border: 1px solid var(--hairline); }
.tab { padding: 10px 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); background: transparent; border: none; border-radius: var(--radius-xs); cursor: pointer; transition: all var(--duration-normal) var(--ease-default); }
.tab:hover { color: var(--ink-body); }
.tab.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* ════════════════════════════════════════════════════════════════
   OVERLAYS — MODALS, DROPDOWN, TOOLTIP
   ════════════════════════════════════════════════════════════════ */
.modal-shell { background: rgba(10,10,10,0.45); display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 200; }
.modal { background: var(--canvas); border-radius: var(--radius-sm); width: 100%; max-width: 440px; padding: 28px; border: 1.5px solid var(--ink); box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 12px; }
.modal-title { font-family: var(--font-display-app); font-size: 22px; color: var(--ink); letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; }
.modal-close { background: transparent; border: none; cursor: pointer; color: var(--ink); padding: 4px; }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { font-size: 13px; color: var(--ink-body); line-height: 1.6; margin-bottom: 22px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; }

.dropdown { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 6px; min-width: 200px; box-shadow: var(--shadow-overlay); }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-xs); font-size: 13px; color: var(--ink-body); cursor: pointer; transition: background var(--duration-fast), color var(--duration-fast); }
.dropdown-item:hover { background: var(--canvas-deep); color: var(--ink); }
.dropdown-item svg { width: 14px; height: 14px; }
.dropdown-divider { height: 1px; background: var(--hairline); margin: 6px 0; }
.dropdown-item-danger { color: var(--accent-red); }

.tooltip { background: var(--ink); color: var(--on-ink); font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: var(--radius-xs); position: relative; display: inline-block; }
.tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); }

/* SEARCH MODAL */
.search-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,0.6); backdrop-filter: blur(8px); display: none; align-items: flex-start; justify-content: center; padding-top: 80px; }
.search-modal.active { display: flex; }
.search-modal-box { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius-sm); width: 100%; max-width: 560px; overflow: hidden; box-shadow: var(--shadow-lg); }
.search-modal-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--hairline); }
.search-modal-input-row svg { width: 18px; height: 18px; color: var(--ink-muted); flex-shrink: 0; }
.search-modal-input-row input { flex: 1; border: none; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.search-modal-input-row button { background: transparent; border: none; cursor: pointer; color: var(--ink-muted); display: flex; }
.search-modal-results { padding: 8px; max-height: 400px; overflow-y: auto; }
.search-modal-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px; border-radius: var(--radius-xs); text-decoration: none; color: var(--ink-body); border-left: 2px solid transparent; transition: background var(--duration-fast), border-color var(--duration-fast); }
.search-modal-item:hover, .search-modal-item.active { background: var(--canvas-deep); border-left-color: var(--ink); }
.search-modal-item-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.search-modal-item-meta { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════
   FEEDBACK — ALERTS, TOAST, PROGRESS
   ════════════════════════════════════════════════════════════════ */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border-left: 3px solid transparent; font-size: 13px; line-height: 1.5; }
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-title { font-weight: 700; margin-bottom: 2px; font-size: 12px; letter-spacing: 0.04em; }
.alert-success { background: var(--success-bg); color: var(--success-ink); border-left-color: var(--success-ink); }
.alert-warning { background: var(--warning-bg); color: var(--warning-ink); border-left-color: var(--warning-ink); }
.alert-danger  { background: var(--danger-bg);  color: var(--danger-ink);  border-left-color: var(--danger-ink); }
.alert-info    { background: var(--info-bg);     color: var(--info-ink);    border-left-color: var(--info-ink); }
.alert-neutral { background: var(--hairline-soft); color: var(--ink-body); border-left-color: var(--hairline-strong); }

.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--on-ink); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; min-width: 280px; max-width: 400px; box-shadow: var(--shadow-app); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast-close { margin-left: auto; background: transparent; border: none; color: rgba(255,255,255,0.6); cursor: pointer; }
.toast-success { background: var(--success-ink); }
.toast-danger  { background: var(--danger-ink); }

.progress-track { height: 4px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--ink); border-radius: 2px; transition: width var(--duration-slow) var(--ease-default); }
.progress-fill.success { background: var(--accent-primary); }
.progress-fill.warn    { background: var(--accent-yellow); }
.progress-fill.danger  { background: var(--accent-red); }

/* ════════════════════════════════════════════════════════════════
   SEÇÕES — HERO, FAQ, STATS, CTA DARK, FEATURES
   ════════════════════════════════════════════════════════════════ */

/* HERO CENTRADO EDITORIAL */
.hero-centered { text-align: center; position: relative; overflow: hidden; padding: var(--section-padding) 0; }
.hero-centered .display { max-width: 820px; margin: 0 auto; }
.hero-centered .body-lg { max-width: 52ch; margin: 20px auto 0; }

/* HERO SPLIT */
.hero-split { position: relative; overflow: hidden; padding: var(--section-padding) 0; }
.hero-split-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .hero-split-grid { grid-template-columns: 1fr; } }

/* FEATURES SECTION */
.features-section { padding: var(--section-padding) 0; }
.section-intro { max-width: 52ch; }
.section-intro h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.section-intro .body-lg { margin-top: 16px; }

/* STATS SECTION */
.stats-section { padding: var(--section-padding) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-display-app); font-size: 48px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-top: 8px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-size: 15px; color: var(--ink); font-weight: 500; gap: 16px; transition: color var(--duration-fast); font-family: var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-body); }
.faq-icon { width: 24px; height: 24px; border: 1.5px solid var(--hairline-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; font-weight: 300; color: var(--ink-muted); transition: all var(--duration-normal); }
.faq-item[open] .faq-icon { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.faq-answer { padding: 0 0 20px; font-size: 14px; color: var(--ink-body); line-height: 1.7; max-width: 680px; }

/* CTA DARK SECTION */
.cta-dark { background: var(--ink); color: var(--on-ink); padding: clamp(80px, 12vh, 160px) 0; }
.cta-dark h2, .cta-dark .display { color: var(--on-ink); }

/* LOGOS SECTION */
.logos-track { display: flex; overflow: hidden; }
.logos-ticker { display: flex; gap: 48px; align-items: center; animation: scroll-logos 24s linear infinite; flex-shrink: 0; }
.logo-item { opacity: 0.5; filter: grayscale(100%); transition: opacity var(--duration-normal), filter var(--duration-normal); flex-shrink: 0; }
.logo-item:hover { opacity: 1; filter: none; }
.logo-item img { height: 28px; width: auto; display: block; }

/* NEWSLETTER */
.newsletter-form { display: flex; gap: 8px; max-width: 440px; }
.newsletter-form .input { flex: 1; height: 40px; }
.newsletter-form .btn { flex-shrink: 0; }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; justify-content: center; } }

/* ════════════════════════════════════════════════════════════════
   ARCHIVE, BLOG LAYOUT
   ════════════════════════════════════════════════════════════════ */
.archive-header { padding: 48px 0 32px; border-bottom: 1px solid var(--hairline); margin-bottom: 48px; }
.archive-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; padding: 48px 0 80px; }
@media (max-width: 1024px) { .archive-layout { grid-template-columns: 1fr; } }

.post-grid { display: grid; gap: 28px; }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .post-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .post-grid-3, .post-grid-2 { grid-template-columns: 1fr; } }

/* MAGAZINE HOMEPAGE */
.magazine-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--hairline); }
.magazine-hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.magazine-hero-has-image { grid-template-columns: 1fr minmax(0, 1.1fr); }
@media (max-width: 900px) { .magazine-hero-has-image { grid-template-columns: 1fr; } .magazine-hero-image { order: -1; } }
.magazine-hero-image img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); aspect-ratio: 16/10; object-fit: cover; }
.magazine-hero-content { display: flex; flex-direction: column; gap: 20px; }
.magazine-hero-title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin: 0; }
.magazine-hero-title a { color: inherit; text-decoration: none; }
.magazine-hero-title a:hover { text-decoration: underline; }
.magazine-latest { padding: 56px 0; }
.magazine-category-section { padding: 56px 0; }
.section-deep { background: var(--canvas-deep); }

/* ════════════════════════════════════════════════════════════════
   SECTIONS — CONTACT, PRESS, SITEMAP, TEAM, PRICING
   ════════════════════════════════════════════════════════════════ */

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 64px; padding: 56px 0 80px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-block { display: flex; flex-direction: column; gap: 24px; }
.contact-method { display: flex; align-items: flex-start; gap: 14px; }
.contact-method svg { width: 20px; height: 20px; color: var(--ink-muted); flex-shrink: 0; margin-top: 2px; }
.contact-method-title { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.contact-method-value { font-size: 14px; color: var(--ink-body); }

/* SITEMAP */
.sitemap-meta { background: var(--canvas-deep); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 40px; }
.sitemap-meta-item { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.sitemap-meta-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); min-width: 120px; }
.sitemap-meta-text { color: var(--ink-body); }
.sitemap-meta-text a { color: inherit; text-decoration: underline; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 28px; text-align: center; transition: all var(--duration-normal) var(--ease-default); }
.team-card:hover { border-color: var(--hairline-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; background: var(--canvas-deep); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--ink-muted); }
.team-social { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.team-social a { color: var(--ink-muted); text-decoration: none; display: inline-flex; }
.team-social a:hover { color: var(--ink); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pricing-features li { font-size: 14px; color: var(--ink-body); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pricing-features li svg { color: var(--accent-primary); flex-shrink: 0; width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 48px 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-xs); font-size: 13px; font-weight: 600; color: var(--ink-muted); text-decoration: none; border: 1px solid var(--hairline); transition: all var(--duration-fast); }
.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.page-numbers.dots { border: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }

/* ════════════════════════════════════════════════════════════════
   SIDEBAR & WIDGETS
   ════════════════════════════════════════════════════════════════ */
.sidebar-inner { display: flex; flex-direction: column; gap: 32px; }
.widget { display: flex; flex-direction: column; gap: 14px; }
.widget-title { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--hairline); padding-bottom: 10px; }
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.widget ul li { font-size: 14px; }
.widget ul li a { color: var(--ink-body); text-decoration: none; display: flex; justify-content: space-between; align-items: center; }
.widget ul li a:hover { color: var(--ink); }
.widget-count { font-size: 11px; font-family: var(--font-mono); color: var(--ink-faint); }
.widget-cats-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* ════════════════════════════════════════════════════════════════
   COMMENTS
   ════════════════════════════════════════════════════════════════ */
.comments-area { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.comments-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 32px; letter-spacing: -0.01em; }
.comment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 24px; }
.comment { display: flex; gap: 14px; }
.comment-avatar img { width: 40px; height: 40px; border-radius: 50%; }
.comment-body { flex: 1; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author { font-weight: 700; font-size: 14px; color: var(--ink); }
.comment-date { font-size: 12px; color: var(--ink-muted); font-family: var(--font-mono); }
.comment-text { font-size: 14px; color: var(--ink-body); line-height: 1.65; }
.comment-text p { margin-bottom: 0.8em; }
.comment-reply { margin-top: 8px; }
.comment-reply a { font-size: 12px; color: var(--ink-muted); text-decoration: none; font-weight: 600; }
.comment-reply a:hover { color: var(--ink); }
.comment-form { margin-top: 48px; }
.comment-form-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 24px; }
.comment-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .comment-form-fields { grid-template-columns: 1fr; } }
.comment-form-comment { margin-bottom: 14px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: var(--on-ink); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 48px; padding: 56px 0 40px; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 28px; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-mark { width: 30px; height: 30px; background: var(--on-ink); color: var(--ink); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display-app); font-size: 13px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; color: var(--on-ink); }
.footer-brand-desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 34ch; margin: 0; }
.footer-brand-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-brand-social a { width: 32px; height: 32px; border-radius: var(--radius-xs); border: 1px solid rgba(255,255,255,0.15); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); text-decoration: none; transition: all var(--duration-fast); }
.footer-brand-social a:hover { background: rgba(255,255,255,0.08); color: var(--on-ink); border-color: rgba(255,255,255,0.28); }
.footer-brand-social svg { width: 14px; height: 14px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; align-items: start; }
.footer-nav-col { min-width: 120px; }
.footer-nav-title { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.40); margin: 0 0 14px; }
.footer-link-list { list-style: none; margin: 0; padding: 0; }
.footer-link-list li { margin-bottom: 10px; }
.footer-link-list a, .footer-nav-col ul li a { font-size: 14px; color: rgba(255,255,255,0.72); text-decoration: none; transition: color var(--duration-fast); }
.footer-link-list a:hover, .footer-nav-col ul li a:hover { color: var(--on-ink); }
.site-footer a:hover { color: var(--on-ink); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.40); }
.footer-bottom a { color: rgba(255,255,255,0.40); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.70); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { color: rgba(255,255,255,0.55); text-decoration: none; display: inline-flex; transition: color var(--duration-fast); }
.footer-social a:hover { color: var(--on-ink); }

/* ════════════════════════════════════════════════════════════════
   LANDING PAGE TEMPLATE
   ════════════════════════════════════════════════════════════════ */
.landing-hero { padding: clamp(80px, 12vh, 160px) 0; text-align: center; position: relative; overflow: hidden; }
.landing-features { padding: var(--section-padding) 0; background: var(--canvas-deep); }
.landing-cta { padding: clamp(80px, 12vh, 160px) 0; }

/* ════════════════════════════════════════════════════════════════
   E-E-A-T SIGNALS
   ════════════════════════════════════════════════════════════════ */
.eeat-signals { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.eeat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-full); border: 1px solid var(--hairline); font-size: 12px; font-weight: 500; color: var(--ink-muted); background: var(--surface); }
.eeat-badge svg { width: 13px; height: 13px; }

/* ════════════════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
   ════════════════════════════════════════════════════════════════ */
.nav-trigger { cursor: pointer; }
.nav-overlay { position: fixed; inset: 0; z-index: 150; background: var(--canvas); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--duration-slow) var(--ease-default); }
.nav-overlay.active { transform: translateX(0); }
.nav-overlay-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--hairline); }
.nav-overlay-nav { flex: 1; padding: 20px 24px; overflow-y: auto; }
.nav-overlay-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-overlay-nav li { margin: 0; }
.nav-overlay-nav a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline-soft); letter-spacing: -0.01em; }
.nav-overlay-nav a:hover { color: var(--ink-body); }
.nav-overlay-foot { padding: 20px 24px; border-top: 1px solid var(--hairline); display: flex; gap: 10px; }

/* ════════════════════════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════════════════════════ */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 40px; height: 40px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-xs); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity var(--duration-normal), transform var(--duration-normal); box-shadow: var(--shadow-app); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ════════════════════════════════════════════════════════════════ */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; z-index: 100; max-width: 360px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-overlay); display: none; }
.cookie-banner.active { display: block; }
.cookie-banner p { font-size: 13px; color: var(--ink-body); margin: 0 0 14px; line-height: 1.55; }
.cookie-banner-actions { display: flex; gap: 8px; }

/* ════════════════════════════════════════════════════════════════
   ANIMAÇÕES & KEYFRAMES
   ════════════════════════════════════════════════════════════════ */
@keyframes fade-up   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-right { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 10px rgba(34,197,94,0.5); } 50% { box-shadow: 0 0 20px rgba(34,197,94,0.8); } }

.fade-up    { animation: fade-up    0.6s var(--ease-out) both; }
.fade-right { animation: fade-right 0.5s var(--ease-out) both; }
.fade-in    { animation: fade-in    0.4s var(--ease-out) both; }
.fade-in-up { animation: fade-in-up 0.6s var(--ease-out) both; }
.pulse      { animation: pulse-dot  2s ease-in-out infinite; }
.spin       { animation: spin 1s linear infinite; }
.cursor-blink::after { content: '_'; animation: blink 1s step-end infinite; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal.in-view, .reveal.visible { opacity: 1; transform: translateY(0); }

/* THEME TRANSITION */
html { transition: background-color var(--duration-normal) var(--ease-default), color var(--duration-normal) var(--ease-default); }
*, *::before, *::after { transition: background-color var(--duration-fast) var(--ease-default), border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default); }

/* ════════════════════════════════════════════════════════════════
   DARK THEME — SOMBRAS E AJUSTES
   Tokens de cor são injetados por appearance.php.
   Aqui ficam apenas os overrides estruturais de sombra.
   ════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.20), 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:       0 4px 16px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
  --shadow-lg:       0 8px 32px rgba(0,0,0,0.40);
  --shadow-app:      0 4px 12px rgba(0,0,0,0.35);
  --shadow-overlay:  0 6px 24px rgba(0,0,0,0.30);
  --shadow-card:     0 0 0 1px rgba(255,255,255,0.05);
  --shadow-elevated: 0 4px 24px rgba(0,0,0,0.40);
}

/* Surface elevation dark */
[data-theme="dark"] .surface-elevated,
[data-theme="dark"] .card,
[data-theme="dark"] .post-card { box-shadow: 0 0 0 1px rgba(255,255,255,0.04); }

/* Forms dark */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea,
[data-theme="dark"] select { background: var(--surface); color: var(--ink); }

/* Buttons dark — primary invertido fica claro */
[data-theme="dark"] .btn-primary { color: var(--on-ink); }
[data-theme="dark"] .btn-secondary { background: transparent; }

/* ════════════════════════════════════════════════════════════════
   TERMINAL BLACK PRESET — variações especiais
   ════════════════════════════════════════════════════════════════ */
html[data-theme="dark"] body.dark-preset-terminal-black { --shadow-glow-sm: 0 0 20px rgba(0,231,192,0.12); --shadow-glow-md: 0 0 40px rgba(0,231,192,0.18); }
html[data-theme="dark"] body.dark-preset-terminal-black .site-header { border-bottom-color: rgba(0,231,192,0.12); }
html[data-theme="dark"] body.dark-preset-terminal-black .eyebrow,
html[data-theme="dark"] body.dark-preset-terminal-black .eyebrow-mono,
html[data-theme="dark"] body.dark-preset-terminal-black .section-label { color: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .main-navigation .current-menu-item > a,
html[data-theme="dark"] body.dark-preset-terminal-black .main-navigation .current_page_item > a,
html[data-theme="dark"] body.dark-preset-terminal-black .main-navigation a:hover { color: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .reading-progress-bar { background: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .trust-banner { border-left-color: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .toc-sticky a.active { color: var(--accent); border-left-color: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .tag:hover { background: var(--accent-soft); color: var(--accent); }
html[data-theme="dark"] body.dark-preset-terminal-black .site-footer a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   WP CORE COMPAT
   ════════════════════════════════════════════════════════════════ */
.wp-block-image.alignleft { float: left; margin-right: 28px; margin-bottom: 16px; }
.wp-block-image.alignright { float: right; margin-left: 28px; margin-bottom: 16px; }
.alignleft { float: left; }
.alignright { float: right; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; gap: 8px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-xs); display: block; }
.wp-block-separator { border: 0; border-top: 1px solid var(--hairline); margin: 2em 0; }
.wp-block-pullquote { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 24px 0; margin: 2em 0; text-align: center; }
.wp-block-pullquote blockquote { border: none; background: transparent; padding: 0; }

/* ════════════════════════════════════════════════════════════════
   PRINT
   ════════════════════════════════════════════════════════════════ */
@media print {
  .reading-progress, .back-to-top, .nav-overlay, .search-modal,
  .cookie-banner, .share-buttons, .post-utilities, .icon-btn,
  .site-footer, .sidebar-inner, .header-actions { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
}

/* ════════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   404 / NO RESULTS
   ════════════════════════════════════════════════════════════════ */
.error-404-inner { text-align: center; padding: clamp(80px, 14vh, 160px) 0; }
.error-404-code { font-family: var(--font-display-app); font-size: clamp(80px, 18vw, 200px); font-weight: 900; line-height: 0.85; letter-spacing: -0.04em; color: var(--ink); opacity: 0.08; }
.error-404-title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 40px); font-weight: 500; color: var(--ink); margin: -0.4em 0 16px; }
.error-404-desc { font-size: 17px; color: var(--ink-body); max-width: 40ch; margin: 0 auto 32px; line-height: 1.65; }
.no-results { padding: 80px 0; text-align: center; }
.no-results h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.no-results p { color: var(--ink-body); max-width: 40ch; margin: 0 auto 24px; }


/* ════════════════════════════════════════════════════════════════
   COMPLEMENTO — Componentes de template herdados e convertidos
   para tokens do Design System Unificado v1.0
   ════════════════════════════════════════════════════════════════ */

/* HERO & PAGE HEADER */
.hero { padding: 80px 0 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); line-height: 0.92; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; line-height: 1.55; color: var(--ink-body); max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-dark { background: var(--ink); color: var(--on-ink); }
.hero-dark h1, .hero-dark .eyebrow { color: var(--on-ink); }
.hero-dark .eyebrow { opacity: 0.6; }
.hero-dark p.lead { color: rgba(255,255,255,0.8); }

.page-header { padding: 60px 0 32px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-header h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.page-header .lead { font-size: 16px; color: var(--ink-muted); max-width: 620px; }

/* BREADCRUMBS */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 24px; }
.card-outlined { background: var(--canvas); border: 1.5px solid var(--ink); border-radius: var(--radius-sm); padding: 24px; position: relative; }
.card-header-tab { display: inline-block; background: var(--ink); color: var(--on-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 18px; border-radius: var(--radius-xs); position: absolute; top: -16px; left: 18px; }

/* POST LIST & ARCHIVE */
.post-list { display: flex; flex-direction: column; gap: 32px; padding: 48px 0; }
.post-card { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.post-card:last-child { border-bottom: none; padding-bottom: 0; }
.post-card-thumb { aspect-ratio: 4/3; background: var(--canvas-deep); border-radius: var(--radius-sm); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { min-width: 0; }
.post-card-meta { display: flex; gap: 12px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.post-card-meta a { color: var(--ink); text-decoration: none; }
.post-card h2 { font-size: 28px; margin-bottom: 10px; line-height: 1.05; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-card-excerpt { font-size: 15px; color: var(--ink-body); margin-bottom: 14px; }
.post-card-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-muted); }
.post-card-foot .avatar { width: 28px; height: 28px; font-size: 10px; }
.post-card-author-link { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.post-card-author-link:hover { color: var(--ink); }
.post-card-author-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .post-card { grid-template-columns: 1fr; } .post-card-thumb { aspect-ratio: 16/9; } }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; padding: 48px 0; }
.post-grid .post-card { grid-template-columns: 1fr; gap: 16px; border-bottom: none; padding-bottom: 0; }
.post-grid .post-card-thumb { aspect-ratio: 16/10; }
.post-grid h2 { font-size: 22px; }

.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--hairline); margin-bottom: 32px; }
.post-featured .post-card-thumb { aspect-ratio: 4/3; }
.post-featured h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }

/* SINGLE POST */
.single-post-header { padding: 48px 0 32px; }
.single-post-header h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 16px; }

/* Largura do conteúdo por postagem */
.post-content-narrow,
.post-content-narrow.container-narrow { max-width: 620px; }
.post-content-medium,
.post-content-medium.container-narrow { max-width: 900px; }
.post-content-wide,
.post-content-wide.container-narrow { max-width: 1100px; }
.post-content-full,
.post-content-full.container { max-width: var(--container-max); }
.single-post-meta { display: flex; gap: 16px; align-items: center; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-bottom: 20px; flex-wrap: wrap; }
.single-post-meta time, .single-post-meta .author { color: var(--ink-body); }
.single-post-meta a { color: inherit; text-decoration: none; }
.single-post-meta a:hover { color: var(--ink); }

/* Author link no single post header — avatar + nome clicáveis juntos */
.post-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: inherit;
  transition: color .15s;
}
.post-author-link:hover { color: var(--ink); }
.post-author-link:hover .post-author-name { text-decoration: underline; text-underline-offset: 3px; }
.post-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.post-author-text {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.post-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.post-author-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.single-post-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.single-post-thumb { aspect-ratio: 16/9; background: var(--canvas-deep); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 48px; }
.single-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-post-lead { font-size: 18px; color: var(--ink-body); max-width: 620px; line-height: 1.55; margin-bottom: 24px; }
.single-post-thumb-page { margin-top: 40px; }

.entry-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--ink-body); }
.entry-content h2 { font-size: 32px; margin: 0.9em 0 0.6em; }
.entry-content h3 { font-size: 22px; margin: 1.6em 0 0.5em; text-transform: none; letter-spacing: -0.005em; font-family: var(--font-body); font-weight: 800; }
.entry-content h4 { font-size: 17px; margin: 1.4em 0 0.4em; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-body); font-weight: 700; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content > p:first-of-type::first-letter { font-family: var(--font-display); font-size: 4em; float: left; line-height: 0.85; margin: 6px 12px 0 0; color: var(--ink); }
.entry-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.entry-content figure { margin: 1.5em 0; }

.entry-footer { max-width: 760px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid var(--hairline); }
.entry-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }

.post-toc { background: var(--canvas-deep); border-left: 3px solid var(--ink); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 2em 0; }
.post-toc-title { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.post-toc ol, .post-toc ul { padding-left: 1.2em; margin: 0; }
.post-toc li { margin-bottom: 4px; font-size: 14px; }
.post-toc a { color: var(--ink-body); text-decoration: none; }
.post-toc a:hover { color: var(--ink); text-decoration: underline; }

.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--canvas-deep); border-radius: var(--radius-sm); padding: 28px; margin: 32px 0; }
.author-box-info-name { font-family: var(--font-display-app); font-size: 20px; color: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 4px; }
.author-box-name-link { color: inherit; text-decoration: none; }
.author-box-info-role { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; font-weight: 700; }
.author-box-bio { font-size: 14px; color: var(--ink-body); line-height: 1.55; margin-bottom: 12px; }
.author-box-credentials { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.author-box-credentials .tag { font-size: 9px; }
.author-box-social { display: flex; gap: 6px; }
.author-box-social a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
.author-box-social a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.author-box-social svg { width: 14px; height: 14px; }

.related-posts { max-width: 1180px; margin: 36px auto 0; padding: 28px 32px 0; border-top: 1px solid var(--hairline); }
.related-posts h2 { font-size: 24px; margin-bottom: 24px; }
.inline-related { margin: 0.65em 0 1.35em; padding: 10px 0 10px; background: transparent; border-width: 1px 0; border-style: solid; border-color: var(--hairline-soft); border-radius: 0; }
.inline-related-header { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px 18px; margin-bottom: 6px; flex-wrap: wrap; }
.inline-related-title-heading { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); color: var(--ink-muted); }
.inline-related-kicker { display: none; margin: 0; font-size: 9px; line-height: 1.5; color: var(--ink-faint); font-family: var(--font-mono); }
.inline-related-list { display: grid; gap: 0; }
.inline-related-link { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 10px 0; color: inherit; text-decoration: none; border-top: 1px solid var(--hairline-soft); }
.inline-related-item:first-child .inline-related-link { border-top: 0; padding-top: 0; }
.inline-related-item:last-child .inline-related-link { padding-bottom: 0; }
.inline-related-body { min-width: 0; display: grid; gap: 4px; }
.inline-related-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.inline-related-title { display: block; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--ink); text-wrap: pretty; }
.inline-related-excerpt { display: block; font-size: 11px; line-height: 1.45; color: var(--ink-muted); }
.inline-related-arrow { display: none; }
.entry-content .inline-related a,
.entry-content .inline-related a:hover,
.inline-related .inline-related-title,
.inline-related .inline-related-excerpt { text-decoration: none; }
.inline-related-link:hover .inline-related-title,
.inline-related-link:hover .inline-related-excerpt { color: var(--ink); text-decoration: none; }
.inline-related-thumb { display: none; width: 52px; border-radius: 8px; overflow: hidden; background: var(--canvas); }
.inline-related-link.has-thumb .inline-related-thumb { display: block; }
.inline-related-thumb img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.inline-related-card .inline-related-link { grid-template-columns: minmax(0, 1fr); }
.inline-related-card .inline-related-link.has-thumb { grid-template-columns: 52px minmax(0, 1fr); }
.inline-related-card .inline-related-link.has-thumb .inline-related-thumb { grid-column: 1; }
.inline-related-card .inline-related-link.has-thumb .inline-related-body { grid-column: 2; }
.inline-related-card .inline-related-link.has-thumb .inline-related-arrow { grid-column: 3; }
.inline-related-card.has-subtle-bg { padding: 8px 16px 12px; background: color-mix(in srgb, var(--canvas-deep) 62%, transparent); border: 1px solid var(--hairline-soft); border-radius: var(--radius-sm); }
.inline-related-card.has-subtle-bg .inline-related-link { border-top-color: var(--hairline); }
.inline-related-minimal { padding: 14px 0 10px; background: transparent; border-width: 1px 0; border-radius: 0; border-color: var(--hairline-soft); }
.inline-related-minimal .inline-related-header { margin-bottom: 8px; gap: 8px 18px; }
.inline-related-minimal .inline-related-title-heading { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-muted); }
.inline-related-minimal .inline-related-kicker { display: none; font-size: 9px; color: var(--ink-faint); }
.inline-related-minimal .inline-related-list { gap: 0; }
.inline-related-minimal .inline-related-link { gap: 12px; padding: 10px 0; }
.inline-related-minimal .inline-related-link.has-thumb { grid-template-columns: 48px minmax(0, 1fr); }
.inline-related-minimal .inline-related-link:not(.has-thumb) { grid-template-columns: 1fr; }
.inline-related-minimal .inline-related-thumb { width: 48px; border-radius: 8px; background: var(--canvas); }
.inline-related-minimal .inline-related-link.has-thumb .inline-related-thumb { grid-column: 1; }
.inline-related-minimal .inline-related-link.has-thumb .inline-related-body { grid-column: 2; }
.inline-related-minimal .inline-related-body { gap: 4px; }
.inline-related-minimal .inline-related-meta { gap: 6px; font-size: 9px; letter-spacing: 0.12em; color: var(--ink-faint); }
.inline-related-minimal .inline-related-title { font-size: 14px; line-height: 1.3; font-weight: 700; text-wrap: pretty; }
.inline-related-minimal .inline-related-excerpt { font-size: 11px; line-height: 1.45; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.inline-related-minimal .inline-related-arrow { display: none; }
.inline-related-minimal .inline-related-link:hover .inline-related-title,
.inline-related-minimal .inline-related-link:hover .inline-related-excerpt { text-decoration: none; color: var(--ink); }
.inline-related-minimal.has-subtle-bg { padding: 8px 14px 10px; background: color-mix(in srgb, var(--canvas-deep) 48%, transparent); border: 1px solid var(--hairline-soft); border-radius: calc(var(--radius-sm) - 4px); }
.inline-related-minimal.has-subtle-bg .inline-related-link { border-top-color: var(--hairline); }
.entry-content .inline-related { margin-top: 0.45em; }
.entry-content p + .inline-related { margin-top: 0.35em; }
@media (max-width: 700px) {
  .inline-related { padding: 10px 0 8px; }
  .inline-related.has-subtle-bg { padding: 8px 12px 10px; }
  .related-posts { margin-top: 28px; padding: 22px 18px 0; }
  .inline-related-link,
  .inline-related-card .inline-related-link,
  .inline-related-card .inline-related-link.has-thumb,
  .inline-related-minimal .inline-related-link,
  .inline-related-minimal .inline-related-link.has-thumb { grid-template-columns: 1fr; }
  .inline-related-thumb,
  .inline-related-minimal .inline-related-thumb { width: 100%; max-width: 88px; }
  .inline-related-arrow { display: none; }
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-narrow { padding: 56px 0; }
.section-surface { background: var(--canvas-deep); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { font-size: 16px; color: var(--ink-muted); max-width: 620px; }
.section-head-split { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; }
.section-head-centered { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-center-link { text-align: center; margin-top: 32px; }
.section-dark { background: var(--ink); color: var(--on-ink); }
.section-dark-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.section-dark-title { color: var(--on-ink); }
.section-dark-text { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 24px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 28px; }
.feature-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.feature-card-link:hover { color: inherit; }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--canvas-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 22px; height: 22px; color: var(--ink); stroke-width: 1.5; }
.feature-icon-image { width: 24px; height: 24px; object-fit: contain; }
.feature-title { font-family: var(--font-display-app); font-size: 16px; color: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature-text { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }
.feature-text-fill { flex: 1; }
.feature-link-label { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }

.cta-banner { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); padding: 56px 48px; text-align: center; }
.cta-banner h2 { color: var(--on-ink); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 24px; font-size: 16px; }
.cta-banner .btn { background: var(--canvas); color: var(--ink); }
.cta-banner .btn:hover { background: var(--on-ink); }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 26px 24px; display: flex; flex-direction: column; }
.testimonial-quote { font-family: var(--font-display); font-size: 48px; line-height: 0.5; color: var(--ink); margin-bottom: 16px; opacity: 0.6; }
.testimonial-text { font-size: 14px; line-height: 1.55; color: var(--ink-body); margin-bottom: 20px; flex: 1; }
.testimonial-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hairline-soft); }
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.testimonial-role { font-size: 11px; color: var(--ink-muted); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-intro-content { margin-bottom: 48px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-trigger { width: 100%; background: transparent; border: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; text-align: left; cursor: pointer; font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-trigger svg { width: 18px; height: 18px; transition: transform .2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-content { padding: 0 0 22px; font-size: 15px; color: var(--ink-body); line-height: 1.6; display: none; }
.faq-item.open .faq-content { display: block; }
.faq-cta { text-align: center; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.faq-cta-text { margin-bottom: 16px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card-spaced { margin-bottom: 14px; }
.contact-card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.contact-card-link { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-card-address { font-style: normal; font-size: 14px; color: var(--ink-body); line-height: 1.6; }
.contact-form-title { font-size: 20px; margin-bottom: 8px; }
.contact-form-lead { font-size: 13px; color: var(--ink-muted); margin-bottom: 20px; }
.contact-form-note { font-size: 12px; color: var(--ink-faint); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* PRESS */
.press-contact-card { background: var(--canvas-deep); border-radius: var(--radius-sm); padding: 24px; margin-top: 32px; }
.press-contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.press-contact-link { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }

/* SITEMAP */
.sitemap-intro-content { margin-bottom: 40px; }
.sitemap-sections { display: flex; flex-direction: column; gap: 32px; }
.sitemap-section-title { font-size: 18px; margin-bottom: 14px; }
.sitemap-meta { padding-top: 24px; border-top: 1px solid var(--hairline); }
.sitemap-meta-text { font-size: 12px; color: var(--ink-muted); }
.sitemap-meta-text-tight { margin-top: 4px; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.team-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 28px; text-align: center; }
.team-card .avatar-xl { margin: 0 auto 16px; }
.team-name { font-family: var(--font-display-app); font-size: 18px; color: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 4px; }
.team-name-link { color: inherit; text-decoration: none; }
.team-role { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--ink-body); line-height: 1.5; margin-bottom: 14px; }
.team-card-actions { display: flex; gap: 6px; justify-content: center; }
.team-card-count { display: flex; gap: 6px; justify-content: center; font-size: 11px; color: var(--ink-muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pricing-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 32px 28px; display: flex; flex-direction: column; }
.pricing-card.featured { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pricing-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.pricing-card.featured .pricing-tag { background: var(--canvas); color: var(--ink); padding: 4px 10px; border-radius: var(--radius-xs); display: inline-block; }
.pricing-name { font-family: var(--font-display-app); font-size: 26px; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 14px; }
.pricing-price { font-family: var(--font-display); font-size: 48px; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.pricing-price span { font-size: 14px; opacity: 0.7; }
.pricing-sub { font-size: 13px; opacity: 0.7; margin-bottom: 24px; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; }
.pricing-list li svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 5px; }

/* STATS */
.stats-banner { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); padding: 48px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.stats-num { font-family: var(--font-display); font-size: 44px; letter-spacing: -0.02em; line-height: 1; }
.stats-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-top: 8px; }

/* FORMS */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-label, label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], textarea, select { width: 100%; height: 38px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-xs); padding: 0 14px; font-family: var(--font-body); font-size: 13px; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s; }
textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.5; border-radius: var(--radius-sm); }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hairline-soft); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field-hint { font-size: 11px; color: var(--ink-muted); }

.search-form { display: flex; gap: 6px; }
.search-form .search-field { flex: 1; }
.search-submit { background: var(--ink); color: var(--on-ink); border: none; padding: 0 20px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius-xs); cursor: pointer; height: 44px; }
.search-form-wrap { max-width: 480px; margin-top: 24px; }

.newsletter { background: var(--canvas-deep); border-radius: var(--radius-sm); padding: 32px 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 32px 0; }
.newsletter-title { font-family: var(--font-display-app); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); text-transform: uppercase; margin-bottom: 4px; }
.newsletter-text { font-size: 13px; color: var(--ink-muted); }
.newsletter-form { display: flex; gap: 6px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius-xs); padding: 4px 4px 4px 16px; min-width: 360px; }
.newsletter-form input { flex: 1; border: none; outline: none; background: transparent; height: 36px; padding: 0; box-shadow: none !important; }
@media (max-width: 700px) { .newsletter { grid-template-columns: 1fr; } .newsletter-form { min-width: 0; } }

/* COMMENTS */
.comments-area { max-width: 760px; margin: 64px auto 0; padding-top: 48px; border-top: 1px solid var(--hairline); }
.comments-title { font-size: 22px; margin-bottom: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--hairline-soft); display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.comment-body .avatar { width: 40px; height: 40px; }
.comment-author { font-size: 13px; font-weight: 700; color: var(--ink); }
.comment-metadata { font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); margin-bottom: 8px; }
.comment-content { font-size: 14px; color: var(--ink-body); line-height: 1.55; }
.children { list-style: none; padding-left: 50px; margin-top: 12px; }
.comment-respond { background: var(--canvas-deep); padding: 28px; border-radius: var(--radius-sm); }

/* PAGINATION */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 32px 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius-xs); color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: 13px; }
.pagination .page-numbers:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pagination .dots { border-color: transparent; }


/* site-footer — ver bloco principal no DS */
.site-footer h3 { color: var(--on-ink); font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) repeat(3, minmax(0, 0.94fr)); column-gap: 44px; row-gap: 24px; align-items: start; margin-bottom: 42px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 28px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: var(--on-ink); }
.site-footer p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.footer-brand-column { max-width: 292px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand-mark { width: 32px; height: 32px; border-radius: var(--radius-xs); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,0.08); color: var(--on-ink); border: 1px solid rgba(255,255,255,0.18); font-family: var(--font-display-app); font-size: 14px; font-weight: 900; line-height: 1; text-transform: uppercase; }
.site-title.footer-brand-title { color: var(--on-ink); font-family: var(--font-display-app); font-size: 18px; font-weight: 900; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
/* footer brand with icon (no custom logo) */
.footer-site-branding { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-mark { width: 30px; height: 30px; background: var(--on-ink); color: var(--ink); border-radius: var(--radius-xs); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-display-app); font-size: 13px; font-weight: 900; line-height: 1; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.1); }
.footer-brand-name.site-title { color: var(--on-ink); font-family: var(--font-display-app); font-size: 17px; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; margin: 0; }
@media (max-width: 600px) { .footer-brand-title { font-size: 16px; letter-spacing: -0.01em; } }
.footer-brand-column > p { max-width: 232px; font-family: var(--font-mono); font-size: 12px; line-height: 1.82; color: rgba(255,255,255,0.62); }
.footer-column { min-width: 0; }
.footer-link-list { list-style: none; margin: 0; padding: 0; }
.footer-link-list li { margin-bottom: 10px; }
.footer-link-list a { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.footer-link-list a:hover { color: var(--on-ink); }
.footer-link-accent { color: var(--accent) !important; }
.footer-link-accent:hover { color: var(--on-ink) !important; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: auto; height: auto; border: 0; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.76); }
.footer-social a:hover { color: var(--on-ink); background: transparent; border-color: transparent; }
.footer-social svg { width: 15px; height: 15px; }
.footer-contact { font-style: normal; }
.footer-contact p { margin: 0 0 10px; }
.footer-contact p:last-child { margin-bottom: 0; }
.footer-ai-links { padding: 16px 0 12px; margin-bottom: 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-ai-links-list { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-ai-link { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.28); border-radius: 50%; transition: color .2s ease, transform .2s ease; }
.footer-ai-link:hover { color: var(--on-ink); transform: translateY(-1px); }
.footer-ai-link svg { width: 18px; height: 18px; }
.site-footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 11px; color: rgba(255,255,255,0.5); }
.site-footer-bottom-copy { letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-mono); font-size: 9px; }
.site-footer-bottom-links { display: flex; gap: 18px; justify-content: flex-end; }
.footer-legal-menu { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-legal-menu a { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.46); }
.footer-legal-menu a:hover { color: var(--on-ink); }
.editorial-badges { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.5); }
.editorial-badges-link { color: inherit; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.brand-watermark {
  background: var(--ink);
  overflow: hidden;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.brand-watermark-text {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(72px, 15vw, 232px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--on-ink);
  opacity: 0.06;
  white-space: nowrap;
  padding: 0 24px 16px;
}
.brand-watermark--camillo .brand-watermark-text {
  font-size: clamp(52px, 8.8vw, 152px);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.045em;
  opacity: 0.05;
  padding: 10px 20px 18px;
  white-space: nowrap;
}
.brand-watermark--long .brand-watermark-text {
  font-size: clamp(44px, 7.4vw, 124px);
  letter-spacing: -0.05em;
}
@media (max-width: 900px) {
  .brand-watermark-text {
    font-size: clamp(56px, 13vw, 148px);
    padding: 0 16px 12px;
  }
  .brand-watermark--camillo .brand-watermark-text {
    font-size: clamp(34px, 11vw, 76px);
    line-height: 0.84;
    padding: 8px 12px 14px;
    white-space: normal;
    text-wrap: balance;
  }
  .brand-watermark--long .brand-watermark-text {
    font-size: clamp(28px, 10vw, 58px);
  }
}

/* LANDING */
.landing-shell-header,
.landing-shell-footer { padding: 24px 32px; background: var(--canvas); border-color: var(--hairline); }
.landing-shell-header { border-bottom: 1px solid var(--hairline); }
.landing-shell-header-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.landing-hero-media { padding: 0; }
.landing-featured-image { width: 100%; height: auto; display: block; }
.landing-title { margin-bottom: 24px; }
.landing-shell-footer { border-top: 1px solid var(--hairline); text-align: center; font-size: 11px; color: var(--ink-muted); }
.landing-shell-footer-link { color: inherit; }

/* E-E-A-T */
.trust-banner { background: var(--canvas-deep); border-left: 3px solid var(--success-ink); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 2em 0; font-size: 13px; }
.trust-banner-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; color: var(--success-ink); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.trust-banner-body { color: var(--ink-body); }
.trust-banner-link { font-weight: 700; color: var(--ink); }
.trust-banner-role,
.trust-banner-meta { color: var(--ink-muted); }
.trust-banner-meta { margin-top: 4px; font-size: 12px; }
.sources-list { margin: 48px 0 32px; padding: 24px; background: var(--canvas-deep); border-radius: var(--radius-sm); }
.sources-list-title { font-size: 14px; letter-spacing: 0.08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sources-list-items { font-size: 13px; color: var(--ink-body); padding-left: 1.2em; margin: 0; }
.sources-list-item { margin-bottom: 6px; }
.sources-list-link { color: var(--ink-body); text-decoration: underline; text-underline-offset: 2px; }
.sources-list-url { display: block; color: var(--ink-muted); font-size: 11px; margin-top: 2px; font-family: var(--font-mono); }
.post-grid-compact { padding: 0; }
.post-card-title-sm { font-size: 22px; }
.case-result-wrap { margin-bottom: 12px; }

/* WIDGETS */
.widget-area { display: flex; flex-direction: column; gap: 32px; padding-top: 48px; min-width: 0; }
.widget {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  box-shadow: none;
}
.widget .widget-title,
h2.widget-title,
h3.widget-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 0;
  border: none;
}
.widget .widget-title::before,
h2.widget-title::before,
h3.widget-title::before {
  content: "";
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: none;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 15px;
  line-height: 1.55;
}
.widget li:last-child { border-bottom: none; padding-bottom: 0; }
.widget a { color: var(--ink-body); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.widget a:hover { color: var(--ink); }
.widget_search { padding: var(--space-5); }
.widget_search .search-form {
  position: relative;
  display: block;
}
.widget_search label { margin: 0; }
.widget_search .search-field {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 48px 0 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
  background: var(--surface);
  border: 1.5px solid var(--hairline-strong);
  box-shadow: none;
}
.widget_search .search-field::placeholder { color: var(--ink-faint); }
.widget_search .search-field:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--hairline-soft);
}
.widget_search .search-submit {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  transform: translateY(-50%);
}
.widget_search .search-submit:hover { color: var(--ink); background: var(--canvas); border-color: var(--hairline); }
.widget_search .search-submit svg { width: 16px; height: 16px; }
.widget_categories li,
.widget_recent_entries li { min-height: 44px; }
.widget-list-link {
  flex: 1;
  min-width: 0;
  color: var(--ink-body);
}
.widget-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.widget-recent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.widget-recent-text {
  flex: 1;
  min-width: 0;
  color: var(--ink-body);
  line-height: 1.5;
}
.widget-recent-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.widget-recent-link:hover .widget-recent-arrow {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.widget_recent_entries li:last-child,
.widget_categories li:last-child { padding-bottom: 0; }
.widget_tag_cloud .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.widget_tag_cloud a { display: inline-block; padding: 4px 10px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-xs); font-size: 10px !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.widget_tag_cloud a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* BLOG LAYOUT */
.content-feed { min-width: 0; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
body.search .search-results-content .widget-area .widget_search { display: none; }
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .post-card { grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); gap: 22px; }
  .post-card h2 { font-size: 24px; }
}
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } .widget-area { padding-top: 24px; } }

/* 404 / NO RESULTS */
.error-404, .no-results { text-align: center; padding: 96px 0; }
.error-num { font-family: var(--font-display); font-size: clamp(96px, 18vw, 192px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 8px; }
.error-title { font-size: 28px; margin-bottom: 14px; }
.error-text { color: var(--ink-muted); max-width: 420px; margin: 0 auto 28px; }
.no-results-inner { text-align: center; padding: 48px 0; }
.no-results-text { margin-bottom: 24px; }
.no-results-search { max-width: 420px; margin: 0 auto; }
.error-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.error-search-wrap { max-width: 420px; margin: 0 auto; }

/* WP CORE COMPAT */
.alignleft { float: left; margin: 0.5em 1.5em 1.5em 0; }
.alignright { float: right; margin: 0.5em 0 1.5em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.clear::after, .entry-content::after, .comment-content::after, .site-content::after { content: ""; display: table; clear: both; }
.wp-block-image figcaption, .wp-caption-text, .gallery-caption { font-size: 12px; color: var(--ink-muted); margin-top: 8px; text-align: center; }
.wp-block-button__link { background: var(--ink) !important; color: var(--on-ink) !important; border-radius: var(--radius-xs) !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 24px !important; }

@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .comments-area, .related-posts, .breadcrumbs, .author-box, .newsletter, .menu-toggle { display: none !important; }
  .entry-content { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════

   DARK MODE — refinamentos premium
   Tokens AAA são injetados via inc/appearance.php. Aqui ficam
   ajustes finos por componente para legibilidade ótima.
   ════════════════════════════════════════════════════════════════ */

[data-theme="dark"] body { background: var(--canvas); color: var(--ink-body); }
[data-theme="dark"] ::selection { background: rgba(245, 241, 232, 0.20); color: var(--ink); }

/* Surface elevation: cards mais brilhantes que canvas pra criar profundidade */
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .widget,
[data-theme="dark"] .team-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pricing-card:not(.featured) {
  background: var(--surface);
  border-color: var(--hairline);
}

/* Pricing card destacado: mais alto na escala de elevação */
[data-theme="dark"] .pricing-card.featured {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
[data-theme="dark"] .pricing-card.featured .pricing-tag { background: var(--canvas-deep); color: var(--ink); }

/* Hero/CTA dark precisa de canvas-deep pra contrastar com canvas */
[data-theme="dark"] .hero-dark,
[data-theme="dark"] .cta-banner,
[data-theme="dark"] .stats-banner {
  background: var(--canvas-deep);
  border: 1px solid var(--hairline);
  color: var(--ink);
}
[data-theme="dark"] .hero-dark h1,
[data-theme="dark"] .cta-banner h2,
[data-theme="dark"] .stats-banner { color: var(--ink); }
[data-theme="dark"] .hero-dark .eyebrow { color: var(--accent); opacity: 1; }
[data-theme="dark"] .hero-dark p.lead,
[data-theme="dark"] .cta-banner p { color: var(--ink-body); }
[data-theme="dark"] .cta-banner .btn { background: var(--ink); color: var(--on-ink); }
[data-theme="dark"] .cta-banner .btn:hover { background: var(--ink-body); color: var(--on-ink); }
[data-theme="dark"] .stats-lbl { color: var(--ink-muted); opacity: 1; }
[data-theme="dark"] .widget {
  background: var(--surface);
  border-color: var(--hairline);
  box-shadow: none;
}
[data-theme="dark"] .widget .widget-title,
[data-theme="dark"] h2.widget-title,
[data-theme="dark"] h3.widget-title { color: var(--ink); }
[data-theme="dark"] .widget li { border-bottom-color: var(--hairline-soft); }
[data-theme="dark"] .widget a,
[data-theme="dark"] .widget-list-link,
[data-theme="dark"] .widget-recent-text { color: var(--ink-body); }
[data-theme="dark"] .widget a:hover { color: var(--ink); }
[data-theme="dark"] .widget_search .search-field {
  background: var(--canvas-deep);
  color: var(--ink-body);
  border-color: var(--hairline-strong);
  box-shadow: none;
}
[data-theme="dark"] .widget_search .search-field::placeholder { color: var(--ink-muted); }
[data-theme="dark"] .widget_search .search-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
[data-theme="dark"] .widget_search .search-submit { color: var(--ink-muted); }
[data-theme="dark"] .widget_search .search-submit:hover { color: var(--ink); background: var(--canvas-deep); border-color: var(--hairline); }
[data-theme="dark"] .widget-count-badge,
[data-theme="dark"] .widget-recent-arrow {
  background: var(--canvas-deep);
  border: 1px solid var(--hairline);
  color: var(--ink-body);
}
[data-theme="dark"] .widget-recent-link:hover .widget-recent-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

/* Footer dark: usar canvas-deep pra evitar buracos pretos */
[data-theme="dark"] .site-footer {
  background: var(--canvas-deep);
  color: var(--ink-body);
  border-top: 1px solid var(--hairline);
}
[data-theme="dark"] .site-footer h3 { color: var(--ink); }
[data-theme="dark"] .site-footer a { color: var(--ink-body); }
[data-theme="dark"] .site-footer a:hover { color: var(--ink); }
[data-theme="dark"] .footer-brand-column > p { color: var(--ink-muted); }
[data-theme="dark"] .footer-link-list a { color: var(--ink-body); }
[data-theme="dark"] .footer-link-list a:hover { color: var(--ink); }
[data-theme="dark"] .footer-link-accent { color: var(--success-ink) !important; }
[data-theme="dark"] .footer-social a { color: var(--ink-body); }
[data-theme="dark"] .footer-social a:hover { color: var(--ink); }
[data-theme="dark"] .footer-ai-links { border-top-color: var(--hairline); border-bottom-color: var(--hairline); }
[data-theme="dark"] .footer-ai-link { color: color-mix(in srgb, var(--ink-faint) 78%, transparent); }
[data-theme="dark"] .footer-ai-link:hover { color: var(--ink); }
[data-theme="dark"] .site-footer-bottom { border-top-color: var(--hairline); color: var(--ink-muted); }
[data-theme="dark"] .footer-legal-menu a { color: var(--ink-faint); }
[data-theme="dark"] .footer-legal-menu a:hover { color: var(--ink); }
[data-theme="dark"] .footer-brand-mark { background: var(--surface); color: var(--ink); border-color: var(--hairline-strong); box-shadow: 0 8px 18px rgba(0,0,0,0.22); }
[data-theme="dark"] .site-title.footer-brand-title { color: var(--ink); }
[data-theme="dark"] .footer-logo-mark { background: var(--ink); color: var(--on-ink); }
[data-theme="dark"] .footer-brand-name.site-title { color: var(--ink); }
[data-theme="dark"] .footer-social a { border-color: var(--hairline-strong); color: var(--ink); }
[data-theme="dark"] .footer-social a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
[data-theme="dark"] .brand-watermark {
  background: var(--canvas-deep);
}
[data-theme="dark"] .brand-watermark-text {
  color: var(--ink);
  opacity: 0.06;
}

/* Code blocks dark: contraste reforçado */
[data-theme="dark"] code { background: var(--canvas-deep); color: var(--ink); }
[data-theme="dark"] pre { background: #08080A; color: var(--ink-body); }
[data-theme="dark"] blockquote { background: var(--surface); color: var(--ink-body); border-left-color: var(--ink); }

/* Forms dark */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] textarea,
[data-theme="dark"] select { background: var(--surface); color: var(--ink); border-color: var(--hairline-strong); }
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--ink-faint); }
[data-theme="dark"] select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23EAF2F8' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
}
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

/* Buttons dark — primary invertido fica claro */
[data-theme="dark"] .btn-primary { background: var(--ink); color: var(--on-ink); }
[data-theme="dark"] .btn-primary:hover { background: var(--ink-body); color: var(--on-ink); }
[data-theme="dark"] .btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
[data-theme="dark"] .btn-secondary:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* Pill no dark: também inverte */
[data-theme="dark"] .pill { background: var(--ink); color: var(--on-ink); }

/* Status badges dark — mantêm semântica mas dessaturado */
[data-theme="dark"] .status-success { background: var(--success-bg); color: var(--success-ink); }
[data-theme="dark"] .status-warning { background: var(--warning-bg); color: var(--warning-ink); }
[data-theme="dark"] .status-info    { background: var(--info-bg);    color: var(--info-ink); }

/* Avatar/icon dark: garantir contraste */
[data-theme="dark"] .avatar { background: var(--ink); color: var(--on-ink); }
[data-theme="dark"] .icon-circle { border-color: var(--hairline-strong); color: var(--ink); }
[data-theme="dark"] .icon-circle-solid { background: var(--ink); color: var(--on-ink); }

/* TOC + reading progress no dark */
[data-theme="dark"] .post-toc { background: var(--surface); border-left-color: var(--ink); }
[data-theme="dark"] .toc-sticky a.active { color: var(--ink); border-left-color: var(--ink); }
[data-theme="dark"] .reading-progress-bar { background: var(--ink); }

/* Tag chip dark */
[data-theme="dark"] .tag { border-color: var(--hairline-strong); color: var(--ink); }
[data-theme="dark"] .tag:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* Search modal dark: surface destacado */
[data-theme="dark"] .search-modal-panel { background: var(--surface); border-color: var(--hairline-strong); box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
[data-theme="dark"] .search-modal-foot { background: var(--canvas-deep); }
[data-theme="dark"] .search-modal-kbd,
[data-theme="dark"] .search-modal-foot kbd { background: var(--canvas-deep); border-color: var(--hairline); color: var(--ink-muted); }
[data-theme="dark"] .inline-related { background: transparent; border-color: var(--hairline); }
[data-theme="dark"] .inline-related.has-subtle-bg { background: color-mix(in srgb, var(--surface) 88%, transparent); }
[data-theme="dark"] .inline-related-link { border-top-color: var(--hairline); }
[data-theme="dark"] .inline-related-title { color: var(--ink); }
[data-theme="dark"] .inline-related-excerpt { color: var(--ink-body); }
[data-theme="dark"] .inline-related-kicker,
[data-theme="dark"] .inline-related-meta,
[data-theme="dark"] .inline-related-arrow { color: var(--ink-muted); }
[data-theme="dark"] .search-modal-item-icon { border-color: var(--hairline-strong); color: var(--ink-muted); }
[data-theme="dark"] .search-modal-item:hover,
[data-theme="dark"] .search-modal-item.active { background: var(--canvas-deep); border-left-color: var(--ink); }

/* Nav overlay dark */
[data-theme="dark"] .nav-overlay-panel { background: var(--canvas-deep); border-left-color: var(--hairline-strong); }
[data-theme="dark"] .nav-overlay-backdrop { background: rgba(0,0,0,0.65); }

/* Cookie banner dark */
[data-theme="dark"] .cookie-banner { background: var(--surface); border-color: var(--hairline-strong); box-shadow: 0 12px 48px rgba(0,0,0,0.5); }

/* Back to top dark */
[data-theme="dark"] .back-to-top { background: var(--ink); color: var(--on-ink); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
[data-theme="dark"] .back-to-top:hover { background: var(--ink-body); }

/* Share buttons dark */
[data-theme="dark"] .share-buttons { background: var(--surface); border: 1px solid var(--hairline); }
[data-theme="dark"] .share-btn { background: var(--canvas-deep); border-color: var(--hairline-strong); color: var(--ink); }
[data-theme="dark"] .share-btn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* Author box dark */
[data-theme="dark"] .author-box { background: var(--surface); border: 1px solid var(--hairline); }

/* Newsletter dark */
[data-theme="dark"] .newsletter { background: var(--surface); border: 1px solid var(--hairline); }
[data-theme="dark"] .newsletter-form { background: var(--canvas-deep); border-color: var(--ink); }

/* Trust banner dark */
[data-theme="dark"] .trust-banner { background: var(--surface) !important; }

/* Terminal Black preset — linguagem visual do mock */
[data-theme="dark"] body.dark-preset-terminal-black .site-header,
[data-theme="dark"] body.dark-preset-terminal-black .page-header,
[data-theme="dark"] body.dark-preset-terminal-black .hero-dark,
[data-theme="dark"] body.dark-preset-terminal-black .section-dark {
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] body.dark-preset-terminal-black .site-header::before,
[data-theme="dark"] body.dark-preset-terminal-black .page-header::before,
[data-theme="dark"] body.dark-preset-terminal-black .hero-dark::before,
[data-theme="dark"] body.dark-preset-terminal-black .section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.008) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.008) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.72;
}
[data-theme="dark"] body.dark-preset-terminal-black .site-header {
  background: rgba(4, 7, 10, 0.82);
  border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-branding .logo-mark {
  background: rgba(0, 229, 176, 0.12);
  color: var(--accent);
  border-color: rgba(0, 229, 176, 0.2);
  box-shadow: 0 0 18px rgba(0, 229, 176, 0.08);
}
[data-theme="dark"] body.dark-preset-terminal-black .main-navigation a {
  color: rgba(234, 242, 248, 0.72);
}
[data-theme="dark"] body.dark-preset-terminal-black .main-navigation a:hover,
[data-theme="dark"] body.dark-preset-terminal-black .main-navigation .current-menu-item > a,
[data-theme="dark"] body.dark-preset-terminal-black .main-navigation .current_page_item > a {
  background: rgba(0, 229, 176, 0.10);
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-header .icon-btn {
  background: rgba(10, 14, 18, 0.72);
  border-color: rgba(255,255,255,0.1);
  color: rgba(234, 242, 248, 0.84);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-header .icon-btn:hover {
  background: rgba(0, 229, 176, 0.10);
  border-color: rgba(0, 229, 176, 0.2);
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-header-inner,
[data-theme="dark"] body.dark-preset-terminal-black .page-header .container,
[data-theme="dark"] body.dark-preset-terminal-black .hero-content,
[data-theme="dark"] body.dark-preset-terminal-black .section-dark-inner {
  position: relative;
  z-index: 1;
}
[data-theme="dark"] body.dark-preset-terminal-black .stats-banner,
[data-theme="dark"] body.dark-preset-terminal-black .cta-banner,
[data-theme="dark"] body.dark-preset-terminal-black .newsletter,
[data-theme="dark"] body.dark-preset-terminal-black .author-box,
[data-theme="dark"] body.dark-preset-terminal-black .post-toc {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}
[data-theme="dark"] body.dark-preset-terminal-black .stats-banner::before,
[data-theme="dark"] body.dark-preset-terminal-black .cta-banner::before,
[data-theme="dark"] body.dark-preset-terminal-black .newsletter::before,
[data-theme="dark"] body.dark-preset-terminal-black .author-box::before,
[data-theme="dark"] body.dark-preset-terminal-black .post-toc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    linear-gradient(90deg, rgba(255,255,255,0.015), transparent 28%);
  pointer-events: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .stats-banner::after,
[data-theme="dark"] body.dark-preset-terminal-black .cta-banner::after,
[data-theme="dark"] body.dark-preset-terminal-black .newsletter::after,
[data-theme="dark"] body.dark-preset-terminal-black .author-box::after,
[data-theme="dark"] body.dark-preset-terminal-black .post-toc::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5F57;
  box-shadow: 16px 0 0 #FEBC2E, 32px 0 0 #28C840, 0 0 12px rgba(255,95,87,0.08);
  pointer-events: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .feature-card,
[data-theme="dark"] body.dark-preset-terminal-black .team-card,
[data-theme="dark"] body.dark-preset-terminal-black .testimonial-card,
[data-theme="dark"] body.dark-preset-terminal-black .pricing-card:not(.featured),
[data-theme="dark"] body.dark-preset-terminal-black .post-grid .post-card,
[data-theme="dark"] body.dark-preset-terminal-black .inline-related.has-subtle-bg,
[data-theme="dark"] body.dark-preset-terminal-black .search-modal-panel,
[data-theme="dark"] body.dark-preset-terminal-black .nav-overlay-panel,
[data-theme="dark"] body.dark-preset-terminal-black .cookie-banner {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.014) 56px, transparent 56px),
    var(--surface);
  border-color: var(--hairline-strong);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 0 0 1px rgba(255,255,255,0.018),
    0 18px 46px rgba(0,0,0,0.20);
}
[data-theme="dark"] body.dark-preset-terminal-black .widget {
  background: var(--surface);
  border-color: var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-link {
  border-top-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-title {
  color: #f6f8fb;
}
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-excerpt,
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-kicker,
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-meta,
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-arrow {
  color: rgba(234, 242, 248, 0.62);
}
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-link:hover .inline-related-title,
[data-theme="dark"] body.dark-preset-terminal-black .inline-related-link:hover .inline-related-arrow {
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .widget-title,
[data-theme="dark"] body.dark-preset-terminal-black .widget-title::before,
[data-theme="dark"] body.dark-preset-terminal-black .widget-list-link,
[data-theme="dark"] body.dark-preset-terminal-black .widget-recent-text {
  text-shadow: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .widget-count-badge,
[data-theme="dark"] body.dark-preset-terminal-black .widget-recent-arrow {
  background: var(--canvas-deep);
  border: 1px solid var(--hairline);
  color: var(--ink-body);
  box-shadow: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .widget_search .search-field {
  background: var(--canvas-deep);
  border-color: var(--hairline-strong);
  box-shadow: none;
}
[data-theme="dark"] body.dark-preset-terminal-black .widget_search .search-submit:hover {
  background: var(--canvas-deep);
  border-color: var(--hairline);
  color: var(--ink);
}
[data-theme="dark"] body.dark-preset-terminal-black .feature-card:hover,
[data-theme="dark"] body.dark-preset-terminal-black .team-card:hover,
[data-theme="dark"] body.dark-preset-terminal-black .testimonial-card:hover,
[data-theme="dark"] body.dark-preset-terminal-black .post-grid .post-card:hover {
  border-color: rgba(0, 231, 192, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 1px rgba(0, 231, 192, 0.06),
    0 0 22px rgba(0, 231, 192, 0.05),
    0 16px 42px rgba(0,0,0,0.26);
}
[data-theme="dark"] body.dark-preset-terminal-black .feature-icon,
[data-theme="dark"] body.dark-preset-terminal-black .icon-circle,
[data-theme="dark"] body.dark-preset-terminal-black .footer-brand-mark {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 0 0 1px rgba(0, 231, 192, 0.05),
    0 0 16px rgba(0, 231, 192, 0.035);
}
[data-theme="dark"] body.dark-preset-terminal-black .feature-icon {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--canvas-deep);
}
[data-theme="dark"] body.dark-preset-terminal-black .feature-link-label,
[data-theme="dark"] body.dark-preset-terminal-black .pricing-tag,
[data-theme="dark"] body.dark-preset-terminal-black .team-card-count,
[data-theme="dark"] body.dark-preset-terminal-black .post-card-meta {
  letter-spacing: 0.16em;
  color: rgba(234, 242, 248, 0.62);
}
[data-theme="dark"] body.dark-preset-terminal-black .stats-lbl,
[data-theme="dark"] body.dark-preset-terminal-black .eyebrow,
[data-theme="dark"] body.dark-preset-terminal-black .post-card-meta,
[data-theme="dark"] body.dark-preset-terminal-black .feature-link-label,
[data-theme="dark"] body.dark-preset-terminal-black .team-card-count {
  text-shadow: 0 0 10px rgba(0,0,0,0.18);
}
[data-theme="dark"] body.dark-preset-terminal-black .section-head h2,
[data-theme="dark"] body.dark-preset-terminal-black .page-header h1 {
  text-wrap: balance;
}
[data-theme="dark"] body.dark-preset-terminal-black .hero h1,
[data-theme="dark"] body.dark-preset-terminal-black .page-header h1,
[data-theme="dark"] body.dark-preset-terminal-black .section-dark-title {
  text-shadow: 0 0 18px rgba(255,255,255,0.04);
}
[data-theme="dark"] body.dark-preset-terminal-black .search-modal-panel,
[data-theme="dark"] body.dark-preset-terminal-black .nav-overlay-panel {
  background-color: var(--surface);
}
[data-theme="dark"] body.dark-preset-terminal-black .search-modal-kbd,
[data-theme="dark"] body.dark-preset-terminal-black .search-modal-foot kbd,
[data-theme="dark"] body.dark-preset-terminal-black .pricing-card.featured .pricing-tag {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.014) 0, rgba(255,255,255,0.006) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.014) 0, rgba(255,255,255,0.006) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: top center;
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer h3,
[data-theme="dark"] body.dark-preset-terminal-black .site-footer-bottom-copy,
[data-theme="dark"] body.dark-preset-terminal-black .site-footer-bottom-links,
[data-theme="dark"] body.dark-preset-terminal-black .footer-contact p,
[data-theme="dark"] body.dark-preset-terminal-black .site-footer p {
  color: rgba(234, 242, 248, 0.66);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer h3 {
  color: rgba(234, 242, 248, 0.82);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer a {
  color: rgba(234, 242, 248, 0.74);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer a:hover {
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer-bottom {
  border-top-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-ai-links {
  border-top-color: rgba(255,255,255,0.08);
  border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-ai-link {
  color: rgba(234, 242, 248, 0.30);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-ai-link:hover {
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .brand-watermark {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.014) 0, rgba(255,255,255,0.006) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.014) 0, rgba(255,255,255,0.006) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: top center;
}
[data-theme="dark"] body.dark-preset-terminal-black .brand-watermark-text {
  color: rgba(234, 242, 248, 0.90);
  opacity: 0.05;
}
[data-theme="dark"] body.dark-preset-terminal-black .site-footer-bottom-links {
  opacity: 0.82;
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-brand-column > p,
[data-theme="dark"] body.dark-preset-terminal-black .footer-link-list a,
[data-theme="dark"] body.dark-preset-terminal-black .footer-social a,
[data-theme="dark"] body.dark-preset-terminal-black .footer-legal-menu a {
  color: rgba(234, 242, 248, 0.72);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-link-accent {
  color: var(--accent) !important;
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-link-list a:hover,
[data-theme="dark"] body.dark-preset-terminal-black .footer-social a:hover,
[data-theme="dark"] body.dark-preset-terminal-black .footer-legal-menu a:hover {
  color: #ffffff;
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-social a {
  border-color: rgba(255,255,255,0.12);
  color: rgba(234, 242, 248, 0.76);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-social a:hover {
  background: var(--accent-soft);
  border-color: rgba(0, 231, 192, 0.22);
  color: var(--accent);
}
[data-theme="dark"] body.dark-preset-terminal-black .footer-brand-mark {
  border-color: rgba(0, 231, 192, 0.20);
}
[data-theme="dark"] body.dark-preset-terminal-black .post-grid .post-card {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
}
[data-theme="dark"] body.dark-preset-terminal-black .post-grid .post-card-thumb {
  border: 1px solid var(--hairline);
}

/* Smooth theme transition */
body, .site-header, .site-footer, .card, .feature-card, .post-card, .widget, .author-box,

   MAGAZINE HOMEPAGE — front-page.php
   ════════════════════════════════════════════════════════════════ */

/* Hero Section */
.magazine-hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--hairline);
}
.magazine-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.magazine-hero-has-image {
  grid-template-columns: 1fr minmax(0, 1.1fr);
}
@media (max-width: 900px) {
  .magazine-hero-has-image { grid-template-columns: 1fr; }
  .magazine-hero-image { order: -1; }
}
.magazine-hero-image img {
  width: 100%; height: auto;
  display: block;
  border-radius: var(--radius-sm);
  aspect-ratio: 16/10;
  object-fit: cover;
}
.magazine-hero-content { display: flex; flex-direction: column; gap: 20px; }
.magazine-hero-cat { margin-bottom: 4px; }
.magazine-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.magazine-hero-title a { color: inherit; text-decoration: none; }
.magazine-hero-title a:hover { text-decoration: underline; }
.magazine-hero-excerpt { max-width: 52ch; margin: 0; }
.magazine-hero-cta { align-self: flex-start; margin-top: 8px; }

/* Latest Posts Grid */
.magazine-latest { padding: 56px 0; }

/* Post grid variants */
.post-grid { display: grid; gap: 28px; }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .post-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .post-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .post-grid-3,
  .post-grid-4 { grid-template-columns: 1fr; }
}

/* Category Spotlight Section */
.magazine-category-section { padding: 56px 0; }
.section-deep { background: var(--canvas-deep); }
.section-head-cat-link { color: inherit; text-decoration: none; }
.section-head-cat-link:hover { text-decoration: underline; }
.section-head-desc { color: var(--ink-muted); font-size: 0.95rem; margin: 4px 0 0; max-width: 56ch; }

/* ════════════════════════════════════════════════════════════════
   FOOTER BLOG — simplified blog footer
   ════════════════════════════════════════════════════════════════ */
.footer-blog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
  padding: 56px 0 40px;
}
@media (max-width: 768px) {
  .footer-blog-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 28px; }
}
.footer-blog-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}
.footer-logo img { max-height: 48px; width: auto; }
.footer-blog-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  max-width: 34ch;
  margin: 0;
}
.footer-blog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: start;
}
.footer-nav-col { min-width: 120px; }
.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}
.footer-link-list { list-style: none; margin: 0; padding: 0; }
.footer-link-list li { margin-bottom: 10px; }
.footer-link-list a,
.footer-nav-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color .2s;
}
.footer-link-list a:hover,
.footer-nav-col ul li a:hover { color: var(--on-ink); text-decoration: underline; }
/* nav menu output from wp_nav_menu */
.footer-nav-col ul { list-style: none; margin: 0; padding: 0; }
.footer-nav-col ul li { margin-bottom: 10px; }

/* Sidebar recent posts thumb */
.widget-recent-thumb {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.widget-recent-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.widget_recent_entries .widget-recent-link {
  align-items: flex-start;
  gap: 10px;
}

/* ════════════════════════════════════════════════════════════════
   CORREÇÕES RESPONSIVAS — Recurring Demand v1.2.1
   Adicionadas classes ausentes + breakpoints mobile completos
   ════════════════════════════════════════════════════════════════ */

/* ── .post-meta (hero da homepage — front-page.php) ─────────────
   Classe distinta de .single-post-meta para o card hero.        */
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.post-meta time,
.post-meta span { color: var(--ink-body); }
.post-meta-sep { opacity: 0.4; color: var(--ink-muted); }

/* ── Hero (front-page) mobile ──────────────────────────────────── */
@media (max-width: 700px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(36px, 12vw, 64px); }
  .hero p.lead { font-size: 16px; }
  .hero-actions { gap: 8px; }
  .page-header { padding: 40px 0 24px; }
  .magazine-hero { padding: 32px 0 40px; }
}

/* ── Sections mobile ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section-narrow { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
}

/* ── CTA Banner mobile ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .cta-banner { padding: 40px 28px; }
  .cta-banner p { font-size: 15px; }
}
@media (max-width: 480px) {
  .cta-banner { padding: 32px 20px; border-radius: var(--radius-sm); }
}

/* ── Stats Banner mobile ───────────────────────────────────────── */
@media (max-width: 700px) {
  .stats-banner { padding: 36px 24px; gap: 24px; }
  .stats-num { font-size: 36px; }
}

/* ── Author Box mobile ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .author-box {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 14px;
  }
  .author-box .avatar-xl { margin: 0; }
}

/* ── Entry content mobile ──────────────────────────────────────── */
@media (max-width: 700px) {
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 26px; }
  .entry-content h3 { font-size: 20px; }
  .entry-content > p:first-of-type::first-letter {
    font-size: 3em;
    margin: 4px 10px 0 0;
  }
}

/* ── Single post header mobile ─────────────────────────────────── */
@media (max-width: 700px) {
  .single-post-header { padding: 32px 0 20px; }
  .single-post-header h1 { font-size: clamp(28px, 8vw, 44px); }
  .single-post-lead { font-size: 16px; }
  .single-post-meta { gap: 10px; font-size: 11px; }
  .single-post-thumb { margin-bottom: 28px; border-radius: var(--radius-sm); }
}

/* ── Search modal mobile ───────────────────────────────────────── */
@media (max-width: 600px) {
  .search-modal { padding: 64px 16px 16px; }
  .search-modal-panel { width: calc(100vw - 32px); }
  .search-modal-input { padding: 14px 16px; gap: 10px; }
  .search-modal-input input { font-size: 15px; }
  .search-modal-foot { padding: 10px 16px; font-size: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .search-modal-results { max-height: 55vh; }
  .search-modal-item { padding: 10px 16px; }
}

/* ── Nav overlay menu — text size mobile ───────────────────────── */
@media (max-width: 400px) {
  .nav-overlay-menu a { font-size: 18px; padding: 12px 14px; }
  .nav-overlay-panel { padding: 22px 20px 24px; }
}

/* ── Newsletter mobile ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .newsletter { padding: 24px 20px; }
  .newsletter-title { font-size: 18px; }
  .newsletter-form { flex-direction: column; padding: 12px 12px; border-radius: var(--radius-sm); min-width: 0; }
  .newsletter-form input { height: 32px; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ── Comments mobile ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .comments-area { margin-top: 40px; padding-top: 32px; }
  .comment-respond { padding: 20px; }
  .children { padding-left: 24px; }
  .comment-body { gap: 10px; }
}

/* ── Cookie banner mobile ──────────────────────────────────────── */
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

/* ── Pricing grid mobile ───────────────────────────────────────── */
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-price { font-size: 40px; }
}

/* ── Testimonials mobile ───────────────────────────────────────── */
@media (max-width: 480px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── Feature grid mobile ───────────────────────────────────────── */
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Related posts mobile ──────────────────────────────────────── */
@media (max-width: 700px) {
  .related-posts { padding: 20px 16px 0; margin-top: 24px; }
  .related-posts h2 { font-size: 20px; margin-bottom: 18px; }
}

/* ── Footer bottom mobile ──────────────────────────────────────── */
@media (max-width: 520px) {
  .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer-bottom-links { justify-content: flex-start; }
  .footer-legal-menu { gap: 14px; }
}

/* ── Buttons mobile — evitar overflow em telas muito estreitas ─── */
@media (max-width: 360px) {
  .btn-lg { padding: 0 16px; font-size: 12px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ── Container mínimo padding em telas muito pequenas ─────────── */
@media (max-width: 400px) {
  .container,
  .container-narrow { padding: 0 16px; }
  .site-header-inner { padding: 0 16px; }
}

/* ── Post grid compact (related posts grid) ─────────────────────── */
@media (max-width: 600px) {
  .post-grid-compact.post-grid { grid-template-columns: 1fr; }
}

/* ── Dark mode — post-meta mantém legibilidade ─────────────────── */
[data-theme="dark"] .post-meta,
[data-theme="dark"] .post-meta time,
[data-theme="dark"] .post-meta span { color: rgba(255,255,255,0.62); }
[data-theme="dark"] .post-meta-sep { opacity: 0.3; }
