/* ==========================================================================
   InfoCom — folha de estilos principal
   ========================================================================== */

:root {
  /* Cores de marca */
  --navy-900: #0b1f3a;
  --navy-800: #12294a;
  --primary: #1f6feb;
  --primary-dark: #1553b8;
  --primary-50: #eaf2ff;
  --accent: #f5a524;
  --whatsapp: #0f7a40;

  /* Texto */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #b8c6dc;

  /* Superfícies */
  --surface-white: #ffffff;
  --surface-subtle: #f4f7fb;
  --border-default: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Tipografia */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: "Sora", var(--font-sans);

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.12);

  color-scheme: light;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 700; font-family: var(--font-display); }
h4, .h4 { font-weight: 600; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--accent); }

h1, .h1 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.01em; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 18px; }
.text-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0b5e31; }
.btn--outline { background: transparent; border-color: var(--border-strong); color: var(--text-primary); }
.btn--outline:hover { border-color: var(--text-primary); }
.btn--outline-dark { background: transparent; border-color: #5f7da8; color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; }
.topbar {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  font-size: 14px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-on-dark-muted); }
.topbar .icon { width: 16px; height: 16px; }
.topbar-address { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.navbar {
  border-bottom: 1px solid var(--border-default);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 72px; width: auto; }
.footer-brand .brand-logo { height: 64px; }
@media (max-width: 480px) {
  .brand-logo { height: 56px; }
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--text-primary); }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--primary); }
.nav-services { position: relative; }
.nav-services > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 500; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services[open] > summary { color: var(--primary); }
.nav-services.is-active > summary { color: var(--primary); }
.nav-services .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.nav-services[open] .icon { transform: rotate(180deg); }
.nav-services-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 10px; min-width: 240px;
  display: grid; gap: 2px;
}
.nav-services-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.nav-services-menu a:hover { background: var(--surface-subtle); color: var(--primary); }
.nav-cta { flex-shrink: 0; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--navy-900); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 860px) {
  .topbar-address { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0; top: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 24px 32px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease;
  }
  .nav-links a, .nav-services > summary { padding: 14px 4px; border-bottom: 1px solid var(--border-default); font-size: 18px; }
  .nav-services-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 12px; }
  .site-header.nav-open .nav-links { transform: translateX(0); }
  .site-header.nav-open .nav-toggle .icon-menu { display: none; }
  .site-header.nav-open .nav-toggle .icon-close { display: inline-flex; }
  .nav-links .nav-cta-mobile { display: block; margin-top: 16px; }
}
@media (min-width: 861px) {
  .nav-cta-mobile { display: none; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--surface-subtle); padding-block: 12px; font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--text-primary); font-weight: 500; }

