/*
Theme Name: Smart Monitoramento Theme
Theme URI: https://www.smartmonitoramento.com.br/
Author: Antigravity Team
Author URI: https://www.smartmonitoramento.com.br/
Description: Tema customizado e responsivo para o site Smart Monitoramento IA em Campo Grande/MS.
Version: 1.0.0
Text Domain: smartmonitoramento
*/
/* =========================================================
   SMART MONITORAMENTO — Design tokens & shared components
   ========================================================= */

:root {
  /* Brand */
  --navy: #183a68;
  --navy-deep: #0f2547;
  --navy-darker: #0a1a33;
  --orange: #e56820;
  --orange-dark: #c8551a;
  --orange-soft: #fff1e6;

  /* Neutrals */
  --ink: #0e1a2e;
  --text: #2a3a52;
  --muted: #6b7891;
  --line: #e6e4df;
  --line-soft: #f0ede6;
  --cream: #faf7f2;
  --white: #ffffff;

  /* Status */
  --success: #1f8a5b;

  /* Type */
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SF Mono", monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 37, 71, 0.06), 0 1px 1px rgba(15, 37, 71, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 37, 71, 0.12), 0 2px 6px rgba(15, 37, 71, 0.05);
  --shadow-lg: 0 24px 56px -16px rgba(15, 37, 71, 0.22);

  /* Container */
  --container: 1200px;
  --container-narrow: 920px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   Container
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* =========================================================
   Sumário de página (nav.toc dentro do conteúdo)
   Ex.: "Navegue pela política" na Política de Privacidade
   ========================================================= */
.entry-content .toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin: 32px 0;
}

.entry-content .toc > strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.entry-content .toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-content .toc li {
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

.entry-content .toc li::before { content: none; }

.entry-content .toc a {
  display: block;
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.entry-content .toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.entry-content .toc a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .entry-content .toc {
    padding: 20px 22px;
  }
  .entry-content .toc ul {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* =========================================================
   Trava de integridade do layout
   Impede que CSS colado dentro do conteúdo de uma página
   sequestre o <body> pelas classes que o WordPress adiciona
   (privacy-policy, page, single, etc.).
   ========================================================= */
body {
  max-width: none !important;
  width: auto !important;
  float: none !important;
  border: 0 !important;
}
body > .site-header,
body > .site-footer {
  font-family: var(--font) !important;
}
.site-header a,
.site-nav a,
.site-footer a {
  font-family: var(--font);
}

/* =========================================================
   Aviso de cookies (LGPD)
   Markup no footer.php, exibição controlada pelo app.js
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--navy-darker);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.55;
  z-index: 99999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner p { margin: 0 0 12px; }

.cookie-banner a {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner a:hover { color: #ff8547; }

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-banner__btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cookie-banner__btn--accept {
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
}
.cookie-banner__btn--accept:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}
.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.cookie-banner__btn--reject:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }
}

/* =========================================================
   Modal "Antes de ir pro WhatsApp" (Growth)
   Markup no footer.php, exibição controlada pelo app.js
   ========================================================= */
.gw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gw-modal-overlay[hidden] { display: none; }
.gw-modal-overlay.is-visible { opacity: 1; }

.gw-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.gw-modal-overlay.is-visible .gw-modal { transform: translateY(0); }

.gw-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.gw-modal__close:hover { background: var(--orange-soft); color: var(--orange); }

.gw-modal h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  padding-right: 24px;
}
.gw-modal p.muted {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a.is-active { color: var(--orange); }

/* Dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-trigger svg {
  width: 10px;
  height: 10px;
  stroke-width: 3px;
  transition: transform 0.2s ease;
}

/* Desktop-only dropdown behavior */
@media (min-width: 961px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 4px);
  }
  
  .dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
  }
  
  .dropdown-menu a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
  }
  
  .dropdown-menu a:hover {
    background: var(--cream);
    color: var(--orange) !important;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--orange-dark); }
.header-cta svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  
  /* Target only top-level links and the dropdown wrapper trigger */
  .site-nav.is-open > a,
  .site-nav.is-open > .dropdown > a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  
  /* Mobile dropdown styles */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .dropdown-trigger svg {
    margin-right: 4px;
  }
  
  .dropdown.is-active .dropdown-trigger svg {
    transform: rotate(180deg);
    color: var(--orange);
  }
  
  .dropdown.is-active .dropdown-trigger {
    color: var(--orange);
  }
  
  .dropdown-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 16px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }
  
  .dropdown.is-active .dropdown-menu {
    max-height: 450px;
    border-bottom: 1px solid var(--line-soft);
  }
  
  .dropdown-menu a {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
  }
  
  .dropdown-menu a:last-child {
    border-bottom: none;
  }
  
  .menu-toggle { display: inline-flex; }
  .header-cta .label-long { display: none; }
}

