* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f9fa;
}

/* Seção principal */
#time {
  position: relative;
  background-color: rgba(211, 211, 211, 0.103);
  min-height: 100vh;
  padding: 4rem 0;
}

/* Cabeçalho da seção */
.texto-head {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #1a5f3a !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #1a5f3a 0%, #2d7a52 100%);
  border: none;
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Container principal */
.container.bg {
  background: rgba(255, 255, 255, 0.98);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

/* Iframe do calendário */
.frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Card de download */
.download-card {
  background: linear-gradient(135deg, #1a5f3a 0%, #2d7a52 100%);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(26, 95, 58, 0.3);
  text-align: center;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.download-card:hover {
  transform: translateY(-5px);
}

.card-title-download {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-text-download {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* Botão de download */
.download-card .btn-primary {
  background-color: white;
  color: #1a5f3a;
  border: none;
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-card .btn-primary:hover {
  background-color: #f8f9fa;
  color: #0f4428;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.download-card .btn-primary i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 992px) {
  .container.bg {
    padding: 2rem;
  }

  .download-card {
    margin-top: 2rem;
    min-height: 300px;
  }

  .frame {
    height: 500px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .texto-head {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .container.bg {
    padding: 1.5rem;
  }

  .card-title-download {
    font-size: 1.5rem;
  }

  .card-text-download {
    font-size: 1rem;
  }

  .download-card .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .frame {
    height: 400px;
  }

  #time {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .download-card {
    padding: 2rem 1.5rem;
  }

  .frame {
    height: 350px;
  }
}

/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.texto-head,
.container.bg {
  animation: fadeInUp 0.8s ease-out;
}

.download-card {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}