/* ---------- Seções genéricas ---------- */
section { padding-block: 64px; }
@media (max-width: 640px) { section { padding-block: 44px; } }
.section--subtle { background: linear-gradient(170deg, #eaf2ff 0%, var(--surface-subtle) 55%, #f7f9fc 100%); }
.section--navy { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--primary-dark) 130%); color: var(--text-on-dark); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--primary-dark) 130%); color: #fff; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 72px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-lead { margin-bottom: 28px; max-width: 540px; color: var(--text-on-dark-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.hero-stats strong { display: block; font-size: 20px; }
.hero-stats span { font-size: 14px; color: var(--text-on-dark-muted); }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-floating-card {
  position: absolute; left: 20px; bottom: 20px;
  background: #fff; color: var(--text-primary);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero-floating-card .icon-tile { background: var(--primary-50); color: var(--primary); }
.hero-floating-card strong { display: block; font-size: 14px; }
.hero-floating-card span { font-size: 13px; color: var(--text-muted); }

/* ---------- Hero (páginas internas) ---------- */
.page-hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 56px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero-lead { margin-bottom: 28px; max-width: 520px; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero .container, .page-hero .container { grid-template-columns: 1fr; padding-block: 40px; }
  .hero-media, .page-hero-media { order: -1; }
}

/* ---------- Grade de ícone + tile ---------- */
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--primary-50); color: var(--primary);
  margin-bottom: 16px;
}
.icon-tile--dark { background: var(--navy-900); color: #fff; }
.icon-tile--brand { background: var(--primary); color: #fff; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 0; }

/* ---------- Grade de serviços (home) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  padding: 28px; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--text-secondary); font-size: 14px; flex-grow: 1; margin-bottom: 14px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); font-size: 14px; }
.card-link .icon { width: 16px; height: 16px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- O que fazemos (páginas de serviço) ---------- */
.what-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.what-card { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 28px; }
.what-card h3 { font-size: 17px; margin-bottom: 8px; }
.what-card p { color: var(--text-secondary); font-size: 14px; }
@media (max-width: 960px) { .what-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .what-grid { grid-template-columns: 1fr; } }

/* ---------- Para quem (páginas de serviço) ---------- */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.who-card { background: var(--surface-subtle); border-radius: var(--radius-lg); padding: 36px; display: flex; gap: 20px; }
.section--subtle .who-card { background: #fff; }
.who-card h3 { margin-bottom: 10px; }
.who-card p { color: var(--text-secondary); margin-bottom: 14px; }
.who-card ul { display: grid; gap: 8px; }
.who-card li { display: flex; gap: 10px; align-items: flex-start; }
.who-card li .icon { color: var(--whatsapp); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } .who-card { flex-direction: column; } }

/* ---------- Diferenciais (home) ---------- */
.diferenciais .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.diferenciais-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.diferenciais-media img { width: 100%; height: 100%; object-fit: cover; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.diferencial-item { display: flex; gap: 14px; }
.diferencial-item h4 { margin-bottom: 4px; font-size: 16px; }
.diferencial-item p { font-size: 14px; color: var(--text-secondary); }
@media (max-width: 900px) {
  .diferenciais .container { grid-template-columns: 1fr; }
  .diferenciais-media { order: -1; }
  .diferenciais-grid { grid-template-columns: 1fr; }
}

/* ---------- Como trabalhamos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: var(--surface-subtle); border-radius: var(--radius-lg); padding: 32px; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.testimonial-card blockquote { margin: 0; font-size: 16px; color: var(--text-secondary); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--border-default); flex-shrink: 0; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- Relacionados ---------- */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 20px;
}
.related-card span { font-weight: 500; flex-grow: 1; }
.related-card .icon { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 960px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 4px 24px; }
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; color: var(--text-muted); }
.faq-item[open] summary .icon { color: var(--primary); }
.faq-item p { padding-bottom: 20px; color: var(--text-secondary); margin: 0; }

/* ---------- CTA final ---------- */
.cta-final .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-final h2 { color: #fff; margin-bottom: 8px; max-width: 560px; }
.cta-final p { color: var(--text-on-dark-muted); max-width: 460px; }
.cta-final--primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-final--primary p { color: rgba(255,255,255,0.85); }

/* ---------- Números (sobre) ---------- */
.stats-bar { background: linear-gradient(135deg, var(--navy-900) 0%, var(--primary-dark) 140%); color: #fff; }
.stats-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.stats-bar strong { display: block; font-size: 28px; margin-bottom: 4px; }
.stats-bar span { color: var(--text-on-dark-muted); }

/* ---------- Nossa história ---------- */
.historia .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.historia-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.historia-media img { width: 100%; height: 100%; object-fit: cover; }
.historia-text p { margin-bottom: 16px; color: var(--text-secondary); white-space: pre-line; }
@media (max-width: 900px) { .historia .container { grid-template-columns: 1fr; } .historia-media { order: -1; } }

/* ---------- Página de contato ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; }
.contact-form-card h2 { margin-bottom: 24px; }
.contact-side { display: grid; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 28px; }
.info-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.info-card-head h3 { font-size: 17px; }
.info-card p { color: var(--text-secondary); margin-bottom: 14px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-default); aspect-ratio: 16/6;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map-frame { aspect-ratio: 4/3; } }

/* ---------- Formulário ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-weight: 500; font-size: 14px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 15px; padding: 12px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--text-primary); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50);
}
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.form-checkbox input { margin-top: 3px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-muted); }
.footer-top { padding-block: 64px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact-item .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid #5f7da8; padding-block: 20px; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante (mobile) ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
@media (max-width: 860px) { .wa-fab { display: flex; } }

/* ---------- Blog (lista) ---------- */
.blog-filters { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--border-strong); color: var(--text-primary);
}
.chip--active { background: var(--primary); border-color: var(--primary); color: #fff; }
.search-box {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 10px 16px; min-width: 240px;
}
.search-box input { border: none; outline: none; font-size: 15px; width: 100%; font-family: inherit; }
.search-box .icon { color: var(--text-muted); flex-shrink: 0; }

.featured-post {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-subtle);
  border-radius: var(--radius-lg); overflow: hidden; align-items: stretch;
}
.featured-post-cover { background: var(--primary-50); display: grid; place-items: center; min-height: 220px; }
.featured-post-body { padding: 36px; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.featured-post-body h2 { margin: 0; }
@media (max-width: 760px) { .featured-post { grid-template-columns: 1fr; } }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.post-grid--3 { margin-bottom: 0; }
.post-card { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
.post-card-cover { display: grid; place-items: center; background: var(--surface-subtle); aspect-ratio: 16/9; }
.post-card-body { padding: 20px; display: grid; gap: 6px; }
.post-card-body h3 { font-size: 16px; }
@media (max-width: 860px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; gap: 8px; }
.page-item {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-weight: 500; color: var(--text-primary);
}
.page-item--active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Artigo ---------- */
.article-header { padding-block: 40px 28px; }
.article-header h1 { margin: 12px 0 16px; max-width: 820px; }
.article-meta { display: flex; align-items: center; gap: 12px; }
.article-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 12/5; margin-bottom: 40px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; padding-bottom: 72px; }
.article-body h2 { margin-top: 32px; margin-bottom: 12px; font-size: 22px; }
.article-body p { margin-bottom: 16px; color: var(--text-secondary); }
.article-body .text-lead { color: var(--text-secondary); margin-bottom: 8px; }
.article-list { display: grid; gap: 10px; margin-bottom: 20px; }
.article-list li { display: flex; gap: 10px; align-items: flex-start; }
.article-list .icon { color: var(--whatsapp); flex-shrink: 0; margin-top: 2px; }
.callout {
  display: flex; gap: 14px; background: var(--primary-50); border-radius: var(--radius-md);
  padding: 20px; margin: 20px 0;
}
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; color: var(--text-secondary); font-size: 14px; }

.article-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.toc-card, .share-card { background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 22px; }
.toc-card h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.toc-links { display: grid; gap: 10px; }
.toc-links a { font-size: 14px; color: var(--text-secondary); }
.toc-links a:hover { color: var(--primary); }
.side-cta-card { background: var(--navy-900); border-radius: var(--radius-md); padding: 24px; }
.share-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; font-weight: 500;
  background: #fff; color: var(--text-primary);
}
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
