/* ===== Juventude Sem Bullying — tema neon + responsivo ===== */
:root {
  --neon-blue: #38bdf8;
  --neon-purple: #a78bfa;
  --neon-pink: #f472b6;
  --neon-green: #34d399;
  --bg-dark: #0a0118;
  --bg-darker: #060011;
  --white: #fff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-900: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --gradient-neon: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  --shadow-neon: 0 0 40px rgba(56, 189, 248, 0.25);
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 0.25s ease;
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1120px, calc(100% - 2rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: #fafbff;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: var(--container); margin-inline: auto; padding-inline: 0; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 1, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  z-index: 2;
}
.logo-text {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo-icon { font-size: 1.35rem; }
.logo-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-flag:hover { transform: translateY(-1px) scale(1.03); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28); }
.logo-flag:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-cta {
  background: var(--gradient-neon) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-neon);
  animation: navCtaPulse 1.9s ease-out infinite;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

@keyframes navCtaPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0.55),
      0 0 32px rgba(56, 189, 248, 0.2);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(56, 189, 248, 0),
      0 0 40px rgba(167, 139, 250, 0.28);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0),
      0 0 32px rgba(56, 189, 248, 0.2);
  }
}

.nav-admin-cta {
  background: linear-gradient(135deg, rgba(52,211,153,0.18), rgba(167,139,250,0.18)) !important;
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: var(--white) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.18), 0 10px 34px rgba(34, 211, 238, 0.12);
}
.nav-admin-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Hero */
.hero {
  min-height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: clamp(88px, 12vw, 120px) 0 clamp(48px, 8vw, 72px);
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: morphFloat 18s ease-in-out infinite;
}
.shape-1 { width: 40vw; max-width: 420px; height: 40vw; max-height: 420px; background: var(--neon-purple); top: -10%; left: -5%; }
.shape-2 { width: 35vw; max-width: 360px; height: 35vw; max-height: 360px; background: var(--neon-blue); bottom: 10%; right: -8%; animation-delay: -6s; }
.shape-3 { width: 25vw; max-width: 280px; height: 25vw; max-height: 280px; background: var(--neon-pink); top: 40%; left: 30%; animation-delay: -12s; }
.shape-4 { width: 20vw; max-width: 220px; height: 20vw; max-height: 220px; background: var(--neon-green); bottom: 30%; left: 10%; animation-delay: -3s; }
@keyframes morphFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -3%) scale(1.05); }
  66% { transform: translate(-3%, 4%) scale(0.95); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(167, 139, 250, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(56, 189, 248, 0.2), transparent 50%);
  z-index: 0;
  animation: aurora 12s ease infinite alternate;
}
@keyframes aurora {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-highlight {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientText 6s ease infinite;
  background-size: 200% auto;
}
.hero-sem { color: rgba(255, 255, 255, 0.95); margin: 0 0.15em; }
@keyframes gradientText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.75rem;
}
.hero-desc {
  max-width: none;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.85rem, 2vw, 1rem);
  padding-inline: 0.5rem;
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-bounce);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary {
  background: var(--gradient-neon);
  color: var(--white);
  box-shadow: var(--shadow-neon);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(167, 139, 250, 0.35); }
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--neon-blue); background: rgba(56, 189, 248, 0.12); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 3vw, 20px);
  max-width: 640px;
  margin-inline: auto;
}
.stat {
  padding: 16px 12px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(56, 189, 248, 0.2); }
.stat-number { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: var(--neon-blue); }
.stat-suffix { font-weight: 800; color: var(--neon-pink); }
.stat-label { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 1.5s ease infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.4; transform: translateY(12px); }
}

/* News ticker */
.news-ticker {
  display: flex;
  align-items: stretch;
  background: var(--bg-darker);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}
