/* ==========================
     Scroll suave
  ========================== */
  html {
    scroll-behavior: smooth;
  }

  /* ==========================
     Animações de entrada
  ========================== */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
  }
  .animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* ==========================
     Fundo Hero: azul escuro elegante
  ========================== */
  .hero-bg {
    background: linear-gradient(135deg, #003366, #004080); /* azul escuro → azul médio */
    position: relative;
    overflow: hidden;
  }
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  /* ==========================
     Menu mobile
  ========================== */
  #mobile-menu {
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15), 0 6px 12px -4px rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
  }

  .mobile-menu-item {
    position: relative;
    padding: 0.75rem 1rem;
  }
  .mobile-menu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 1px;
    background-color: rgba(229, 231, 235, 0.6); /* cinza suave */
  }

  /* ==========================
     Resultado do encurtamento
  ========================== */
  .result-container {
    animation: slideUp 0.5s ease-out forwards;
  }

  @keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .copy-feedback {
  font-size: 0.875rem;
  font-weight: 500;
  color: #065F46; /* verde escuro elegante */
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
  .copy-feedback.show {
    opacity: 1;
  }

  .share-btn {
    transition: all 0.2s ease;
    background-color: #2563EB; /* azul moderno */
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
  }
  .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background-color: #1D4ED8;
  }

  /* ==========================
     Botões e links
  ========================== */
  .btn-primary {
    background-color: #003366;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  .btn-primary:hover {
    background-color: #004080;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  /* ==========================
     Cards
  ========================== */
  .card {
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }
  
  /* ==========================
     Footer borda superior elegante
  ========================== */
  footer {
    background-color: #f8f9fa; /* fundo claro do footer */
    position: relative;
  }

  /* borda superior sobre o footer */
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px; /* altura da borda */
    background: linear-gradient(to bottom, #003366, transparent); /* azul escuro → transparente */
    pointer-events: none;
  }

  /* para suavizar a transição */
  footer .container {
    position: relative;
    z-index: 10;
    padding-top: 2rem; /* espaço entre conteúdo e borda */
  }