/* ============================================
   IMPORTAÇÃO DE FONTES (Sora + Inter)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIÁVEIS GLOBAIS – TEMA CLARO (LIGHT) + DARK
   ============================================ */
:root {
  /* Tipografia */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Cores - identidade azul + ciano + fundos claros */
  --primary: #2979FF;
  --primary-light: #5390FF;
  --primary-dark: #1A5FE0;
  --secondary: #00E5FF;
  --secondary-light: #69F0FF;
  --secondary-dark: #00B8D4;

  /* Fundos claros (light) */
  --onyx: #FFFFFF;
  --charcoal: #F8F8FC;
  --ebony: #EEEEF4;
  --slate: #E4E4EC;

  /* Texto */
  --text-primary: #1A1A24;
  --text-secondary: #555566;
  --text-muted: #888899;

  /* Bordas */
  --border-subtle: rgba(41, 121, 255, 0.2);
  --border-medium: rgba(41, 121, 255, 0.35);

  /* Cards */
  --card-bg: rgba(255, 255, 252, 0.9);
  --card-bg-hover: rgba(255, 255, 252, 1);

  /* Overlay */
  --overlay: rgba(255, 255, 252, 0.8);

  /* Sombras */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 8px 40px rgba(41, 121, 255, 0.08);

  /* Transições */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dark {
  --onyx: #0A0A0F;
  --charcoal: #111118;
  --ebony: #1A1A24;
  --slate: #222230;
  --text-primary: #E8E8EE;
  --text-secondary: #A0A0B0;
  --text-muted: #707080;
  --border-subtle: rgba(41, 121, 255, 0.12);
  --border-medium: rgba(41, 121, 255, 0.28);
  --card-bg: rgba(26, 26, 36, 0.75);
  --card-bg-hover: rgba(34, 34, 48, 0.85);
  --overlay: rgba(10, 10, 15, 0.75);
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 8px 40px rgba(41, 121, 255, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  background-color: var(--onyx);
  color: var(--text-primary);
  transition: background-color 0.6s ease, color 0.6s ease;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TELA DE CARREGAMENTO
   ============================================ */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader-text {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-top: 24px;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.loader-logo {
  margin-bottom: 32px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}
h1 { font-weight: 800; letter-spacing: -0.04em; }
h2 { font-weight: 700; letter-spacing: -0.03em; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: var(--secondary-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}
.section-kicker i { font-size: 0.55rem; }

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
}
.section-ornament::before,
.section-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
}
.section-ornament i {
  color: var(--secondary);
  font-size: 0.6rem;
  margin: 0 20px;
  opacity: 0.9;
}

.accent-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 0 16px;
  vertical-align: middle;
  opacity: 0.7;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary,
.btn-outline,
.btn-accent,
.btn-whatsapp {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-primary {
  background: transparent;
  color: var(--primary);
  padding: 15px 34px;
  border-radius: 4px;
  font-size: 0.82rem;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}
.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-primary:hover {
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(41, 121, 255, 0.25);
  letter-spacing: 0.1em;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 15px 34px;
  border-radius: 4px;
  font-size: 0.82rem;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
  color: #FFFFFF;
  padding: 15px 34px;
  border-radius: 4px;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 6px 28px rgba(41, 121, 255, 0.3);
}
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}
.btn-accent:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-accent:hover {
  box-shadow: 0 12px 44px rgba(41, 121, 255, 0.45);
  letter-spacing: 0.1em;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 15px 34px;
  border-radius: 4px;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

/* ============================================
   CARDS (glassmorphism)
   ============================================ */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.glass-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--secondary);
  opacity: 0;
  transition: var(--transition-smooth);
}
.glass-card:hover::after {
  opacity: 0.6;
  left: 10px;
  right: 10px;
}
.glass-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-primary), var(--shadow-md);
  transform: translateY(-4px);
  background: var(--card-bg-hover);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: rgba(41, 121, 255, 0.06);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.glass-card:hover .icon-box {
  background: rgba(41, 121, 255, 0.12);
  border-color: var(--secondary);
  color: var(--secondary-dark);
}

.demo-preview,
.system-print {
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  position: relative;
}
.demo-preview {
  height: 200px;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(41, 121, 255, 0.1);
}
.system-print {
  height: 160px;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(41, 121, 255, 0.08);
}
.demo-preview::after,
.system-print::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.glass-card:hover .demo-preview::after,
.glass-card:hover .system-print::after {
  transform: scaleX(1);
}
.glass-card:hover .demo-preview,
.glass-card:hover .system-print {
  color: rgba(0, 229, 255, 0.3);
}
.demo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CARDS DE PREÇOS
   ============================================ */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-radius: 6px;
}
.pricing-card.featured {
  border-color: var(--secondary-dark);
  box-shadow: 0 8px 44px rgba(0, 229, 255, 0.15);
  background: var(--card-bg-hover);
}
.pricing-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
  color: #fff;
  padding: 6px 24px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-family: var(--font-body);
  border-radius: 20px;
}
.pricing-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-primary), var(--shadow-md);
  transform: translateY(-6px);
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-radius: 6px;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
}
.testimonial-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-primary);
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.glass-header {
  background: rgba(255, 255, 252, 0);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: var(--transition-smooth);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--text-secondary);
  font-weight: 400;
  transition: var(--transition-fast);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--secondary-dark);
}

