/* Landing page pública */

.landing {
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-sans);
}

/* Top bar */
.land-topbar {
  position: sticky; top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 14px 0;
}
.land-topbar__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.land-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.land-logo img { height: 40px; width: auto; }
.land-logo__badge {
  width: 40px; height: 40px;
  background: var(--color-gradient);
  color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.land-logo strong { display: block; font-size: 16px; }
.land-logo small  { display: block; font-size: 11px; color: var(--color-muted); }

.land-nav {
  display: flex; align-items: center; gap: 24px;
}
.land-nav a {
  text-decoration: none;
  color: var(--color-foreground);
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.land-nav a:hover { color: var(--color-primary); }

.land-menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
}

@media (max-width: 768px) {
  .land-menu-toggle { display: block; }
  .land-nav {
    display: none;
    position: absolute; top: 100%; right: 0;
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px; flex-direction: column; gap: 12px;
    margin: 8px 16px 0; box-shadow: var(--shadow-lg);
  }
  .land-nav.open { display: flex; }
}

/* Hero */
.land-hero {
  background: var(--color-gradient);
  color: #fff;
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.land-hero::before, .land-hero::after {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.land-hero::before { top: -200px; left: -200px; }
.land-hero::after  { bottom: -300px; right: -200px; }
.land-hero__inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  text-align: center;
}
/* Quando há mockup, vira layout 2 colunas */
.land-hero__inner--with-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  max-width: 1280px;
}
.land-hero__inner--with-mockup .land-hero__cta { justify-content: flex-start; }
.land-hero__inner--with-mockup p { margin-left: 0; }

@media (max-width: 960px) {
  .land-hero__inner--with-mockup {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .land-hero__inner--with-mockup .land-hero__cta { justify-content: center; }
}

.land-hero h1 {
  font-size: 52px; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}
.land-hero p {
  font-size: 19px;
  color: rgba(255,255,255,.92);
  max-width: 720px; margin: 0 auto 32px;
  line-height: 1.6;
}
.land-hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}

/* ================================
   MOCKUP DE DASHBOARD FLUTUANTE
   ================================ */
.hero-mockup {
  position: relative;
  perspective: 1000px;
  animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-mockup__browser {
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.35),
    0 12px 24px rgba(0,0,0,.18);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  border: 1px solid rgba(255,255,255,.3);
}
.hero-mockup__bar {
  display: flex; align-items: center; gap: 8px;
  background: #f3f4f6;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.hero-mockup__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.hero-mockup__url {
  margin-left: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  color: #6b7280;
  flex: 1;
  font-family: ui-monospace, monospace;
}

.hero-mockup__screen {
  display: grid;
  grid-template-columns: 56px 1fr;
  height: 320px;
  background: #f7f8fa;
}

/* Sidebar do mock */
.mock-sidebar {
  background: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 6px;
}
.mock-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #00A859, #0077C8);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  margin-bottom: 8px;
}
.mock-nav-item {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  opacity: .55;
  cursor: default;
}
.mock-nav-item--active {
  background: rgba(0,168,89,.2);
  border-left: 3px solid #00A859;
  border-radius: 0 8px 8px 0;
  opacity: 1;
}

