:root {
      --azul: #4da3ff;
      --azul-escuro: #003366;
      --azul-leve: #9bc8f8;
      --azul-claro: #e8f3ff;
      --preto: #0a0a0a;
      --cinza: #f5f5f5;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Poppins", sans-serif;
    }

    body {
      background: var(--azul-claro);
      color: var(--preto);
      overflow-x: hidden;
    
    }

    /* Header */
    header {
      width: 100%;
      padding: 20px 50px;
      background: var(--azul-claro);
      color: var(--preto);
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: 0.3s ease;
      margin-bottom: 20px;
    }
  
    /*header.scrolled {
      background: #000000d8;
      backdrop-filter: blur(10px);
    }
    */
    h1,h2{
      color: var(--azul-escuro);
    }
    header nav a {
      margin-left: 25px;
      text-decoration: none;
      
      font-weight: 500;
      transition: 0.3s ease;
    }

    header nav a:hover {
      color: var(--preto);
      font-weight: bold;
    }

    /* Hero */
    .hero {
      height: 85vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(to bottom, var(--azul-claro), white);
      text-align: center;
      padding: 20px;
      opacity: 0;
      transform: translateY(40px);
      transition: 1s ease;
    }

    .hero.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .hero h1 {
      font-size: 3em;
      color: var(--azul-escuro);
      animation: fadeIn 2s ease forwards;
      margin-bottom: 15px;
    }
    .hero p{
      font-size:x-large;
      
    }
    .hero .ai-brain{
      background-color: var(--azul-leve);
      border-radius: 10px;
      display: flex;
      flex-wrap: wrap;
      width: 300px;
    }   
    .hero .ai-brain img{
      width: 100%;
      height: auto;
      object-fit: cover;
      
    }
    @media(max-width: 768px){
      .hero{
        flex-direction: column;
      }
      .hero .ai-brain{
        margin-bottom: 3rem;
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Sections */
    .section {
      padding: 60px 80px;
      opacity: 0;
      transform: translateY(40px);
      transition: 0.9s ease;
    }

    .section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .section h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
    }
    .section h1{
      margin-bottom: 20px;
    }
    .section p{
      margin-bottom: 8px;
      
    }
    /* Serviços */
    .servicos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }
    .actions{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .actions form{
      display: flex;
      flex-direction: column;
    }
    .actions form button{
      padding: 10px;
      font-size:larger;
      margin-bottom: 20px;
      border-radius: 10px;
      cursor: pointer;
      color: var(--azul-escuro);
      border: 1px solid;
    }
    .actions form #conversa{
      background-color: var(--azul-escuro);
      color: var(--cinza);
      border: none;
    }
    .card {
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: 0.3s ease;
      transform: translateY(20px);
      opacity: 0;
      color: var(--azul-escuro);
    }
    #servicos article{
      margin-top: 20px;
      margin-bottom: 20px;
      padding: 5px;
    }
    #servicos article p{
      margin-top: 20px;
      
    }
    .card h1{
      font-size:x-large;
      margin-top: 20px;
    }
     .card p{
      margin-top: 20px;
  
    }
    .card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .card:hover {
      transform: scale(1.03);
    }
    .card div{
      background-color: var(--cinza);
      width: 90px;
      border-radius: 5px;
    }
    .card img{
      height: 60px;
      margin-left: 10px;
    }

    .section_about{
      background-color: var(--preto);
      color: var(--cinza);
      
    }
    .section_about article{
      padding: 30px 50px;
    }
    .section_about article h1,p{
      margin-bottom: 20px;
    }
    .section_about article p{
      text-indent: 20px;
    }
    .section_about article ul{
      margin-left: 40px;
    }
    .section_about article ul li{
      padding: 10px;
    }
    .section_about .card{
      background-color: var(--cinza);
    }
    .section_about .section .card div{
      background-color: white;
    }
    .container_whats{
      margin-top: 30px;
    }
    .section_whats{
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }
    .section_whats p{
      margin-top: 5px;
    }
    .check-icon{
      width: 24px;
      height: 24px;
      border-radius: 50%;
      position: relative;
      background-color: var(--cinza);
    }
    .check-icon::after{
      content: "";
      position: absolute;
      left: 6px;
      top: 3px;
      width: 6px;
      height: 12px;
      border: solid #003366;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    .section_info{
      display: flex;
      gap: 60px;
      background-color: white;
      align-items: center;
      justify-content: center;
      padding: 20px 0px;
      flex-wrap: wrap;
      border-radius: 10px;
    }
    .section form{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .section form input{
      width: 400px;
      height: 40px;
      margin: 20px 0px;
      border-radius: 10px;
      border: 1px solid;
      outline: none;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      text-indent: 20px;
    }
    .section form input:focus{
      border-color: var(--azul-escuro);
      box-shadow: 0 0 0 6px rgba(79,70,229,0.2);
    }
    .section form textarea:focus{
      border-color: var(--azul-escuro);
      box-shadow: 0 0 0 6px rgba(79,70,229,0.2);
    }
    .section form textarea{
      width: 400px;
      height: 100px;
      margin: 20px 0px;
      padding-top: 10px;
      border-radius: 10px;
      border: 1px solid;
      outline: none;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      text-indent: 20px;
    }
    #submit{
      padding: 10px;
      font-size:larger;
      margin-bottom: 20px;
      border-radius: 10px;
      cursor: pointer;
      background-color: var(--azul-escuro);
      color: var(--cinza);
      border: none;
    }

    @media(max-width){
      .section form input{
        width: 250px;
      }
      .section form textarea{
        width: 250px;
      }
    }

    #projects{
      background-color: var(--preto);
    }
    
.chatbot-card {
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.chatbot-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.chatbot-card .content {
  padding: 16px;
}

.chatbot-card h3 {
  margin: 0 0 8px;
  color: #1f2937;
}

.chatbot-card p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
}

.chatbot-card .cta {
  color: #10b981;
  font-weight: bold;
  font-size: 14px;
}

    /* Footer */
    footer {
      background: var(--azul-leve);
      color: var(--preto);
      padding: 50px 80px;
      margin-top: 40px;
    }

    footer .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
    }
    footer h3,h4{
      margin-bottom: 20px;
      color: var(--azul-escuro);
    }
    footer p{
      margin-bottom: 5px;
    }
    footer a {
      color: var(--preto);
      opacity: 0.8;
      text-decoration: none;
      margin-bottom: 10px;
      display: block;
      transition: 0.2s;
    }

    footer a:hover {
      opacity: 1;
      color: var(--azul);
    }

    footer #assin {
      margin-top: 20px;
      text-align: center;
      opacity: 0.7;
    }
    .footer-grid article{
      display: flex;
      margin-bottom: 20px;
    }
    .footer-grid article img{
      width: 35px;
      height: 30px;
      margin-right: 10px;
    }
    footer .redes-sociais{
      display: flex;
    }
    footer .redes-sociais article{
      margin-left: 20px;
    }
    
    .amor{
      margin-top: 15px;
    }
    /* ===========================
   RESPONSIVIDADE MOBILE
   =========================== */
@media (max-width: 480px) {

  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav a {
    margin: 8px;
  }

  .hero {
    height: auto;
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .ai-brain {
    width: 100%;
    max-width: 260px;
    margin-top: 20px;
  }

  .section {
    padding: 40px 20px;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .section form input,
  .section form textarea {
    width: 100%;
    max-width: 100%;
  }

  .section_info {
    gap: 20px;
    padding: 20px;
  }

  .chatbot-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  footer {
    padding: 40px 20px;
    text-align: center;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
  }

  footer .redes-sociais {
    justify-content: center;
  }
}
