/* =============================================================
   seguranca.css  —  Tutela Digital®
   Versão: 5.1  |  Atualizado: 2026-04-02
   Dependências: main.css, Syne + Inter (Google Fonts)
   
   AJUSTES DE COR E LEGIBILIDADE:
   - Aumento do contraste de textos secundários e mutados
   - Melhoria na opacidade de elementos informativos
   - Refinamento das cores de fundo e bordas para melhor hierarquia
   - Garantia de acessibilidade para leitura prolongada
============================================================= */

/* ── DESIGN TOKENS ───────────────────────────────────────── */
body.page-seguranca {
  --editorial-accent: #22c55e;
  --editorial-border: rgba(34, 197, 94, 0.2);
  --editorial-surface: rgba(255, 255, 255, 0.04);
  --editorial-text-muted: rgba(255, 255, 255, 0.75);
  --sec-green: #22c55e;
  --sec-green-dim: #16a34a;
  --sec-green-glow: rgba(34, 197, 94, .15);
  --sec-border: rgba(34, 197, 94, .2);
  --sec-surface: rgba(255, 255, 255, .04);
  --sec-surface-2: rgba(255, 255, 255, .07);
  --sec-text-muted: rgba(255, 255, 255, .75);
  --sec-text-soft: rgba(255, 255, 255, .65);
  --sec-radius: 12px;
  --sec-radius-lg: 20px;
}

/* SVG graphic */
.security-graphic {
  margin: 2rem 0;
  animation: fadeUp .65s .15s ease both;
}

/* ── INTRO ───────────────────────────────────────────────── */
.sec-intro {
  padding: 5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.sec-section-label {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sec-green);
  margin-bottom: .75rem;
}

.sec-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.sec-intro p {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--sec-text-muted);
  margin-bottom: 1rem;
  max-width: 720px;
}

/* ── PILARES GRID ────────────────────────────────────────── */
.sec-pillars {
  padding: 4rem 2rem 6rem;
  max-width: 1060px;
  margin: 0 auto;
}

.sec-pillars-header {
  margin-bottom: 2.5rem;
}

.sec-pillars-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: .5rem;
  color: #ffffff;
}

.sec-pillars-header p {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--sec-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* Grid 3+3 */
.sec-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

@media (max-width: 560px) {
  .sec-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Card base */
.sec-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--sec-border);
  border-radius: var(--sec-radius-lg);
  background: var(--sec-surface);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.sec-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sec-green), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.sec-card:hover {
  border-color: rgba(34, 197, 94, .5);  /* ↑ contraste no hover */
  background: var(--sec-surface-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}

.sec-card:hover::after {
  opacity: 1;
}

/* Card destacado — e-Notariado */
.sec-card--featured {
  background: linear-gradient(135deg, rgba(34, 197, 94, .12), rgba(34, 197, 94, .04)); /* + contraste sutil */
  border-color: rgba(34, 197, 94, .3);
}

/* Card internals */
.sec-card-icon {
  width: 38px;
  height: 38px;
  color: var(--sec-green);
  margin-bottom: 1.1rem;
}

.sec-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sec-green);
  opacity: .85;  /* mais legível */
  margin-bottom: .5rem;
}

.sec-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .7rem;
  line-height: 1.3;
  color: #ffffff;
}

.sec-card p {
  font-family: 'Inter', sans-serif;
  font-size: .855rem;
  line-height: 1.7;
  color: var(--sec-text-muted);
  margin: 0;
}

/* ── CONFIABILIDADE ──────────────────────────────────────── */
.sec-reliability {
  padding: 5rem 2rem;
  background: rgba(34, 197, 94, .06);  /* ↑ de .03 para melhor contraste de superfície */
  border-top: 1px solid var(--sec-border);
  border-bottom: 1px solid var(--sec-border);
}

.sec-reliability-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 720px) {
  .sec-reliability-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.sec-reliability h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.sec-reliability p {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--sec-text-muted);
  margin-bottom: 1rem;
}

/* Checklist */
.sec-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.sec-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);  /* ↑ de .8 para .85 */
}

.sec-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sec-green-glow);
  border: 1px solid var(--sec-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* ── CTA ─────────────────────────────────────────────────── */
.sec-cta {
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sec-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%,
      rgba(34, 197, 94, .12) 0%,  /* + sutil aumento */
      transparent 70%);
  pointer-events: none;
}

.sec-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.sec-cta h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
}

.sec-cta p {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--sec-text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.btn-sec-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  padding: .85rem 2rem;
  border-radius: var(--sec-radius);
  background: var(--sec-green);
  color: #0a0f0d;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-sec-primary:hover {
  background: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 197, 94, .3);
}

/* ── LEITURA COMPLEMENTAR ────────────────────────────────── */
.sec-related {
  padding: 4rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--sec-border);
}

.sec-related-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sec-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--sec-border);
  border-radius: var(--sec-radius);
  background: var(--sec-surface);
  text-decoration: none;
  transition: all .2s ease;
}

.sec-related-links a:hover {
  border-color: rgba(34, 197, 94, .45);
  background: var(--sec-surface-2);
  transform: translateX(4px);
}

.sec-related-link-meta {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sec-green);
  margin-bottom: .2rem;
}

.sec-related-link-title {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  line-height: 1.4;
  margin: 0;
}

.sec-related-link-arrow {
  flex-shrink: 0;
  color: var(--sec-green);
  opacity: .65;
  font-size: .9rem;
  transition: transform .2s, opacity .2s;
}

.sec-related-links a:hover .sec-related-link-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.page-header--security h1 {
  color: #ffffff;
}

.main {
  margin-top: 0;
}
/* ============================================================
   TYPOGRAPHY OVERRIDE — SEGURANÇA (GLOBAL FIX)
   ============================================================ */

.page-header--security h1,
.sec-intro h2,
.sec-pillars-header h2,
.sec-card h3,
.sec-reliability h2,
.sec-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Destaques (em verde dentro do H1) */
.page-header--security h1 em {
  font-family: var(--font-display);
  font-weight: 600;
}