/* ============================================
   HERO GLOWS
   ============================================ */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.14;
  pointer-events: none;
}
.glow-primary {
  background: rgba(41, 121, 255, 0.25);
  width: 650px;
  height: 650px;
  top: -220px;
  right: -220px;
}
.glow-secondary {
  background: rgba(0, 229, 255, 0.2);
  width: 550px;
  height: 550px;
  bottom: -180px;
  left: -180px;
}

/* ============================================
   ESTATÍSTICAS
   ============================================ */
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ============================================
   BOTÃO VOLTA AO TOPO
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 1000;
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--secondary);
  color: #FFFFFF;
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.35);
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
input,
select,
textarea {
  width: 100%;
  background: transparent !important;
  border: 1.5px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  border-radius: 4px !important;
  padding: 14px 16px !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
input::placeholder,
textarea::placeholder {
  color: var(--text-muted) !important;
  font-weight: 300;
  letter-spacing: 0.04em;
}
select option {
  background: var(--charcoal);
  color: var(--text-primary);
}

/* ============================================
   COOKIE CONSENT BAR
   ============================================ */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-medium);
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-consent-bar.hidden-bar {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-bar .consent-text {
  flex: 1 1 300px;
  line-height: 1.5;
  font-weight: 400;
}
.cookie-consent-bar .consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */
.modal-overlay {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ============================================
   TOGGLE
   ============================================ */
.toggle-wrapper {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-wrapper input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CCCCD4;
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
}
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #FFFFFF;
  transition: 0.3s;
  border-radius: 50%;
}
.toggle-wrapper input:checked + .toggle-slider {
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.toggle-wrapper input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background-color: #FFFFFF;
}
.toggle-wrapper input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   MISCELÂNEA
   ============================================ */
hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
}
::selection {
  background: rgba(0, 229, 255, 0.3);
  color: #1A1A24;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-animation {
  animation: float 8s ease-in-out infinite;
}

/* ============================================
   SPACING
   ============================================ */
