.palestras-section {
  /* background: linear-gradient(135deg, #7da9b6, #033565 100%); */
  width: 100%;
  height: 100vh;
  background: url("/img/banner-palestras.png") center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.palestras-section .container {
  max-width: 800px;
}

.subtitle {
  display: block;
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0.9;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 30px;
}

h1 .italic {
  font-style: italic;
}

.divider {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 30px;
}

p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Estilos para a nova seção de experiência */
.experience-section {
  width: 100%;
  padding: 100px 20px;
  background-color: #f9f9f9; /* Fundo claro para contraste */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.experience-section .container {
  max-width: 900px;
}

.highlight-text {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #557085; /* Azul acinzentado suave para o texto */
  line-height: 1.4;
  margin-bottom: 40px;
  font-weight: 300;
}

.highlight-text strong {
  font-weight: 700;
  color: #033565; /* Destaque em tom mais escuro */
}

.sub-text {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: #777;
  line-height: 1.6;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

.repertoire-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.repertoire-section .container {
  max-width: 1000px;
  margin: auto;
}

.repertoire-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #033565;
  margin-bottom: 80px;
}

.repertoire-section .italic {
  font-style: italic;
}

.intro-text {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.1rem;
}

/* Cabeçalho da Categoria */
.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  text-align: left;
}

.bullet {
  width: 8px;
  height: 8px;
  background-color: #557085;
  border-radius: 50%;
  margin-right: 15px;
}

.category-header h3 {
  font-size: 1.2rem;
  color: #033565;
  white-space: nowrap;
  margin-right: 20px;
  font-weight: 500;
}

.line {
  flex-grow: 1;
  height: 1px;
  background-color: #ddd;
}

/* Grid de Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
  margin-bottom: 50px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h4 {
  font-size: 1.1rem;
  color: #033565;
  margin-bottom: 15px;
  line-height: 1.4;
}

.card p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.5;
}
/* Seção de Formato */
.format-section {
  width: 100%;
  padding: 100px 20px;
  background-color: #033565;
  color: white;
  text-align: center;
}

.subtitle-light {
  display: block;
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0.6;
}

.format-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 60px;
}

.format-section h2 .italic {
  font-style: italic;
}

/* Grid de Formato */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card de Formato */
.format-card {
  background: rgba(
    255,
    255,
    255,
    0.03
  ); /* Fundo sutilmente mais claro que o fundo da seção */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 45px 30px;
  text-align: left;
  transition: all 0.3s ease;
}

.format-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Ícone de Círculo com Ponto */
.icon-box {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.format-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ffffff;
}

.format-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.why-choose-section {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.experience-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #4a708b;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.experience-lead strong {
  font-weight: 700;
  color: #033565;
}

.divider-short {
  width: 40px;
  height: 1px;
  background-color: #ccc;
  margin: 40px auto;
}

.cta-message {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #777;
  font-weight: 300;
}

/* Seção Final / CTA */
.footer-cta {
  position: relative;
  padding: 120px 20px;
  background: linear-gradient(180deg, #5c7e96 0%, #033565 100%);
  color: white;
  text-align: center;
}

.footer-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 50px;
}

.footer-cta h2 .italic {
  font-style: italic;
}

/* Botão de Orçamento */
.btn-budget {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  background-color: #033565;
  color: white;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-budget:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-budget .arrow {
  margin-left: 15px;
  font-size: 18px;
}

/* Botão Flutuante Voltar ao Topo */
.back-to-top {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #1a3244;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 33, 53, 0.85); /* Tom de azul escuro com transparência */
  backdrop-filter: blur(8px); /* Efeito de desfoque no fundo */
  display: none; /* Escondido por padrão */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Conteúdo da Modal */
.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  font-family: "Playfair Display", serif;
  color: #033565;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.modal-content p {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* Formulário */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  background-color: #fcfcfc;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

.form-group input:focus {
  border-color: #033565;
}

/* Botão de Envio */
.btn-submit {
  width: 100%;
  padding: 18px;
  background-color: #0b2135;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #1a3a57;
}

/* Botão Fechar */
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

/* Classe para mostrar a modal via JS */
.modal-active {
  display: flex;
}

.gallery-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.gallery-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #033565;
  margin-bottom: 50px;
}

.gallery-section .italic {
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-section .subtitle {
  margin-bottom: 50px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Destaque para a primeira imagem (grande) */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.large {
    grid-column: span 1;
  }
}

/* Responsividade Final */
@media (max-width: 768px) {
  .footer-cta {
    padding: 80px 20px;
  }
  .back-to-top {
    right: 20px;
    bottom: 20px;
  }
}

/* Ajustes Responsivos */
@media (max-width: 1024px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .format-grid {
    grid-template-columns: 1fr;
  }
  .format-card {
    padding: 35px 25px;
  }
}
/* Ajuste Responsivo */
@media (max-width: 768px) {
  .category-header h3 {
    font-size: 1rem;
  }
}

/* Ajuste de espaçamento para telas menores */
@media (max-width: 768px) {
  .experience-section {
    padding: 60px 20px;
  }
}
