@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

  html {
    scroll-behavior: smooth;
    
    overflow-x: hidden;
  }

  body {
    font-family: "Montserrat", sans-serif;
    background: #0a0a0f;
  }

  /* 🌐 Fundo de circuito animado */
  .circuit-bg {
    background-image:
      radial-gradient(circle at 20% 50%, rgba(0, 167, 181, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(0, 122, 135, 0.08) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
  }

  .circuit-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
      linear-gradient(90deg, rgba(0, 167, 181, 0.02) 1px, transparent 1px),
      linear-gradient(180deg, rgba(0, 167, 181, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-move 30s linear infinite;
  }

  .circuit-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='circuit' x='0' y='0' width='400' height='400' patternUnits='userSpaceOnUse'%3E%3Cg stroke='%2300A7B5' stroke-width='0.5' fill='none' opacity='0.15'%3E%3Cpath d='M50 100 L150 100 L150 150 L250 150'/%3E%3Cpath d='M250 150 L300 150 L300 250'/%3E%3Cpath d='M100 250 L200 250 L200 300 L350 300'/%3E%3Cpath d='M50 50 L120 50 L120 100'/%3E%3Cpath d='M300 50 L300 100 L350 100'/%3E%3Ccircle cx='150' cy='100' r='2' fill='%2300A7B5'/%3E%3Ccircle cx='250' cy='150' r='2' fill='%2300A7B5'/%3E%3Ccircle cx='200' cy='250' r='2' fill='%2300A7B5'/%3E%3Ccircle cx='120' cy='50' r='2' fill='%2300A7B5'/%3E%3Ccircle cx='300' cy='100' r='2' fill='%2300A7B5'/%3E%3Ccircle cx='50' cy='100' r='1.5' fill='%2300A7B5' opacity='0.5'/%3E%3Ccircle cx='100' cy='250' r='1.5' fill='%2300A7B5' opacity='0.5'/%3E%3Ccircle cx='350' cy='300' r='1.5' fill='%2300A7B5' opacity='0.5'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23circuit)'/%3E%3C/svg%3E");
    background-size: 400px 400px;
    opacity: 0.25;
    animation: circuit-pulse 10s ease-in-out infinite;
  }

  @keyframes circuit-pulse {

    0%,
    100% {
      opacity: 0.2;
    }

    50% {
      opacity: 0.35;
    }
  }

  @keyframes grid-move {
    0% {
      transform: translate(0, 0);
    }

    100% {
      transform: translate(50px, 50px);
    }
  }

  /* ✨ Partículas */
  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 167, 181, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 167, 181, 0.8);
    animation: particle-float 4s ease-in-out infinite;
  }

  @keyframes particle-float {

    0%,
    100% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }

    10%,
    90% {
      opacity: 1;
    }
  }

  /* ⚡ Linhas animadas */
  .circuit-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 167, 181, 0.8), rgba(0, 255, 209, 0.6), transparent);
    animation: circuit-flow 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 167, 181, 0.5);
  }

  @keyframes circuit-flow {
    0% {
      opacity: 0;
      transform: translateX(-100%);
    }

    50% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  /* 📱 Fade Up */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }

  .fade-up.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* 🇧🇷 Bandeira */
  .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
  }

  /* 💬 Botão WhatsApp animado */
  @keyframes pulse-whats {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
      transform: scale(1.1);
      box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }

  .animate-pulse-whats {
    animation: pulse-whats 2.5s infinite;
  }

  #whatsapp-float:hover {
    transform: scale(1.1);
  }

  /* 🪄 Card hover + glow */
  .card-glow {
    position: relative;
    cursor: pointer;
    user-select: text;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
  }

  .card-glow:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 167, 181, 0.3);
  }

  .card-glow:active {
    transform: scale(0.98);
  }

  .card-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #00A7B5, #007A87, #00A7B5);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(10px);
  }

  .card-glow:hover::before {
    opacity: 0.6;
  }

  /* 🎉 Modal de sucesso */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .modal-content {
    background: #12121a;
    border: 2px solid #00A7B5;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 167, 181, 0.4);
  }

  .modal-overlay.show .modal-content {
    transform: scale(1);
  }

  .modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #00A7B5, #00FFD1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modal-icon-pulse 2s ease-in-out infinite;
  }

  @keyframes modal-icon-pulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(0, 167, 181, 0.7);
    }
    50% {
      box-shadow: 0 0 0 20px rgba(0, 167, 181, 0);
    }
  }

  /* 🖱️ Cursor pointer global para botões */
  button,
  a[role="button"],
  input[type="submit"] {
    cursor: pointer;
  }

  /* 🌈 Gradiente animado */
  .gradient-animated {
    background: linear-gradient(135deg, #00A7B5, #007A87, #005961);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
  }

  @keyframes gradient-shift {

    0%,
    100% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }
  }

  /* 🧊 Navbar Glass */
  .navbar-glass {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 167, 181, 0.2);
  }

  /* 🧰 Tech Border */
  .tech-border {
    border: 1px solid rgba(0, 167, 181, 0.3);
    position: relative;
  }

  .tech-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00A7B5, transparent);
  }

  /* 📨 Modal de sucesso */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in {
    animation: fadeIn 0.3s ease;
  }