.section-spacing {
  padding: 110px 0;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
  .section-spacing {
    padding: 65px 0;
  }
  h1 {
    font-size: 1.9rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  .hero-glow {
    width: 280px;
    height: 280px;
  }
  .btn-primary,
  .btn-outline,
  .btn-accent,
  .btn-whatsapp {
    padding: 13px 26px;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .cookie-consent-bar {
    align-items: flex-start;
  }
  .cookie-consent-bar .consent-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ============================================
   PRIVACIDADE / BLOG / POST (estilos adicionais)
   ============================================ */
.privacy-section,
.blog-section,
.post-section {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.privacy-bg .bg-image,
.blog-bg .bg-image,
.post-bg .bg-image {
  width: 100%;
  height: 100%;
  background-image: url('/hero-tech.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  filter: blur(10px);
  transform: scale(1.05);
}
.privacy-bg .bg-overlay,
.blog-bg .bg-overlay,
.post-bg .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgb(255, 255, 255);
}
.dark .privacy-bg .bg-overlay,
.dark .blog-bg .bg-overlay,
.dark .post-bg .bg-overlay {
  background: rgba(5, 11, 31, 0.65);
}

.privacy-content-wrapper,
.blog-content-wrapper,
.post-content-wrapper {
  position: relative;
  z-index: 20;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 100px;
}
.privacy-content h3 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  scroll-margin-top: 100px;
}
.privacy-content p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}
.privacy-content ul,
.privacy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
.privacy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  font-weight: 300;
}
.privacy-content blockquote {
  border-left: 3px solid var(--secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  background: rgba(0, 229, 255, 0.04);
  padding: 1.2rem 1.5rem;
  border-radius: 0 8px 8px 0;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.privacy-table th,
.privacy-table td {
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  text-align: left;
}
.privacy-table th {
  background-color: rgba(0, 229, 255, 0.06);
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.privacy-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.015);
}
.privacy-table td {
  color: var(--text-secondary);
  font-weight: 300;
}
.last-updated {
  background: rgba(0, 229, 255, 0.05);
  border-left: 3px solid var(--secondary);
  padding: 16px 20px;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.last-updated strong {
  color: var(--text-primary);
}
.toc {
  position: sticky;
  top: 100px;
}
.toc-list {
  list-style: none;
  padding: 0;
}
.toc-list li {
  margin-bottom: 6px;
}
.toc-list a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 400;
  border: 1px solid transparent;
}
.toc-list a:hover,
.toc-list a.active {
  background: rgba(0, 229, 255, 0.06);
  color: var(--secondary-dark);
  border-color: rgba(0, 229, 255, 0.15);
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--secondary-dark);
}
.breadcrumb .current {
  color: var(--secondary-dark);
  font-weight: 500;
}

/* Blog e posts */
.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.blog-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-author-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-medium);
}
.blog-card-topic {
  background: rgba(0, 229, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--secondary);
  font-weight: 500;
}
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
.blog-card:hover .blog-card-title {
  color: #fff;
}
.blog-card-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}
.blog-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
}
.blog-card-button {
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.blog-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
  align-items: center;
}
.search-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
}
.search-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}
.blog-category-filter {
  min-width: 180px;
}
.blog-results-summary {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Post individual */
.post-cover {
  width: 100%;
  max-height: 520px;
  min-height: 240px;
  object-fit: cover;
  border-radius: 12px;
}
.post-content {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--text-primary);
  word-break: break-word;
}
.post-content > p:first-child {
  font-size: 1.14rem;
  line-height: 1.95;
  color: var(--text-secondary);
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-dark);
}
.post-content p {
  margin-bottom: 1.24rem;
}
.post-content ul,
.post-content ol {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}
.post-content a {
  color: var(--secondary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content img {
  display: block;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 1.3rem auto;
}
.post-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.2rem 0;
}
.post-content iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
}
.post-content blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--secondary-dark);
  background: rgba(0, 229, 255, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--text-primary);
}
.post-content pre {
  overflow-x: auto;
  background: #0b1220;
  color: #dbeafe;
  border-radius: 12px;
  padding: 1rem;
  margin: 1.2rem 0;
}
.post-content code {
  background: rgba(0, 229, 255, 0.1);
  color: var(--secondary-dark);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: "Fira Code", monospace;
  font-size: 0.9em;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 229, 255, 0.16);
  margin: 0 8px 8px 0;
  font-weight: 500;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  margin-right: 10px;
  margin-bottom: 8px;
  font-size: 0.86rem;
  font-weight: 500;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.related-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  display: block;
  color: var(--text-primary);
}
.related-item:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.08);
}
.related-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.related-body {
  padding: 14px;
}
.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.related-meta span:last-child {
  background: rgba(0, 229, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--secondary);
  font-weight: 600;
}
.related-title {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.related-excerpt {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.comment-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px;
  background: var(--glass-bg);
  margin-bottom: 10px;
}
.comment-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-message {
  font-size: 0.96rem;
  line-height: 1.55;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--border-medium);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.share-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
}

/* ============================================
   RESPONSIVIDADE ADICIONAL
   ============================================ */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .privacy-content h2 { font-size: 1.25rem; }
  .privacy-content h3 { font-size: 1.05rem; }
  .privacy-content { font-size: 0.95rem; }
  .toc { position: static; margin-bottom: 2rem; }
  .privacy-section,
  .blog-section,
  .post-section { padding-top: 6rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-cover { min-height: 210px; }
}