@media (max-width: 640px) {
  .header-cta { padding: 10px 14px; font-size: 13px; }
  .brand img { height: 32px; }
  .site-header__inner { height: 64px; }
}

/* =========================================================
   Hero (dark)
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(229, 104, 32, 0.25), transparent 70%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(24, 58, 104, 0.6), transparent 70%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  z-index: -1;
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  /* Apenas vertical: o padding horizontal vem de .container */
  padding-top: 80px;
  padding-bottom: 96px;
}
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 64px;
  }
}

/* Trava de alinhamento: o hero usa exatamente a mesma caixa do resto do site.
   Especificidade maior que .hero__inner para vencer qualquer sobrescrita. */
.hero .container {
  max-width: var(--container);
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 640px) {
  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(229, 104, 32, 0.18);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
  color: var(--white);
  text-wrap: balance;
}
.hero h1 .hl {
  color: var(--orange);
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 0 32px;
  line-height: 1.55;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 52px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--block { width: 100%; justify-content: center; }

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  padding: 18px 8px;
}
.trust-strip__item {
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-strip__item:last-child { border-right: none; }
.trust-strip__value {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.trust-strip__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

/* Hero visual */
.hero__visual {
  position: relative;
}
.device-card {
  position: relative;
  background: linear-gradient(140deg, #1c3d6e 0%, #0d1f3a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(229, 104, 32, 0.15);
}

.device-card__cam {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 40%, rgba(229, 104, 32, 0.4), transparent 60%),
    linear-gradient(160deg, #0a1d38 0%, #061226 100%);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.device-card__cam::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: overlay;
}
.scope-corners {
  position: absolute; inset: 16px; pointer-events: none;
}
.scope-corners::before, .scope-corners::after,
.scope-corners > span:nth-child(1), .scope-corners > span:nth-child(2) {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--orange);
}
.scope-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.scope-corners::after { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.scope-corners > span:nth-child(1) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.scope-corners > span:nth-child(2) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.target-box {
  position: absolute;
  left: 38%;
  top: 36%;
  width: 26%;
  height: 38%;
  border: 1.5px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(229, 104, 32, 0.2), 0 0 24px rgba(229, 104, 32, 0.5);
  animation: pulse-box 2.4s ease-in-out infinite;
}
.target-box::before {
  content: "PESSOA DETECTADA";
  position: absolute;
  bottom: 100%;
  left: -2px;
  margin-bottom: 4px;
  background: var(--orange);
  color: white;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px 4px 4px 0;
  white-space: nowrap;
}
@keyframes pulse-box {
  0%, 100% { box-shadow: 0 0 0 2px rgba(229, 104, 32, 0.2), 0 0 24px rgba(229, 104, 32, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(229, 104, 32, 0.35), 0 0 36px rgba(229, 104, 32, 0.7); }
}

.silhouette {
  position: absolute;
  left: 42%;
  bottom: 16%;
  width: 18%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 40% 40% 4px 4px / 30% 30% 4px 4px;
  aspect-ratio: 1 / 1.6;
}

.cam-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.cam-meta .rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.cam-meta .rec::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 999px;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.alert-toast {
  position: absolute;
  right: -8px;
  bottom: -16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 280px;
  border: 1px solid var(--line);
}
.alert-toast__icon {
  width: 38px; height: 38px;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.alert-toast__icon svg { width: 20px; height: 20px; }
.alert-toast__title { font-weight: 800; font-size: 13px; line-height: 1.2; }
.alert-toast__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 640px) {
  .alert-toast { right: 8px; bottom: -12px; padding: 10px 12px; }
}

/* =========================================================
   Section primitives
   ========================================================= */
.section {
  padding: 72px 0;
}
.section--tight { padding: 44px 0; }
.section--dark {
  background: var(--navy-deep);
  color: var(--white);
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section--tight { padding: 32px 0; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section--dark .section-title { color: var(--white); }
.section-title .hl { color: var(--orange); }

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.section--dark .section-lead { color: rgba(255, 255, 255, 0.72); }

.section-head {
  margin-bottom: 32px;
  max-width: 720px;
}
.section-head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section-head--center .section-eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   Pillar / benefit cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards, .cards--4, .cards--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}
.card:hover {
  border-color: rgba(229, 104, 32, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.card__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   Steps (numbered, with dashed connector)
   ========================================================= */
.steps {
  display: grid;
  gap: 8px;
  max-width: 760px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  position: relative;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--white);
  color: var(--orange);
  border: 2px solid var(--orange);
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 56px;
  bottom: -4px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--orange) 50%, transparent 50%);
  background-size: 2px 8px;
  z-index: 1;
}
.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.step__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   Seguro / coberturas
   ========================================================= */
.coverage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.coverage-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--orange-soft);
  border-bottom: 1px solid var(--line);
}
.coverage-card__head svg { width: 24px; height: 24px; color: var(--orange); flex-shrink: 0; }
.coverage-card__head h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.01em; }

.coverage-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.coverage-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line-soft);
  gap: 16px;
}
.coverage-list li:last-child { border-bottom: none; }
.coverage-list__label {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.coverage-list__label small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-top: 2px;
}
.coverage-list__value {
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);
  white-space: nowrap;
}
.coverage-list__value--incluso {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
}
.coverage-list__value--incluso svg { width: 16px; height: 16px; }

