/*
Theme Name: LGPD XPERT
Theme URI: https://lgpdxpert.com.br
Author: Hamilton Vita
Description: Tema customizado para consultoria em LGPD e Segurança da Informação.
Version: 1.2
*/

/* =========================
   RESET E BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #0f172a;
  background: #f1f5f9; /* base cinza claro */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   CONTAINERS
   ========================= */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 40px 0;
}

/* =========================
   HEADER / NAV
   ========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #020617, #0b1020);
  color: #e5e7eb;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.brand span {
  font-size: 12px;
  color: #9ca3af;
}

.menu {
  display: flex;
  gap: 18px;
}

.menu a {
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 500;
}

.menu a:hover {
  color: #ffffff;
  text-decoration: none;
}

.actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }
  .menu {
    flex-wrap: wrap;
  }
  .actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* =========================
   BOTÕES
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #ffffff;
  color: #020617;
}

.btn-outline {
  background: transparent;
  border-color: #e5e7eb;
  color: #e5e7eb;
}

.btn-primary:hover {
  background: #e5e7eb;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =========================
   HERO / BANNER (CORRIGIDO)
   ========================= */

.hero {
  background: #f8fafc;               /* off-white */
  border: 1px solid #e5e7eb;          /* separação visual */
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}

/* Linha superior */
.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 6px;
}

/* Título */
.hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #020617;
  margin: 0 0 12px;
}

/* Texto */
.hero p {
  font-size: 16px;
  color: #334155;
  max-width: 720px;
  margin-bottom: 18px;
}

.hero .actions,
.hero .hero-actions {
  display: flex;
  gap: 12px;
}

/* =========================
   SEÇÕES DE CONTEÚDO
   ========================= */

.card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
}

/* =========================
   BLOG – LISTAGEM
   ========================= */

.blog-section {
  padding: 40px 0 60px;
}

.blog-grid {
  display: grid;
  gap: 20px;
}

.blog-grid-2cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .blog-grid-2cols {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  height: 100%;
}

.blog-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.blog-card-inner {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 14px;
}

.blog-card-readmore {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

/* =========================
   BLOG – POST INDIVIDUAL
   ========================= */

.single-post-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  padding: 26px;
}

.single-post-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.single-post-content p {
  margin-bottom: 14px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 20px;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: linear-gradient(135deg, #020617, #0b1020);
  color: #9ca3af;
  padding: 26px 0;
  font-size: 13px;
}

footer a {
  color: #e5e7eb;
}


/* =====================================================
   AVISO DE PRIVACIDADE – ESTILO INSTITUCIONAL
   ===================================================== */

.page-privacidade .aviso-privacidade-html {
  font-size: 15px;
  line-height: 1.75;
  color: #0f172a;
}

/* Linha superior (LGPDXPERT • AVISO DE PRIVACIDADE) */
.page-privacidade .aviso-privacidade-html .kicker,
.page-privacidade .aviso-privacidade-html .aviso-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Título principal */
.page-privacidade .aviso-privacidade-html h1 {
  font-size: 30px;
  font-weight: 800;
  color: #0b5ed7;
  margin: 0 0 12px;
}

/* Texto introdutório */
.page-privacidade .aviso-privacidade-html .lead,
.page-privacidade .aviso-privacidade-html > p:first-of-type {
  font-size: 16px;
  color: #334155;
  margin-bottom: 18px;
}

/* Linha divisória */
.page-privacidade .aviso-privacidade-html hr {
  border: none;
  border-top: 1px solid #dbeafe;
  margin: 20px 0;
}

/* Bloco de destaque azul */
.page-privacidade .aviso-privacidade-html .aviso-destaque,
.page-privacidade .aviso-privacidade-html blockquote {
  background: #eff6ff;
  border-left: 5px solid #2563eb;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  color: #1e40af;
  margin: 18px 0;
}

/* Títulos numerados */
.page-privacidade .aviso-privacidade-html h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0b5ed7;
  margin: 26px 0 10px;
}

/* Parágrafos */
.page-privacidade .aviso-privacidade-html p {
  margin-bottom: 12px;
}

/* Listas */
.page-privacidade .aviso-privacidade-html ul,
.page-privacidade .aviso-privacidade-html ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.page-privacidade .aviso-privacidade-html li {
  margin-bottom: 6px;
}

/* Negrito institucional */
.page-privacidade .aviso-privacidade-html strong {
  font-weight: 700;
  color: #020617;
}

/* Links */
.page-privacidade .aviso-privacidade-html a {
  color: #2563eb;
  text-decoration: underline;
}
