/* =========================================================
   FSM Homepage — CSS
   Largura máxima: 1340px (alinhada ao menu)
   ========================================================= */

:root {
  --fsm-navy: #1B3A5C;
  --fsm-navy-dark: #102B45;
  --fsm-navy-soft: #EDF3F8;
  --fsm-white: #FFFFFF;
  --fsm-text: #2F3A45;
  --fsm-muted: #6B7785;
  --fsm-border: #E1E8F0;
  --fsm-red: #C8102E;
  --fsm-yellow: #D4A02A;
  --fsm-yellow-soft: #FCD116;
  --fsm-green: #1B7E3A;
  --fsm-maxw: 1340px;
}

.fsm-home * { box-sizing: border-box; }
.fsm-home {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
}

/* =========================================================
   1) BANNER
   ========================================================= */
.fsm-home .lng-hero-wrapper {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fsm-home .lng-hero-content {
  position: relative;
  width: 100%;
  max-width: var(--fsm-maxw);
  margin: 0 auto;
  padding: 80px 0 90px;
  color: #fff;
}
.fsm-home .lng-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.fsm-home .lng-badge strong { color: var(--fsm-yellow-soft); }
.fsm-home .lng-stat { max-width: 620px; }
.fsm-home .lng-stat span {
  display: block;
  color: var(--fsm-yellow-soft);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.fsm-home .lng-stat h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.055em;
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.fsm-home .lng-description {
  max-width: 620px;
  margin-top: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--fsm-yellow-soft);
}
.fsm-home .lng-description p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.fsm-home .lng-description strong {
  display: block;
  margin-top: 4px;
  color: var(--fsm-yellow-soft);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.fsm-home .lng-message {
  margin-top: 30px;
  max-width: 540px;
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border-left: 5px solid var(--fsm-yellow-soft);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.fsm-home .lng-message h2 {
  margin: 0;
  color: var(--fsm-navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.fsm-home .lng-message h2 span {
  display: block;
  margin-top: 5px;
  color: var(--fsm-yellow);
}

/* =========================================================
   2) ACESSO RÁPIDO
   ========================================================= */
.fsm-home .quick-access-section {
  background: transparent;
  padding: 76px 0;
}
.fsm-home .quick-access-container {
  width: 100%;
  max-width: var(--fsm-maxw);
  margin: 0 auto;
}
.fsm-home .section-header { margin-bottom: 38px; }
.fsm-home .section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--fsm-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fsm-home .section-title {
  margin: 0;
  color: var(--fsm-navy);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}
.fsm-home .section-underline {
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--fsm-green) 0%, var(--fsm-green) 33%,
    var(--fsm-yellow) 33%, var(--fsm-yellow) 66%,
    var(--fsm-red) 66%, var(--fsm-red) 100%);
}
.fsm-home .quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.fsm-home .quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 32px;
  background: var(--fsm-white);
  border: 1px solid var(--fsm-border);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(27,58,92,.07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fsm-home .quick-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--fsm-navy);
}
.fsm-home .quick-card::after {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(27,58,92,.08), rgba(27,58,92,0));
  pointer-events: none;
}
.fsm-home .quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27,58,92,.24);
  box-shadow: 0 18px 44px rgba(27,58,92,.14);
}
.fsm-home .featured-card::before {
  background: linear-gradient(90deg, var(--fsm-green), var(--fsm-yellow), var(--fsm-red));
}
.fsm-home .quick-card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: 24px;
  color: var(--fsm-navy);
  background: var(--fsm-navy-soft);
  border-radius: 14px;
}
.fsm-home .quick-card-icon svg {
  width: 30px; height: 30px;
  stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.fsm-home .quick-card-content { margin-bottom: 24px; }
.fsm-home .quick-card-title {
  margin: 0 0 8px;
  color: var(--fsm-navy);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
}
.fsm-home .quick-card-subtitle {
  margin: 0 0 12px;
  color: var(--fsm-muted);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 700;
}
.fsm-home .quick-card-description {
  margin: 0;
  color: var(--fsm-text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}
.fsm-home .quick-card-footer { margin-top: auto; }
.fsm-home .quick-card-meta {
  display: block;
  margin-bottom: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--fsm-border);
  color: var(--fsm-muted);
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 700;
}
.fsm-home .quick-card-button {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  color: var(--fsm-white) !important;
  background: linear-gradient(135deg, var(--fsm-navy), var(--fsm-navy-dark));
  border: 1px solid rgba(27,58,92,.95);
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 14.5px;
  line-height: 1;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(27,58,92,.18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.fsm-home .quick-card-button::before {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .45s ease;
}
.fsm-home .quick-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(27,58,92,.28);
  filter: saturate(1.05);
}
.fsm-home .quick-card-button:hover::before { left: 120%; }
.fsm-home .quick-card-button svg {
  width: 17px; height: 17px;
  stroke: currentColor; stroke-width: 2.2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .22s ease;
}
.fsm-home .quick-card-button:hover svg { transform: translateY(2px); }

/* =========================================================
   3) NÚMEROS
   ========================================================= */
.fsm-home .fsm-numbers-section {
  background: var(--fsm-navy);
  color: #fff;
  padding: 72px 0;
}
.fsm-home .fsm-numbers-container {
  max-width: var(--fsm-maxw);
  margin: 0 auto;
}
.fsm-home .fsm-numbers-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fsm-yellow);
  margin: 0 0 12px;
  font-weight: 700;
}
.fsm-home .fsm-numbers-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.3;
}
.fsm-home .fsm-numbers-accent {
  display: inline-flex; gap: 4px;
  margin-top: 8px; margin-bottom: 8px;
}
.fsm-home .fsm-numbers-accent span {
  width: 20px; height: 4px; border-radius: 2px;
}
.fsm-home .fsm-numbers-accent .a1 { background: var(--fsm-green); }
.fsm-home .fsm-numbers-accent .a2 { background: var(--fsm-yellow); }
.fsm-home .fsm-numbers-accent .a3 { background: var(--fsm-red); }
.fsm-home .fsm-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.fsm-home .fsm-numbers-item {
  padding: 24px 20px;
  border-left: 3px solid var(--fsm-yellow);
}
.fsm-home .fsm-numbers-value {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 10px;
}
.fsm-home .fsm-numbers-label {
  font-size: 14px;
  color: #C7D2DE;
  line-height: 1.5;
  margin: 0;
}
.fsm-home .fsm-numbers-source {
  font-size: 13px;
  color: #9BA8B8;
  margin-top: 32px;
  font-style: italic;
}
.fsm-home .fsm-numbers-chart {
  margin-top: 40px;
}

