/* --- VARIÁVEIS DE COR E SETUP --- */
:root {
  --roxo-escuro: #3b1151;
  --roxo-medio: #5a1e75;
  --magenta: #b84e87;
  --amarelo-grad-1: #fde074;
  --amarelo-grad-2: #ebb43e;
  --texto-claro: #ffffff;
  --texto-escuro: #3b1151;
  --rosa-claro: #fdf0f4;
  --borda-clara: rgba(255, 255, 255, 0.3);

  --font-titulos: "Sora", sans-serif;
  --font-textos: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-color: var(--rosa-claro);
  color: var(--texto-escuro);
  line-height: 1.5;
  font-family: var(--font-textos);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titulos);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* --- BACKGROUNDS E UTILITÁRIOS --- */
.bg-roxo {
  background: var(--roxo-escuro);
  color: var(--texto-claro);
}
.bg-claro-grad {
  background: linear-gradient(to bottom, #fdf0f4, #f6e1ec);
  color: var(--texto-escuro);
}
.text-center {
  text-align: center;
}

.sessao-mestres {
  background-image: url("../img/background-3.jpeg");
  background-size: cover;
  background-position: center;
  color: var(--texto-claro);
}
.sessao-oferta {
  background-image: url("../img/background-6.jpeg");
  background-size: cover;
  background-position: center;
  color: var(--texto-claro);
  padding: 80px 0;
  text-align: center;
}
.footer-cta {
  background-image: url("../img/background-7.jpeg");
  background-size: cover;
  background-position: center;
  color: var(--texto-claro);
}

/* --- BOTÃO PRINCIPAL --- */
.btn-amarelo {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--amarelo-grad-1),
    var(--amarelo-grad-2)
  );
  color: var(--roxo-escuro);
  padding: 15px 35px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  border: none;
  font-family: var(--font-titulos);
  cursor: pointer;
}
.btn-amarelo:hover {
  transform: scale(1.05);
}

/* --- DEGRADÊS DE TEXTOS ESPECIAIS --- */
.titulo-degrade {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  background: linear-gradient(to right, var(--roxo-escuro), #c85a90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.texto-degrade {
  background: linear-gradient(to right, var(--roxo-escuro), #c85a90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 700;
}
.titulo-amarelo-grad {
  background: linear-gradient(to bottom, #c28f2c, #fde074);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================
   SESSÃO 1: HERO
   ========================================= */
.hero {
  background: linear-gradient(
    to right,
    var(--roxo-escuro) 0%,
    #824785 40%,
    var(--rosa-claro) 100%
  );
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
}
.hero-textos {
  width: 45%;
  max-width: 550px;
  position: relative;
  z-index: 10;
  padding: 60px 0;
  color: var(--texto-claro);
}
.logo-img {
  max-width: 250px;
  margin-bottom: 20px;
}
.hero-textos h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero-textos .edicao {
  font-weight: 400;
  color: #ffffff;
  display: block;
  font-family: var(--font-textos);
  font-size: 1.1rem;
}
.hero-textos p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.hero-imagens {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
}

.grade-container {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1;
}
.titulo-carrossel {
  display: none;
}
.legenda-grade {
  font-size: 0.85rem;
  color: var(--roxo-escuro);
  font-weight: 600;
  text-align: right;
}
.grade-palestrantes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.grade-palestrantes img:nth-child(5),
.grade-palestrantes img:nth-child(8),
.grade-palestrantes img:nth-child(11) {
  grid-column-start: 2;
}
.grade-palestrantes img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.grade-palestrantes img:nth-child(n + 14) {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to top,
    rgba(200, 90, 144, 0.6) 0%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}
.foto-anfitria {
  position: absolute;
  bottom: 0;
  right: 35%;
  height: 90vh;
  max-height: 900px;
  object-fit: contain;
  object-position: bottom;
  z-index: 2;
}

/* --- SESSÃO 2: PILARES HORIZONTAIS --- */
.pilares-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.card-horizontal {
  display: flex;
  align-items: center;
  background-color: #f7f3f7;
  position: relative;
  border-radius: 10px;
  padding: 25px 30px;
  gap: 30px;
  text-align: left;
  z-index: 1;
}
.card-horizontal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(to right, #5a1e75, #c85a90);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.icone-container img {
  width: 100px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
.titulo-degrade-pilar {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: linear-gradient(to right, var(--roxo-escuro), #c85a90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: var(--font-titulos);
}
.linha-divisoria {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, rgba(184, 78, 135, 0.2), transparent);
  margin-bottom: 10px;
}
.conteudo-pilar p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.5;
}

/* --- SESSÃO 3: MESTRES E MENTORES --- */
.header-mestres {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}
.header-mestres h2 {
  font-size: 2.5rem;
  line-height: 1;
  flex: 1;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}
.header-mestres p {
  flex: 2;
  font-style: italic;
  font-size: 1.1rem;
}
.grid-mestres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card-mestre {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(65, 20, 89, 0.9);
}
.mestre-foto {
  flex: 1;
  position: relative;
  min-height: 220px;
}
.mestre-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.mestre-arroba {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  color: var(--roxo-escuro);
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  font-weight: 600;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0px 2px 5px rgba(0, 0, 0, 0.4);
}
.mestre-info {
  flex: 1.5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.mestre-info h4 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: 700;
  color: #fff;
}
.mestre-info p {
  font-size: 0.85rem;
  margin-bottom: 15px;
  color: #ddd;
}
.btn-saiba-mais {
  background: linear-gradient(
    to right,
    var(--amarelo-grad-1),
    var(--amarelo-grad-2)
  );
  color: var(--roxo-escuro);
  padding: 8px 22px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font-titulos);
  transition: transform 0.2s;
}
.btn-saiba-mais:hover {
  transform: scale(1.05);
}

/* --- SESSÃO 4: DOIS DIAS DE IMERSÃO E PROGRAMAÇÃO --- */
.header-imersao h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 5px;
}
.header-imersao p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--roxo-escuro);
  margin-bottom: 40px;
}
.grid-imersao {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.card-imersao {
  position: relative;
  background-color: #f7f3f7;
  border-radius: 8px;
  padding: 35px 25px;
  text-align: left;
  z-index: 1;
}
.card-imersao::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(to bottom, #5a1e75, #c85a90);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.icon-box {
  background: linear-gradient(135deg, #5a1e75 0%, #c85a90 100%);
  width: 65px;
  height: 65px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.icon-box img {
  width: 35px;
  height: auto;
}
.card-imersao p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.5;
}

.programacao-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.dia-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 10px;
  cursor: pointer;
  align-items: center;
}
.icone-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--magenta);
}
.agenda-lista {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
}
.agenda-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--roxo-escuro);
  font-weight: 500;
}
.hora-pill {
  border: 1px solid var(--roxo-escuro);
  border-radius: 6px;
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--roxo-escuro);
  min-width: 130px;
  text-align: center;
}
.hora-pill-solid {
  background-color: var(--roxo-escuro);
  border: 1px solid var(--roxo-escuro);
  border-radius: 6px;
  padding: 5px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  min-width: 130px;
  text-align: center;
}