.legal-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.55;
}

/* =========================================================
   Pricing block
   ========================================================= */
.pricing {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-darker) 100%);
  border-radius: var(--r-xl);
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pricing::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -100px; top: -80px;
  background: radial-gradient(circle, rgba(229, 104, 32, 0.3) 0%, transparent 70%);
  z-index: -1;
}
@media (max-width: 880px) {
  .pricing { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
}

.pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 104, 32, 0.15);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 4px;
}
.pricing__from { font-size: 16px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.pricing__amount {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing__period { font-size: 18px; color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.pricing__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 12px 0 24px;
}

.pricing__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pricing__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.pricing__list li svg {
  width: 22px; height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: -1px;
}

/* =========================================================
   Lead form
   ========================================================= */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.form-card p.muted {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(229, 104, 32, 0.15);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}
.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 16px;
  line-height: 1.5;
}
.checkbox-field input {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.checkbox-field a { color: var(--navy); text-decoration: underline; }

.form-state {
  display: none;
  text-align: center;
  padding: 16px 0;
}
.form-state__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: rgba(31, 138, 91, 0.12);
  color: var(--success);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.form-state__icon svg { width: 28px; height: 28px; }
.form-state h4 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}
.form-state p { color: var(--muted); font-size: 14.5px; margin: 0; }
.form-state.is-visible { display: block; }
.form-card.is-submitted form { display: none; }
.form-card.is-submitted .form-state { display: block; }

.field.is-error input,
.field.is-error select {
  border-color: #d23a3a;
}
.field__error {
  display: none;
  color: #d23a3a;
  font-size: 12.5px;
  margin-top: 4px;
  font-weight: 500;
}
.field.is-error .field__error { display: block; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 90%;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand img {
  height: 44px;
  width: auto;
  max-width: none;
  margin-bottom: 14px;
  opacity: 0.95;
}
.footer-brand p { margin: 0; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   Sticky WhatsApp
   ========================================================= */
.wa-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.18);
}
.wa-sticky svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .wa-sticky {
    padding: 14px;
    bottom: 16px; right: 16px;
  }
  .wa-sticky .label { display: none; }
}

/* =========================================================
   Logo cluster (pain points / scenarios for LPs)
   ========================================================= */
.pains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .pains { grid-template-columns: 1fr; }
}
.pain {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  align-items: flex-start;
}
.pain__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(229, 104, 32, 0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.pain__icon svg { width: 20px; height: 20px; }
.pain__text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.pain__text strong { display: block; font-weight: 700; margin-bottom: 2px; }
.pain__text span { color: var(--muted); font-size: 14px; }

/* =========================================================
   Testimonials (MOCK — pending real ones)
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonial__quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 20px;
  flex: 1;
}
.testimonial__quote::before {
  content: "\201C";
  font-size: 56px;
  line-height: 0;
  color: var(--orange);
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, serif;
  height: 24px;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--orange) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial__name {
  font-weight: 700; color: var(--ink); font-size: 14.5px;
  display: flex; align-items: center; gap: 6px;
}
.testimonial__role { font-size: 12.5px; color: var(--muted); }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  color: var(--success);
  background: rgba(31, 138, 91, 0.1);
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
}
.verified svg { width: 12px; height: 12px; }
.testimonial--real { border-color: rgba(31, 138, 91, 0.35); }

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7e6;
  color: #8a6300;
  border: 1px dashed #d4a017;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* =========================================================
   Final CTA banner
   ========================================================= */
.final-cta {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.final-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 56ch;
  margin: 0 auto 28px;
}

/* =========================================================
   LP-specific: hero with side form
   ========================================================= */
.hero--lp .hero__inner {
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  padding-bottom: 80px;
}
@media (max-width: 960px) {
  .hero--lp .hero__inner { grid-template-columns: 1fr; }
}
.hero--lp .form-card {
  background: var(--white);
  color: var(--text);
}

/* Quick check badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
}
.badge svg { width: 14px; height: 14px; color: var(--orange); }

/* =========================================================
   Real media — camera feed, phone frame, galleries
   ========================================================= */
.cam-feed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.device-card__cam .scope-corners,
.device-card__cam .target-box { z-index: 2; }
.device-card__cam::after { z-index: 1; }
.target-box.target-box--real::before { content: "PESSOA DETECTADA"; }

/* Equipment gallery */
.equip-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .equip-gallery { grid-template-columns: 1fr; } }
.equip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.equip-card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--line-soft);
  display: block;
}
.equip-card__cap {
  padding: 16px 18px;
}
.equip-card__cap strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.equip-card__cap span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Phone frame (real app screenshot) */
.phone-frame {
  width: 286px;
  max-width: 100%;
  margin: 0 auto;
  background: #0a1426;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  z-index: 3;
}
.phone-frame img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