/* =========================================================
   4) NOTÍCIAS
   ========================================================= */
.fsm-home .fsm-news-section {
  background: #fff;
  padding: 72px 0;
  color: var(--fsm-navy);
}
.fsm-home .fsm-news-container {
  max-width: var(--fsm-maxw);
  margin: 0 auto;
}
.fsm-home .fsm-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.fsm-home .fsm-news-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fsm-muted);
  margin: 0 0 12px;
  font-weight: 700;
}
.fsm-home .fsm-news-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fsm-navy);
  line-height: 1.3;
}
.fsm-home .fsm-news-accent { display: inline-flex; gap: 4px; margin-top: 8px; }
.fsm-home .fsm-news-accent span { width: 20px; height: 4px; border-radius: 2px; }
.fsm-home .fsm-news-accent .a1 { background: var(--fsm-green); }
.fsm-home .fsm-news-accent .a2 { background: var(--fsm-yellow); }
.fsm-home .fsm-news-accent .a3 { background: var(--fsm-red); }

.fsm-home .fsm-news-section a,
.fsm-home .fsm-news-section a:hover,
.fsm-home .fsm-news-section a:focus,
.fsm-home .fsm-news-section a:visited { text-decoration: none !important; }

.fsm-home .fsm-news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fsm-navy);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.fsm-home .fsm-news-view-all:hover { border-bottom-color: var(--fsm-yellow); }
.fsm-home .fsm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fsm-home .fsm-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}
.fsm-home .fsm-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,58,92,.10);
}
.fsm-home .fsm-news-card, .fsm-home .fsm-news-card *,
.fsm-home .fsm-news-card:hover, .fsm-home .fsm-news-card:hover * {
  text-decoration: none !important;
}
.fsm-home .fsm-news-image {
  width: 100%;
  height: 200px;
  background-color: var(--fsm-navy);
  background-size: cover;
  background-position: center;
  position: relative;
}
.fsm-home .fsm-news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--fsm-yellow);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.fsm-home .fsm-news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fsm-home .fsm-news-date {
  font-size: 12px;
  color: var(--fsm-muted);
  font-weight: 600;
  letter-spacing: .5px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.fsm-home .fsm-news-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--fsm-navy);
  line-height: 1.4;
  margin: 0 0 12px;
  flex: 1;
}
.fsm-home .fsm-news-excerpt {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin: 0 0 16px;
}
.fsm-home .fsm-news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fsm-navy);
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}
.fsm-home .fsm-news-card:hover .fsm-news-link { color: var(--fsm-yellow); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1380px) {
  .fsm-home .lng-hero-content,
  .fsm-home .quick-access-container,
  .fsm-home .fsm-numbers-container,
  .fsm-home .fsm-news-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 1024px) {
  .fsm-home .quick-access-grid { grid-template-columns: repeat(2, 1fr); }
  .fsm-home .fsm-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .fsm-home .fsm-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fsm-home .lng-hero-content { padding: 50px 20px 60px; }
  .fsm-home .lng-badge { padding: 7px 14px; font-size: 10.5px; }
  .fsm-home .lng-stat span { font-size: 26px; }
  .fsm-home .lng-stat h1 { font-size: 40px; letter-spacing: -.04em; }
  .fsm-home .lng-description { margin-top: 16px; padding-left: 12px; border-left-width: 3px; }
  .fsm-home .lng-description p,
  .fsm-home .lng-description strong { font-size: 15px; }
  .fsm-home .lng-message { padding: 20px 18px; margin-top: 24px; border-radius: 12px; }
  .fsm-home .lng-message h2 { font-size: 22px; line-height: 1.1; }
  .fsm-home .quick-access-section,
  .fsm-home .fsm-numbers-section,
  .fsm-home .fsm-news-section { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 576px) {
  .fsm-home .quick-access-grid { grid-template-columns: 1fr; gap: 18px; }
  .fsm-home .quick-card { min-height: auto; padding: 28px 24px; }
  .fsm-home .quick-card-title { font-size: 19px; }
  .fsm-home .fsm-numbers-grid { grid-template-columns: 1fr; gap: 16px; }
  .fsm-home .fsm-numbers-value { font-size: 26px; }
  .fsm-home .fsm-news-grid { grid-template-columns: 1fr; gap: 20px; }
  .fsm-home .fsm-news-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .fsm-home .lng-hero-content { padding: 40px 16px 50px; }
  .fsm-home .lng-badge { font-size: 10px; padding: 6px 12px; }
  .fsm-home .lng-stat span { font-size: 22px; }
  .fsm-home .lng-stat h1 { font-size: 32px; letter-spacing: -.03em; }
  .fsm-home .lng-description p,
  .fsm-home .lng-description strong { font-size: 14px; }
  .fsm-home .lng-message { padding: 18px 16px; }
  .fsm-home .lng-message h2 { font-size: 19px; }
}