.news-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--gradient-neon);
}
.news-ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 2%, black 98%, transparent); }
.news-ticker-content {
  display: flex;
  gap: 3rem;
  padding: 12px 0;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.news-ticker:hover .news-ticker-content { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
.ticker-source { font-weight: 700; margin-right: 6px; }

/* Sections */
.section { padding: clamp(48px, 8vw, 72px) 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 5vw, 40px); }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 12px;
  line-height: 1.2;
}
.section-desc { margin: 0; color: var(--gray-500); font-size: 1rem; }
.text-gradient {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* News section */
.news-search-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  margin-bottom: 16px;
  transition: var(--transition);
}
.news-search-wrapper:focus-within {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), var(--shadow-neon);
}
.news-search-icon { opacity: 0.5; }
#newsSearchInput {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 8px 4px;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.news-filter {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--gray-100);
  color: var(--gray-900);
  transition: var(--transition);
}
.news-filter:hover, .news-filter.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(167, 139, 250, 0.2));
  color: var(--gray-900);
  font-weight: 600;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .news-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }
  .news-card-featured .news-card-link {
    display: contents;
  }
  .news-card-featured .news-card-img-wrap {
    aspect-ratio: auto;
    min-height: 220px;
    max-height: 320px;
  }
  .news-card-featured .news-card-img {
    min-height: 220px;
    max-height: 320px;
  }
  .news-card-featured .news-card-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .news-card-featured .news-card-title {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  }
  .news-card-featured .news-card-footer {
    grid-column: 1 / -1;
    padding-top: 0;
    margin-top: -4px;
  }
}
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--gray-500);
}
.news-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border: 3px solid var(--gray-100);
  border-top-color: var(--neon-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: var(--transition-bounce);
}
.news-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12); }
.news-card-link { display: block; color: inherit; }
.news-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #e2e8f0 0%, #f1f5f9 100%);
  position: relative;
}
.news-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.news-card-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.5s var(--transition-bounce);
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  background-size: 200% 200%;
  animation: placeholderShift 8s ease infinite;
}
@keyframes placeholderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.placeholder-initial { font-weight: 800; font-size: 2rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); }
.news-card-body { padding: 16px; }
.news-card-meta { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.news-card-source {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--white);
}
.news-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.news-card-excerpt { font-size: 0.88rem; color: var(--gray-500); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer {
  padding: 0 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.news-card-portal { font-size: 0.8rem; color: var(--neon-purple); font-weight: 600; }
.news-more { text-align: center; margin-top: 28px; }
.news-more[hidden] { display: none !important; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.about-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition-bounce);
}
.about-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.about-icon { font-size: 2rem; margin-bottom: 12px; }
.about-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.about-card p { margin: 0; color: var(--gray-500); font-size: 0.95rem; }

/* Dados */
.section-dados {
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dados .section-tag { background: rgba(255, 255, 255, 0.1); color: var(--neon-blue); }
.section-dados .section-title { color: var(--white); }
.section-dados .section-desc { color: rgba(255, 255, 255, 0.6); }
.dados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.dado-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
}
.dado-card:hover { box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15); transform: translateY(-4px); }
.dado-icon { font-size: 2rem; margin-bottom: 8px; }
.dado-number { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; color: var(--neon-blue); display: inline; }
.dado-suffix { font-size: 1.5rem; font-weight: 700; color: var(--neon-pink); }
.dado-desc { margin: 12px 0 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.dado-source { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); }

/* Depoimentos */
.section-depoimentos { background: var(--gray-50); }
.depoimentos-carousel { position: relative; overflow: hidden; }
.depoimentos-track {
  display: flex;
  transition: transform 0.45s ease;
}
.depoimento-card {
  flex: 0 0 100%;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.depoimento-quote { font-size: 3rem; line-height: 1; color: var(--neon-purple); opacity: 0.35; font-family: Georgia, serif; }
.depoimento-card p { font-size: 1.05rem; margin: 0 0 20px; color: var(--gray-900); }
.depoimento-author { display: flex; align-items: center; gap: 14px; }
.depoimento-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-neon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.depoimento-author strong { display: block; }
.depoimento-author span { display: block; font-size: 0.85rem; color: var(--gray-500); }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  font-size: 1.2rem;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--gray-100); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-400);
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--neon-purple); transform: scale(1.15); }