/* Proof figure (installed cam / maleta) */
.proof-figure {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.proof-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proof-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 18px;
  background: linear-gradient(to top, rgba(10, 26, 51, 0.92), transparent);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.proof-figure figcaption span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* Media split (text + image) */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .media-split { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   Key facts (SEO / AI entity extraction)
   ========================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.fact {
  background: var(--white);
  padding: 22px 24px;
}
.fact dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.fact dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.fact dd small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0;
}

/* =========================================================
   BLOG — carousel (home) + listing + reading page
   ========================================================= */

/* ---- Section head with side action (title + "ver todos") ---- */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head-row .section-head { margin-bottom: 0; }
@media (max-width: 640px) {
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---- Blog post card (shared: carousel + listing) ---- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}
.blog-card:hover {
  border-color: rgba(229, 104, 32, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  background: var(--line-soft);
}
.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }
.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 26, 46, 0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.blog-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-card__meta .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--muted); }
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
}
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--orange); }
.blog-card__excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
  margin-top: auto;
}
.blog-card__readmore svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.blog-card:hover .blog-card__readmore svg { transform: translateX(3px); }

/* ---- Carousel (home) ---- */
.blog-carousel { position: relative; }
.blog-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 8px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-carousel__track::-webkit-scrollbar { display: none; height: 0; }
.blog-carousel__track .blog-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  .blog-carousel__track .blog-card { flex-basis: 84vw; }
}
.blog-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 3;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-carousel__nav:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.blog-carousel__nav--prev { left: -20px; }
.blog-carousel__nav--next { right: -20px; }
@media (max-width: 960px) {
  .blog-carousel__nav { display: none; }
}

/* ---- Blog listing grid (blog.html) ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.blog-filter {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-filter:hover, .blog-filter.is-active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* =========================================================
   BLOG READING PAGE (article / entry-content)
   Includes generic WordPress / Gutenberg block classes so this
   markup can be reused directly inside a future WP theme.
   ========================================================= */

.post-hero {
  padding: 40px 0 0;
  background: var(--white);
}
.post-hero__inner { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.post-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.post-hero__breadcrumb a { color: var(--muted); }
.post-hero__breadcrumb a:hover { color: var(--orange); }
.post-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.post-hero__category::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.post-hero h1.entry-title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.post-hero__excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 68ch;
  margin: 0 0 28px;
}
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-hero__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--orange) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.post-hero__meta-text { font-size: 14px; color: var(--ink); }
.post-hero__meta-text .byline { font-weight: 700; }
.post-hero__meta-text .sep { color: var(--muted); margin: 0 6px; }
.post-hero__meta-text .muted { color: var(--muted); }

/* Featured image — slightly larger than the text container, WP core "post-thumbnail" */
.post-thumbnail {
  max-width: 1100px;
  margin: 32px auto 56px;
  padding: 0 24px;
}
.post-thumbnail img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}
.post-thumbnail figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
}

/* Reading summary box — clickable key points ("resuminho") */
.post-summary {
  max-width: var(--container-narrow);
  margin: 0 auto 48px;
  padding: 0 24px;
}
.post-summary__box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.post-summary__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 16px;
}
.post-summary__title svg { width: 18px; height: 18px; }
.post-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.post-summary__list li { border-bottom: 1px solid var(--line-soft); }
.post-summary__list li:last-child { border-bottom: none; }
.post-summary__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.post-summary__list a:hover { color: var(--orange); padding-left: 6px; }
.post-summary__list a .num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.post-summary__list a svg.chev {
  margin-left: auto;
  width: 16px; height: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

/* Entry content — the reading body itself, generously spaced */
.entry-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
}
.entry-content > * + * { margin-top: 28px; }