/* --- SESSÃO 5: OFERTA REFORMULADA (WHATSAPP GRID) --- */
.box-oferta {
  border-radius: 15px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 0%,
    rgba(184, 78, 135, 0.3) 60%,
    rgba(184, 78, 135, 0.6) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 50px 40px; /* AUMENTADO PARA DAR MAIS RESPIRO */
  margin: 40px auto;
}
.box-oferta h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 30px;
}
.sessao-oferta h2 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.sessao-oferta p {
  font-family: var(--font-textos);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--texto-claro);
}

/* Grid de Botões do WhatsApp */
.grid-compras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* ESPAÇO MAIOR ENTRE OS BOTÕES */
  margin-top: 30px;
}

.btn-wpp {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--amarelo-grad-2);
  color: var(--texto-claro);
  padding: 15px; /* MAIS PADDING NO BOTÃO */
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-titulos);
  font-weight: 600;
  font-size: 1.1rem; /* FONTE MAIOR */
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px; /* ESPAÇO MAIOR ENTRE A FOTO E O NOME */
}

/* Fotos nos botões do WhatsApp */
.btn-wpp img {
  width: 65px; /* FOTOS MAIORES NO DESKTOP */
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amarelo-grad-1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-wpp span {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.btn-wpp:hover {
  background: var(--amarelo-grad-2);
  color: var(--roxo-escuro);
  transform: translateY(-3px);
}
.btn-wpp.especial {
  background: rgba(184, 78, 135, 0.3);
  border-color: var(--magenta);
}
.btn-wpp.especial:hover {
  background: var(--magenta);
  color: #fff;
}
.btn-wpp small {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
  font-family: var(--font-textos);
  margin-bottom: 4px;
}

/* --- SESSÃO 6: FAQ --- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 2px solid var(--roxo-medio);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}
.faq-pergunta {
  padding: 15px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--roxo-escuro);
  font-family: var(--font-titulos);
}
.faq-resposta {
  padding: 0 20px;
  max-height: 0;
  transition: all 0.3s ease;
  opacity: 0;
  font-size: 0.95rem;
}
.faq-item.ativo .faq-resposta {
  padding: 15px 20px;
  max-height: 200px;
  opacity: 1;
  border-top: 1px solid #eee;
}
.faq-item.ativo .seta {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

/* --- SESSÃO 7: FOOTER E APOIO --- */
.footer-cta h2 {
  font-size: 2.5rem;
  margin: 20px 0;
}
.sessao-apoio {
  padding: 40px 0;
  overflow: hidden;
} /* ALTURA AJUSTADA PARA NÃO FICAR GIGANTE */
.titulo-apoio {
  color: #fff;
  margin-bottom: 30px;
  font-size: 2rem;
}
.logo-apoio {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- CSS DO POP-UP (MODAL) --- */
.modal-overlay {
  display: none;
  position: fixed !important;
  z-index: 2147483647 !important;
  left: 0;
  top: 0;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.ativo {
  display: flex !important;
}
.modal-content {
  background-color: #fcf4ec;
  color: var(--roxo-escuro);
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--roxo-medio);
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--roxo-medio);
  cursor: pointer;
  font-family: sans-serif;
  font-weight: bold;
  transition: 0.2s;
}
.close-modal:hover {
  color: var(--magenta);
}
.modal-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 10px;
}
#modalFoto {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--magenta);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.modal-info {
  flex: 1;
}
.modal-texto {
  margin-top: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}
