/* === PALESTRA SECTION === */
.palestra-section {
  background: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(226, 147, 121, 0.15);
  border-bottom: 1px solid rgba(226, 147, 121, 0.15);
}

.palestra-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  pointer-events: none;
}

.palestra-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.palestra-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.palestra-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: 2px;
}

.palestra-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.palestra-title::before {
   content: ""; 
  position: absolute;
  left: -30px;
  top: -20px;
  font-size: 80px;
  opacity: 0.1;
  color: var(--color-primary);
  font-family: serif;
}

.palestra-title::after {
  content: "
    "";
  position: absolute;
  right: -30px;
  bottom: -60px;
  font-size: 80px;
  opacity: 0.1;
  color: var(--color-primary);
  font-family: serif;
}

.palestra-highlight {
  background: var(--color-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  position: relative;
  font-size: 40px;
}

.palestra-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  padding: 40px;
  background: var(--color-neutral);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 21%);
  border: 1px solid rgba(226, 147, 121, 0.1);
}

.palestra-text {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--color-text-dark);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
  font-weight: 200;
  position: relative;
  padding: 10px 0;
}

.palestra-text strong {
  font-weight: 400;
  color: var(--color-primary-dark);
}

.palestra-cta-inline {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(226, 147, 121, 0.2);
}

.palestra-cta-inline .palestra-cta-text {
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  font-weight: 200;
  line-height: 1.5;
}

.palestra-cta {
  text-align: center;
  margin-top: 20px;
  padding: 40px;
  background: var(--color-neutral);
  border-radius: 20px;
  /* backdrop-filter: blur(10px); */
  border: 1px solid rgba(226, 147, 121, 0.15);
  box-shadow: 0 10px 30px rgb(0 0 0 / 21%);
  position: relative;
  overflow: hidden;
}

.palestra-cta::before {
  /* content: ""; */
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0.6;
  z-index: 0;
  animation: shine 8s infinite linear;
}

@keyframes shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.palestra-cta-text {
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.palestra-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(226, 147, 121, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.palestra-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transition: all 0.6s;
  z-index: -1;
}

.palestra-cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(226, 147, 121, 0.4);
}

.palestra-cta-button:hover::before {
  left: 100%;
}

.palestra-cta-button:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 5px 15px rgba(226, 147, 121, 0.3);
}

.palestra-cta-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .palestra-section {
    padding: 70px 0;
  }

  .palestra-container {
    padding: 0 15px;
  }

  .palestra-header {
    margin-bottom: 50px;
  }

  .palestra-title::before {
    left: -15px;
    top: -10px;
    font-size: 60px;
  }

  .palestra-title::after {
    right: -15px;
    bottom: -40px;
    font-size: 60px;
  }

  .palestra-content {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .palestra-cta-inline {
    margin-top: 25px;
    padding-top: 25px;
  }

  .palestra-cta {
    margin-top: 20px;
    padding: 30px 20px;
    border-radius: 15px;
  }

  .palestra-cta-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .palestra-cta-button {
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .palestra-section {
    padding: 50px 0;
  }

  .palestra-header::after {
    width: 60px;
    height: 3px;
    bottom: -15px;
  }

  .palestra-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .palestra-title::before,
  .palestra-title::after {
    display: none;
  }

  .palestra-content {
    padding: 25px 15px;
    margin-bottom: 25px;
  }
  
  .palestra-cta-inline {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .palestra-cta-inline .palestra-cta-text {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .palestra-text {
    font-size: clamp(16px, 3vw, 18px);
    line-height: 1.6;
  }

  .palestra-cta {
    margin-top: 15px;
    padding: 25px 15px;
  }

  .palestra-cta-text {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .palestra-cta-button {
    padding: 12px 24px;
    font-size: 15px;
    width: 80%;
    justify-content: center;
  }
}