/* CTA */
.section-cta {
  background: var(--bg-dark);
  padding: clamp(40px, 8vw, 60px) 0;
  position: relative;
  overflow: hidden;
}
.cta-content { text-align: center; color: var(--white); position: relative; z-index: 1; }
.cta-content h2 { font-family: 'Sora', 'Inter', system-ui, sans-serif; font-size: clamp(1.5rem, 4vw, 2.25rem); margin: 0 0 12px; }
.cta-content p { color: rgba(255, 255, 255, 0.7); margin: 0 0 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-white {
  background: var(--white);
  color: var(--gray-900);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2); }
.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

/* Footer */
.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; margin-bottom: 12px; }
.footer-about p { font-size: 0.9rem; margin: 0 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--glass-bg);
  transition: var(--transition);
}
.footer-social a:hover { box-shadow: 0 0 20px rgba(56, 189, 248, 0.35); transform: translateY(-2px); }
.footer-links h4 { color: var(--white); margin: 0 0 14px; font-size: 0.95rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.footer-links a:hover { color: var(--neon-blue); }
.footer-contact h4 { color: var(--white); margin: 0 0 14px; }
.footer-contact p { margin: 0 0 8px; font-size: 0.9rem; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 4px 0; }

/* Fade in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Mobile / tablet ===== */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: 1fr; max-width: 280px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 1, 24, 0.97);
    backdrop-filter: blur(12px);
    gap: 8px;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }
  .hero-scroll { display: none; }
  .news-ticker { flex-direction: column; }
  .news-ticker-label { justify-content: center; }
  .news-search-wrapper .btn { width: 100%; }
}

@media (max-width: 480px) {
  :root { --container: min(100%, calc(100% - 1.25rem)); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .news-ticker-content, .shape, .hero-highlight, .scroll-indicator::after { animation: none !important; }
  .nav-cta { animation: none !important; }
  .depoimentos-track { transition: none; }
  .news-card-img { transition: none; }
  .news-card:hover .news-card-img { transform: none; }
  .news-card-img-placeholder { animation: none !important; }
}

/* ===== Acessibilidade (botao discreto flutuante) ===== */
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.a11y-high-contrast {
  background: #fff !important;
  color: #000 !important;
}
body.a11y-high-contrast .hero,
body.a11y-high-contrast .section-cta,
body.a11y-high-contrast .navbar.scrolled {
  background: #fff !important;
}
body.a11y-high-contrast .card,
body.a11y-high-contrast .about-card,
body.a11y-high-contrast .dado-card,
body.a11y-high-contrast .depoimento-card,
body.a11y-high-contrast details {
  background: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
  box-shadow: none !important;
}
.a11y-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1205;
}
.a11y-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 1, 24, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(6, 0, 17, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.a11y-panel {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: min(260px, calc(100vw - 24px));
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 1, 24, 0.92);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.a11y-widget.is-open .a11y-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.a11y-title { margin: 0 0 10px; font-size: .9rem; font-weight: 700; }
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.a11y-row:last-child { margin-bottom: 0; }
.a11y-actions { display: inline-flex; gap: 6px; }
.a11y-btn,
.a11y-switch {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 9px;
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  font-size: .78rem;
  font-weight: 700;
}
.a11y-switch { min-width: 86px; border-radius: 999px; }
.a11y-switch.is-on {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.5);
  color: #86efac;
}

@media (max-width: 768px) {
  .a11y-widget {
    right: 12px;
    bottom: 12px;
  }
  .a11y-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .a11y-panel {
    width: min(240px, calc(100vw - 20px));
    bottom: 44px;
  }
}