/* Conteúdo do mock */
.mock-content {
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.mock-topbar {
  display: flex; justify-content: space-between; align-items: center;
}
.mock-title {
  font-size: 13px; font-weight: 700;
  color: #1a1a1a;
}
.mock-avatar {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #00A859, #0077C8);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.mock-kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.mock-kpi small {
  font-size: 9px; color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mock-kpi strong {
  display: block;
  font-size: 16px;
  color: #00A859;
  font-weight: 800;
  margin-top: 2px;
}
.mock-trend.up::before {
  content: '↗';
  position: absolute; top: 6px; right: 6px;
  color: #10b981; font-weight: 700;
  font-size: 11px;
}

.mock-chart {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  height: 70px;
}
.mock-chart svg { width: 100%; height: 100%; }

.mock-bars {
  display: flex; align-items: flex-end;
  gap: 4px;
  height: 50px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
}
.mock-bars span {
  flex: 1;
  background: linear-gradient(to top, #0077C8, #00A859);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}

/* Card flutuante secundário */
.hero-mockup__floating {
  position: absolute;
  bottom: -22px; left: -28px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  animation: mockupFloat 5s ease-in-out infinite reverse;
}
.hero-mockup__floating-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.hero-mockup__floating small {
  display: block;
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-mockup__floating strong {
  display: block;
  font-size: 13px;
  color: #10b981;
}

@media (max-width: 960px) {
  .hero-mockup { margin: 40px auto 0; max-width: 460px; }
  .hero-mockup__floating { left: 0; }
}
@media (max-width: 480px) {
  .hero-mockup__browser { transform: none; }
}
.land-hero__cta .btn {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
}
.land-hero .btn--primary {
  background: #fff;
  color: var(--color-primary);
}
.land-hero .btn--ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.land-hero .btn--ghost:hover { background: rgba(255,255,255,.25); }

@media (max-width: 640px) {
  .land-hero { padding: 70px 24px 60px; }
  .land-hero h1 { font-size: 36px; }
  .land-hero p { font-size: 16px; }
}

/* Sections */
.land-section {
  padding: 90px 24px;
}
.land-section--alt {
  background: var(--color-bg);
}
.land-section__inner {
  max-width: 1280px; margin: 0 auto;
}
.land-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.land-section__lead {
  font-size: 17px; color: var(--color-muted);
  max-width: 720px; margin-bottom: 40px;
}

/* Números */
.land-numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.land-num {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.land-num:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.land-num__valor {
  font-size: 42px;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.land-num__label {
  font-size: 13px; color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Recursos / módulos */
.land-recursos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.land-recurso {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.land-recurso:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}
.land-recurso__ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin-bottom: 16px;
}
.land-recurso h3 {
  font-size: 18px; margin-bottom: 8px;
}
.land-recurso p {
  font-size: 14px; color: var(--color-muted); line-height: 1.6;
}

/* Notícias */
.land-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.land-noticia {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.land-noticia:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.land-noticia__img {
  height: 200px;
  background: var(--color-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: rgba(255,255,255,.5);
}
.land-noticia__img img { width: 100%; height: 100%; object-fit: cover; }
.land-noticia__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.land-noticia__cat {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.land-noticia h3 {
  font-size: 18px; line-height: 1.3;
  margin-bottom: 8px;
}
.land-noticia p {
  font-size: 14px; color: var(--color-muted);
  line-height: 1.5; flex: 1;
}
.land-noticia time {
  display: block; margin-top: 16px;
  font-size: 12px; color: var(--color-muted-light);
}

/* UFs */
.land-ufs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.land-uf {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none; color: inherit;
  display: block;
  transition: transform 0.2s, border-color 0.2s;
}
.land-uf:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  text-decoration: none;
}
.land-uf__sigla {
  display: inline-block;
  background: var(--color-gradient);
  color: #fff;
  font-size: 18px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.land-uf__nome { font-size: 14px; font-weight: 600; }
.land-uf__stats {
  display: flex; gap: 12px; margin-top: 10px;
  font-size: 11px; color: var(--color-muted);
}

/* Footer */
.land-footer {
  background: #1e293b;
  color: rgba(255,255,255,.8);
  padding: 60px 24px 30px;
}
.land-footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}
.land-footer__col strong {
  color: #fff;
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
}
.land-footer__col a, .land-footer__col p {
  display: block;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.6;
}
.land-footer__col a:hover { color: var(--color-primary); text-decoration: none; }
.land-footer__copy {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

@media (max-width: 768px) {
  .land-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Notícia individual */
.noticia-page {
  max-width: 760px; margin: 0 auto;
  padding: 60px 24px;
}
.noticia-page__back { color: var(--color-primary); text-decoration: none; font-size: 14px; }
.noticia-page__cat {
  display: inline-block; padding: 4px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 999px; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  margin-top: 16px;
}
.noticia-page h1 {
  font-size: 36px; line-height: 1.2;
  margin: 16px 0 12px;
  letter-spacing: -0.5px;
}
.noticia-page__meta {
  font-size: 13px; color: var(--color-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.noticia-page__resumo {
  font-size: 18px; line-height: 1.6;
  color: var(--color-foreground);
  font-weight: 500;
  margin-bottom: 24px;
}
.noticia-page__conteudo {
  font-size: 16px; line-height: 1.75;
  color: var(--color-foreground);
}
.noticia-page__conteudo p { margin-bottom: 18px; }