.modal-texto p {
  margin-bottom: 10px;
}
.modal-texto::-webkit-scrollbar {
  width: 6px;
}
.modal-texto::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.modal-texto::-webkit-scrollbar-thumb {
  background: var(--magenta);
  border-radius: 10px;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-bottom: 0;
  }
  .hero-textos {
    width: 100%;
    max-width: 100%;
    padding: 40px 0;
  }
  .hero-imagens {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .foto-anfitria {
    position: relative;
    right: auto;
    height: 100%;
    z-index: 2;
    margin-right: 0px;
  }

  /* CARROSSEL INFINITO MOBILE */
  .grade-container {
    position: absolute;
    top: auto;
    bottom: 5%;
    left: 0;
    width: 100vw;
    overflow: hidden;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
  }
  .titulo-carrossel {
    display: inline-block;
    margin-bottom: 15px;
    background: linear-gradient(
      to right,
      var(--amarelo-grad-1),
      var(--amarelo-grad-2)
    );
    color: var(--roxo-escuro);
    font-family: var(--font-titulos);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    letter-spacing: 1px;
  }
  .grade-palestrantes {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    width: max-content;
    padding: 0;
    margin-bottom: 10px;
    animation: rolar-carrossel 25s linear infinite;
    align-self: flex-start;
  }
  @keyframes rolar-carrossel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  .grade-palestrantes img {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .grade-palestrantes img:nth-child(n + 14) {
    display: block;
  }
  .grade-palestrantes img:nth-child(5),
  .grade-palestrantes img:nth-child(8),
  .grade-palestrantes img:nth-child(11),
  .grade-palestrantes img:nth-child(12) {
    grid-column-start: auto;
  }
  .legenda-grade {
    text-align: center;
    font-size: 0.85rem;
    color: var(--roxo-escuro);
    font-weight: 600;
    margin-top: 5px;
  }

  .card-horizontal {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .linha-divisoria {
    display: none;
  }
  .header-mestres {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .grid-mestres,
  .grid-imersao {
    grid-template-columns: 1fr;
  }
  .card-mestre {
    flex-direction: column;
  }
  .mestre-foto {
    min-height: 250px;
  }

  /* AGENDA CORRIGIDA (ITENS LADO A LADO E ALINHADOS) */
  .agenda-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .hora-pill,
  .hora-pill-solid {
    min-width: 100px;
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  /* GRID DO WHATSAPP - MAIS ESPAÇO E TAMANHO NO MOBILE */
  .box-oferta {
    padding: 40px 20px;
  }
  .grid-compras {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .btn-wpp {
    font-size: 0.95rem;
    padding: 12px;
    gap: 8px;
  }
  .btn-wpp img {
    width: 55px;
    height: 55px;
  }

  .modal-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  #modalFoto {
    width: 140px;
    height: 140px;
  }
  .modal-texto {
    max-height: 40vh;
  }

  /* ALTURA DA SESSÃO APOIO CORRIGIDA NO MOBILE */
  .logo-apoio {
    max-width: 180px;
  }
  .sessao-apoio {
    padding: 50px 0;
  }
}
