/* ═══════════════════════════════════════════════════════════════
   FEDESPMG · pages.css  —  Mobile-first
   Hero · Trust bar · Pillars · LGPD · News · CTA · Associate page
   ═══════════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(200,32,30,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 95%, rgba(47,74,147,0.35) 0%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.hero-text { order: 1; }
.hero-card { order: 2; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  margin-bottom: 22px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  max-width: 100%;
}
.hero-pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 3px rgba(224,50,47,0.2);
  flex-shrink: 0;
}
.hero-pill span {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: var(--red-500); font-weight: inherit; }
.hero-lede {
  font-size: clamp(15px, 0.5vw + 14px, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-actions .btn { flex: 1 1 auto; }
.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 12px;
}
.hero-meta-item .icon-wrap {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.hero-meta-item .label {
  font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 500;
  line-height: 1.4;
}

/* Hero card */
.hero-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 26px 22px;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red-600), transparent);
}
.hero-card-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--red-600);
  border-radius: var(--r-full);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.hero-card h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.hero-card p {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 20px;
}
.hero-card-list { display: flex; flex-direction: column; gap: 10px; }
.hero-card-item {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.hero-card-item .check {
  width: 22px; height: 22px;
  background: rgba(224,50,47,0.18);
  color: var(--red-500);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: var(--tap);
  margin-top: 22px;
  padding: 12px 20px;
  background: #fff; color: var(--navy-900);
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.hero-card-cta:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }

/* sm — wider tagline */
@media (min-width: 640px) {
  .hero-pill span { font-size: 13px; }
  .hero-meta { flex-direction: row; flex-wrap: wrap; gap: 24px; }
}
/* lg — split layout */
@media (min-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 80px) 0 110px; }
  .hero-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .hero-text { order: 0; }
  .hero-card { order: 0; padding: 36px; }
  .hero-card h3 { font-size: 22px; }
  .hero-meta { gap: 32px; padding-top: 28px; }
}

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-soft);
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex; flex-direction: column;
  gap: 20px;
}
.trust-bar-label {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}
.trust-bar-label strong { color: var(--text); display: block; font-weight: 700; }
.trust-bar-logos {
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 15px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.trust-logo:hover { opacity: 1; color: var(--navy-700); }

@media (min-width: 768px) {
  .trust-bar { padding: 44px 0; }
  .trust-bar-inner { flex-direction: row; align-items: center; gap: 48px; }
  .trust-bar-label { max-width: 180px; flex-shrink: 0; }
  .trust-logo { font-size: 17px; }
  .trust-bar-logos { gap: 36px; }
}
@media (min-width: 1024px) {
  .trust-bar-logos { gap: 48px; }
  .trust-logo { font-size: 18px; }
}

/* ── PILLARS / BENEFITS ───────────────────────────────────── */
.pillars-grid, .benefits-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.benefit-card:hover {
  border-color: var(--red-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.benefit-num {
  font-size: 11px; font-weight: 600;
  color: var(--red-600);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.benefit-card p  { font-size: 14px; line-height: 1.6; color: var(--text-soft); }

@media (min-width: 768px) {
  .benefit-card { padding: 28px; }
  .benefit-card h3 { font-size: 18px; margin-bottom: 10px; }
  .benefit-card p  { font-size: 14.5px; }
}

/* ── SPLIT (Quem somos) ──────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.split-right p {
  font-size: 16px; line-height: 1.7;
  color: var(--text-soft);
  text-wrap: pretty;
}
.split-right p + p { margin-top: 16px; }
.split-right p strong { color: var(--text); font-weight: 600; }

@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .split-right p { font-size: 16.5px; line-height: 1.75; }
  .split-right p + p { margin-top: 18px; }
}

.pillars-mt { margin-top: 56px; }
@media (min-width: 768px) { .pillars-mt { margin-top: 72px; } }
@media (min-width: 1024px) { .pillars-mt { margin-top: 80px; } }

/* ── LGPD BANNER ──────────────────────────────────────────── */
.lgpd-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
}
.lgpd-banner::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200,32,30,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.lgpd-banner::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background: repeating-linear-gradient(-45deg, transparent 0, transparent 12px, rgba(255,255,255,0.025) 12px, rgba(255,255,255,0.025) 13px);
  pointer-events: none;
}
.lgpd-banner-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.lgpd-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--red-600);
  border-radius: var(--r-full);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.lgpd-banner h2 { color: #fff; font-size: clamp(26px, 3vw + 12px, 38px); margin-bottom: 16px; }
.lgpd-banner p {
  font-size: 15.5px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

.lgpd-points { display: flex; flex-direction: column; gap: 10px; }
.lgpd-point {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
}
.lgpd-point-icon {
  width: 32px; height: 32px;
  background: rgba(224,50,47,0.18);
  color: var(--red-500);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lgpd-point span {
  font-size: 13.5px; color: rgba(255,255,255,0.85); font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .lgpd-banner { padding: 48px 40px; }
  .lgpd-banner p { font-size: 16.5px; line-height: 1.7; margin-bottom: 28px; }
  .lgpd-points { gap: 14px; }
  .lgpd-point { padding: 16px 20px; }
  .lgpd-point span { font-size: 14px; }
}
@media (min-width: 1024px) {
  .lgpd-banner { padding: 64px; }
  .lgpd-banner-inner { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
}

/* ── NEWS ─────────────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.news-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  overflow: hidden;
}
.news-card-img.var-1 { background: linear-gradient(135deg, #1a2e6b 0%, #2d4080 100%); }
.news-card-img.var-2 { background: linear-gradient(135deg, #16285a 0%, #0e1c3d 100%); }
.news-card-img.var-3 { background: linear-gradient(135deg, #0a1228 0%, #1f3878 100%); }
.news-card-img::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.news-card-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--red-600);
}
.news-card-pill {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--navy-900);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}
.news-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card-date {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted); font-weight: 500;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 17px; line-height: 1.35; margin-bottom: 10px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.news-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--text-soft);
  flex: 1;
}
.news-card-link {
  margin-top: 16px;
  font-size: 14px; font-weight: 600;
  color: var(--red-600);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.25s var(--ease);
  padding: 4px 0;
}
.news-card:hover .news-card-link { gap: 10px; }

@media (min-width: 768px) {
  .news-card-body { padding: 24px; }
  .news-card h3 { font-size: 18px; }
  .news-card p  { font-size: 14.5px; }
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
  text-align: center;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 20%, rgba(200,32,30,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 100%, rgba(47,74,147,0.2) 0%, transparent 60%);
}
.cta-banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw + 12px, 52px);
  margin-bottom: 18px;
  max-width: 800px;
  margin-inline: auto;
}
.cta-banner h2 em { color: var(--red-500); }
.cta-banner p {
  font-size: clamp(15px, 0.5vw + 14px, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-banner-actions {
  display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
  max-width: 360px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .cta-banner-actions { flex-direction: row; max-width: none; }
}
@media (min-width: 1024px) {
  .cta-banner { padding: 120px 0; }
  .cta-banner h2 { margin-bottom: 24px; }
  .cta-banner p { margin-bottom: 40px; }
}

/* ── ASSOCIE-SE PAGE ──────────────────────────────────────── */
.assoc-page-hero {
  padding: calc(var(--nav-h) + 28px) 0 40px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.assoc-page-hero-inner { max-width: 720px; }
.assoc-page-hero h1 { margin-bottom: 16px; }
.assoc-page-hero p {
  font-size: clamp(15px, 0.5vw + 14px, 18px);
  line-height: 1.65; color: var(--text-soft);
}

.assoc-page-body { padding: 48px 0 var(--section-y); }

.assoc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.assoc-info h3 { font-size: 20px; margin-bottom: 14px; }
.assoc-info > p {
  font-size: 15px; line-height: 1.65;
  color: var(--text-soft); margin-bottom: 24px;
}

.assoc-benefits-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.assoc-benefits-list .item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.assoc-benefits-list .item-icon {
  width: 36px; height: 36px;
  background: var(--red-50);
  color: var(--red-600);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.assoc-benefits-list .item-text strong {
  display: block;
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 3px;
}
.assoc-benefits-list .item-text span {
  font-size: 13px; line-height: 1.55; color: var(--text-muted);
}

.assoc-help {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex; gap: 14px; align-items: flex-start;
}
.assoc-help-icon {
  width: 36px; height: 36px;
  background: var(--navy-50); color: var(--navy-700);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.assoc-help strong {
  display: block;
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 3px;
}
.assoc-help p { font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.assoc-help a { color: var(--red-600); font-weight: 600; }

@media (min-width: 768px) {
  .assoc-page-hero { padding: calc(var(--nav-h) + 48px) 0 56px; }
  .assoc-page-body { padding: 64px 0 var(--section-y); }
  .assoc-info h3 { font-size: 22px; margin-bottom: 16px; }
  .assoc-info > p { font-size: 16px; margin-bottom: 32px; }
  .assoc-benefits-list .item { padding: 18px 0; }
  .assoc-benefits-list .item-text strong { font-size: 15.5px; }
  .assoc-benefits-list .item-text span { font-size: 13.5px; }
}
@media (min-width: 1024px) {
  .assoc-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
