 /* index */


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: #222;
    overflow-x: hidden;
    max-width: 100%;
    }


    .hero {
      max-width: 100%;
      margin: 0 auto;
      text-align: left;
    }

    .hero h1 {
      font-family: 'Poppins', sans-serif;
      font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .hero p {
      font-size: clamp(1rem, 2.5vw, 1.25rem);
      margin: 1rem 0;
      max-width: 100%;
    }

    .cta {
      background-color: var(--primary-color);
      color: #fff;
      border: none;
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 1.5rem;
      width: fit-content;
    }

    .cta:hover {
      background-color: var(--primary-hover);
    }

    .carousel-section {
      max-width: 950px;
      margin: 2rem 0;
      position: relative;
      height: 500px;
      padding: 0 2rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .CTA-section {
      max-width: 950px;
      margin: 2rem 0;
      position: relative;
      padding: 0 2rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

.max-w-sm {
    max-width: 40rem !important;
}

    .chapters {
      max-width: 1200px;
      margin: 0 auto;
      text-align: left;
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      gap: 1rem;
      height: 100%;
      padding-bottom: 1rem;
      padding-top: 1rem;
    }

    .chapters::-webkit-scrollbar {
      display: none;
    }

    .chapter {
      flex: 0 0 auto;
      height: auto;
      border-radius: 10px;
      background-size: cover;
      background-position: center;
      position: relative;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      scroll-snap-align: start;
    }

    .chapter:hover {
      transform: scale(1.05);
    }

    .chapter::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.3);
      opacity: 0;
      transition: opacity 0.3s ease;
      border-radius: 10px;
    }

    .chapter:hover::after {
      opacity: 1;
    }

    .chapter-title {
      position: absolute;
      top: 40px;
      left: 20px;
      color: #fff;
      font-family: 'Poppins', sans-serif;
      font-weight: bold;
      text-shadow: 0 0 10px rgba(0,0,0,0.6);
      z-index: 1;
    }


    .chapter-subtitle {
        position: absolute;
        bottom: 40px;
        left: 20px;
        color: #fff;
        font-size: clamp(0.9rem, 2vw, 2rem);
        font-weight: 500;
        font-family: 'Montserrat', sans-serif;
        z-index: 1;
        text-shadow: 0 0 6px rgba(0,0,0,0.5);
        }

    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: rgba(0, 0, 0, 0.4);
      border: none;
      border-radius: 50%;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }

    .nav-btn:hover {
      background: rgba(0, 0, 0, 0.6);
    }

    .prev-btn {
      left: 80px;
    }

    .next-btn {
      right: 80px;
    }

    /* Responsividade */
    @media (max-width: 599px) {
        .chapters {
            padding: 1rem 1.5rem;
        }

        .chapter {
            width: 100vw;
        }

      .nav-btn {
        display: flex;
        font-size: 1rem;
        padding: 0.4rem;
      }

      .prev-btn {
        left: 5px;
      }

      .next-btn {
        right: 5px;
      }
    }

    @media (min-width: 600px) and (max-width: 899px) {
      .chapter {
        width: 50vw;
      }
      .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    }

    @media (min-width: 900px) {
      .chapter {
        width: 20vw;
      }
      .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    }

    @media (min-width: 1000px) {
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    }


     @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .animate-fade-in {
            animation: fadeIn 0.8s ease-out forwards;
        }

        .animate-pulse {
            animation: pulse 2s infinite;
        }

        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }
        .delay-4 { animation-delay: 0.8s; }
        .delay-5 { animation-delay: 1s; }

        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }


        .popup-overlay.active .popup-content {
            transform: scale(1);
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #4b5563;
        }

        .character-card {
            transition: all 0.3s ease;
            transform-style: preserve-3d;
        }

        .character-card:hover {
            transform: translateY(-10px) rotateY(5deg);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .floating {
            animation: floating 3s ease-in-out infinite;
        }

        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        /* index */

        /* index-deep */
        @keyframes fadeIn {
          from { opacity: 0; transform: translateY(20px); }
          to { opacity: 1; transform: translateY(0); }
      }

      @keyframes pulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.05); }
          100% { transform: scale(1); }
      }

      .animate-fade-in {
          animation: fadeIn 0.8s ease-out forwards;
      }

      .animate-pulse {
          animation: pulse 2s infinite;
      }

      .delay-1 { animation-delay: 0.2s; }
      .delay-2 { animation-delay: 0.4s; }
      .delay-3 { animation-delay: 0.6s; }
      .delay-4 { animation-delay: 0.8s; }
      .delay-5 { animation-delay: 1s; }

      .popup-overlay {
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: #1e293b;
          display: flex;
          justify-content: center;
          align-items: center;
          z-index: 1000;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
      }

      .popup-overlay.active {
          opacity: 1;
          visibility: visible;
      }

      .popup-content {
          color: #1e293b;
          font-size: 1.25rem;
          background: #fff;
          padding: 3rem 2rem 2rem;
          border-radius: 15px;
          max-width: 700px;
          width: 90%;
          transform: scale(0.8);
          transition: transform 0.3s ease;
          box-shadow: 0 10px 25px rgba(0,0,0,0.2);
          position: relative;
      }

      .popup-overlay.active .popup-content {
          transform: scale(1);
      }

      .close-btn {
          position: absolute;
          top: 10px;
          right: 10px;
          background: none;
          border: none;
          font-size: 1.5rem;
          cursor: pointer;
          color: #4b5563;
      }

      .character-card {
          transition: all 0.3s ease;
          transform-style: preserve-3d;
      }

      .character-card:hover {
          transform: translateY(-10px) rotateY(5deg);
          box-shadow: 0 15px 30px rgba(0,0,0,0.15);
      }

      .floating {
          animation: floating 3s ease-in-out infinite;
      }

      @keyframes floating {
          0% { transform: translateY(0px); }
          50% { transform: translateY(-10px); }
          100% { transform: translateY(0px); }
      }

      .bg-footer {
        background-color: #1e293b;
        margin-top: 10rem;
      }

      .logo-gov {
          display: flex;
          align-items: center;
          gap: 20px;
          justify-content: center;
      }

      .logo-header {
        display: block;
        margin: 0px auto 0 auto;
        width: 20rem;
       }

      .logo-footer {
        display: block;
        margin: -120px auto 0 auto; /* margem superior negativa e centralização */
        width: 15rem;
      }

      /* Footer */
      .footer {
        background-color: #1e293b;
        color: white;
        padding: 3rem 0 2rem;
      }

      .footer-tagline {
          font-size: 1.2rem;
          font-weight: 600;
          margin-bottom: 1.5rem;
          color: #06b6d4;
      }
      .footer-link {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.3s ease;
      }
      .footer-link:hover {
          color: #06b6d4;
      }

      .footer-bottom p {
          color: #64748b;
          font-size: 0.8rem;
          margin-bottom: 0.5rem;
      }

      .footer-bottom {
        border-top: 1px solid #475569;
        padding-top: 1.5rem;
        text-align: center;
      }

      /* index-deep */

      /* Botão Créditos */
       @keyframes slideUp {
        from {
          transform: translateY(100%);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }

      @keyframes slideDown {
        from {
          transform: translateY(0);
          opacity: 1;
        }
        to {
          transform: translateY(100%);
          opacity: 0;
        }
      }

      .animate-slide-up {
        animation: slideUp 0.4s ease-out forwards;
      }

      .animate-slide-down {
        animation: slideDown 0.4s ease-in forwards;
      }

      .rounded {
        border-radius: 5px !important;
      }
      /* Botão Créditos */

       /* Vídeos-dropdown */
       /* Custom CSS para a seção de vídeos */

       .video-toggle {
        background-color: #DE9F5C; /* Orange from palette */
        color: #2F3928; /* Dark green for text */
        transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .video-toggle:hover {
            background-color: #c78a4a; /* Darker orange on hover */
            transform: scale(1.02); /* Slight scale effect */
        }
        .video-content {
            max-height: 0;
            margin-top: 10px;
            opacity: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease; /* Animação suave */
        }
        .video-content.open {
            max-height: 800px; /* Ajuste conforme o conteúdo */
            opacity: 1;
        }
        .video-buttons button {
          transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .video-buttons button:hover {
            transform: scale(1.05); /* Slight scale on hover */
        }
        .video-btn {
            background-color: #3b82f6; /* Blue from palette */
        }
        .video-btn:hover {
            background-color: #3b82f6; /* Darker blue on hover */
        }
        .audiodescricao-btn {
            background-color: #3076A3; /* Blue from palette */
        }
        .audiodescricao-btn:hover {
            background-color: #285a7a; /* Darker blue on hover */
        }
        .libras-btn {
            background-color: #379181; /* Green from palette */
        }
        .libras-btn:hover {
            background-color: #2d7366; /* Darker green on hover */
        }
       /* Vídeos-dropdown */


      .card-info {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #888;
      margin-top: auto;
  }

  .hero-cta {
    padding: 1rem 2.5rem;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.hero-cta:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.selection-title h2
{
  font-size: 1rem !important;
}

/* Pillars Section */
.pillars {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        #1e40af 0%, 
        #1d4ed8 20%, 
        #2563eb 40%, 
        #1e3a8a 60%, 
        #0f172a 80%, 
        #1e293b 100%);
    color: white;
    position: relative;
}

.pillars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(30, 64, 175, 0.15) 0%, 
        rgba(15, 23, 42, 0.15) 100%);
    z-index: 1;
}

.pillars .container {
    position: relative;
    z-index: 2;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pillar-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3b82f6;
    position: relative;
}

.pillar-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #f59e0b;
    border-radius: 1px;
}

.pillar-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.transform-cta {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, 
        #3b82f6 0%, 
        #2563eb 25%, 
        #1d4ed8 50%, 
        #06b6d4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.transform-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, 
        #2563eb 0%, 
        #1d4ed8 25%, 
        #1e40af 50%, 
        #0891b2 100%);
}


.button {
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 25%, #1d4ed8 50%, #06b6d4 100%);
            margin-bottom: 20px;
            border-radius: 10px;
            color: white;
            transform: translateY(-2px);
            text-transform: none;
        }

        #minhaBarraNavegacao {
            justify-content: center; /* centraliza o bloco */
            align-items: center;
            width: 100%;
            }

            #minhaBarraNavegacao .nav-container {
            display: flex;
            justify-content: space-between;
            max-width: 90%;
            width: 100%;
            }
            .nav-links{
                justify-content: center;  /* coloca logo + links juntos no centro */
                align-items: center;
            }