.entry-content h2,
.entry-content .wp-block-heading[data-level="2"] {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 56px;
  scroll-margin-top: 100px;
}
.entry-content h3,
.entry-content .wp-block-heading[data-level="3"] {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 40px;
  scroll-margin-top: 100px;
}
.entry-content p { margin: 0; }
.entry-content ul.wp-block-list,
.entry-content ol.wp-block-list,
.entry-content ul,
.entry-content ol {
  margin: 0;
  padding-left: 26px;
  display: grid;
  gap: 10px;
}
.entry-content li { line-height: 1.7; }
.entry-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.entry-content strong { color: var(--ink); font-weight: 700; }

/* Blockquote / pullquote (Gutenberg core blocks) */
.entry-content blockquote,
.entry-content .wp-block-quote {
  margin: 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--orange);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.entry-content .wp-block-quote cite,
.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}
.entry-content .wp-block-pullquote {
  margin: 0;
  padding: 36px 20px;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.entry-content .wp-block-pullquote blockquote {
  border-left: none;
  padding: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Images inside the article (Gutenberg alignment classes) */
.entry-content figure,
.entry-content .wp-block-image {
  margin-top: 48px;
  margin-bottom: 0;
}
.entry-content figure + *,
.entry-content .wp-block-image + * {
  margin-top: 48px;
}
.entry-content .wp-block-image img,
.entry-content figure img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
}
.entry-content figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}
.entry-content .alignwide {
  width: 100%;
  max-width: calc(var(--container-narrow) + 160px);
  margin-left: 50%;
  transform: translateX(-50%);
}
.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  transform: none;
}
@media (max-width: 880px) {
  .entry-content .alignwide { width: 100%; max-width: 100%; margin-left: 0; transform: none; }
}

/* Table (Gutenberg core/table) */
.entry-content table,
.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  margin-top: 48px;
  margin-bottom: 0;
}
.entry-content table + *,
.entry-content .wp-block-table + * {
  margin-top: 48px;
}
.entry-content th, .entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
}
.entry-content th { background: var(--cream); font-weight: 700; color: var(--ink); }

/* Separator (core/separator) */
.entry-content hr,
.entry-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

/* Code / preformatted (core/code, core/preformatted) */
.entry-content pre,
.entry-content .wp-block-code {
  background: var(--navy-darker);
  color: #d9e4f5;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  padding: 20px 22px;
  border-radius: var(--r-md);
  overflow-x: auto;
}
.entry-content code {
  font-family: var(--font-mono);
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Buttons block (core/buttons, core/button) inside article */
.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}
.entry-content .wp-block-button__link:hover { background: var(--orange-dark); }
.entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

/* Highlighted callout box (custom block, e.g. "Resumo rápido" mid-article) */
.entry-content .callout-box {
  background: var(--orange-soft);
  border: 1px solid rgba(229, 104, 32, 0.25);
  border-radius: var(--r-lg);
  padding: 24px 28px;
}
.entry-content .callout-box p { font-size: 16.5px; }
.entry-content .callout-box p:first-child { margin-top: 0; }

/* Tags + share row at end of article */
.post-footer {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.post-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}
.post-author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.post-author-card__avatar {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--orange) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}
.post-author-card__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.post-author-card__bio { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* Related posts */
.post-related { background: var(--cream); padding: 72px 0; }

/* =========================================================
   Pagination (blog listing / category archive)
   ========================================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pagination__item,
.pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pagination__item:hover,
.pagination__arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.pagination__item.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.pagination__arrow svg { width: 16px; height: 16px; }
.pagination__item[aria-disabled="true"],
.pagination__arrow[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}
.pagination__dots {
  color: var(--muted);
  padding: 0 4px;
  font-weight: 700;
}

/* Utilities */
.text-center { text-align: center; }
.hl-orange { color: var(--orange); }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }


/* =========================================================
   WordPress Menu Compatibility Overrides
   ========================================================= */
.site-nav,
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.site-nav li.menu-item-has-children {
  display: inline-block;
}
.site-nav .dropdown-menu li {
  display: block;
  width: 100%;
}
@media (max-width: 960px) {
  .site-nav.is-open li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.is-open > li > a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav.is-open .dropdown-menu {
    padding-left: 16px;
  }
}

/* =========================================================
   WordPress Pagination Styles
   ========================================================= */
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.15s ease;
  margin: 0 4px;
}
.blog-pagination .page-numbers:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.blog-pagination .page-numbers.current {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
}
