/*==================== BOTÕES ====================*/
button {
    background: linear-gradient(90deg, #25D366, #128C7E);
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    transition: box-shadow 0.3s, background-color 0.3s;
    animation: glow 1.5s infinite alternate;
    will-change: box-shadow;
  }
  
  button:hover {
    animation: none;
    box-shadow: var(--light-transparent) 0 0 5px, var(--light-transparent) 0 0 10px, var(--light-transparent) 0 0 15px;
  }
  
  /*==================== CARDS ====================*/
  .cards {
    display: flex;
    width: 84%;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
    height: 80%;
    align-items: center;
    padding: 4px;
  }
  
  .card {
    height: 100%;
    width: 24%;
    display: flex;
    flex-direction: column;
  }
  
  .card_banner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .card_banner img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 5px;
  }
  
  .card p {
    width: 100%;
    height: 18%;
    color: var(--secondary-color);
    font-size: 2rem;
    text-align: center;
  }
  
  /*==================== TÍTULOS ====================*/
  .title {
    font-size: 4rem;
    color: var(--text-light);
    font-weight: 300;
    width: 100%;
    display: flex;
  }
  
  .title h1 {
    font-weight: 300;
    text-shadow: #503515 1px 1px 1px;
  }
  
  /*==================== DIVISOR ====================*/
  .divisor {
    width: 100%;
    height: 10vh;
  }
  
  /*==================== ACCORDION ====================*/
  .accordion {
    margin: 60px auto;
    width: 70%;
  }
  
  .accordion li {
    list-style: none;
    width: 100%;
    margin: 20px;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
                -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
  }
  
  .accordion li label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
  }
  
  label::before {
    content: '+';
    margin-right: 10px;
    font-size: 24px;
    font-weight: 600;
  }
  
  input[type="radio"] {
    display: none;
  }
  
  .accordion .content {
    color: #555;
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
  }
  
  .accordion input[type="radio"]:checked + label + .content {
    max-height: 400px;
    padding: 10px 10px 20px;
  }
  
  .accordion input[type="radio"]:checked + label::before {
    content: '-';
  }
  
  /*==================== PLAYER DE VÍDEO ====================*/
  .video {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 5%;
    position: relative;
  }
  
  .video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px); /* Altura reduzida para não cobrir os controles */
    background: url("/assets/videobackground.png") no-repeat center center/cover;
    z-index: 1;
  }
  
  .video video {
    width: 100%;
    height: auto;
    align-self: center;
    text-align: center;
    margin: auto;
    z-index: 2; /* Mantém o vídeo acima do background */
    position: relative;
    margin-bottom: 35px; /* Espaço para os controles ficarem visíveis */
  }
  
  /*==================== CLASSES UTILITÁRIAS ====================*/
  .branco {
    color: var(--secondary-color);
    text-shadow: #898989 1px 1px;
  }
  
  .preto {
    color: var(--secondary-color);
    text-shadow: #898989 1px 1px 1px;
  }
  
  .italic {
    font-style: italic;
  }
  
  .bold {
    font-weight: 800;
  }
  
  .text_left {
    margin-right: -4%;
    color: var(--terciary-color);
  }
  
  .text_right {
    color: var(--primary-color);
  }
  
  .rabiscado {
    text-decoration: line-through;
    color: var(--text-light);
  }
  
  .destaque {
    color: var(--text-light);
  }
  
/*==================== ANIMAÇÕES ====================*/
/* Versão otimizada do glow com menos etapas e valores mais simples */
@keyframes glow {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(224, 149, 58, 0.7); 
  }
  50% { 
    box-shadow: 0 0 15px rgba(224, 149, 58, 0.9); 
  }
}

/* Animação movedown otimizada */
@keyframes movedown {
  from {
    opacity: 0; /* Alterado de 1 para 0 */
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveline {
  0% {
    height: 0;
  }
  100% {
    height: 80%; /* Garante que a linha chegue até o final */
  }
}

/* Animação moveup simplificada */
@keyframes moveup {
  from { transform: translateY(25px); }
  to { transform: translateY(0); }
}