/* --------------------------------------------- */
/* 1. Reset, Variáveis e Estilos Base            */
/* --------------------------------------------- */
:root {
    --primary-color: #071F3A;
    --light-gray-bg: #fafafa;
    --white-bg: #ffffff;
    --text-dark: #1f2937;
    --button-green: #16a34a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  min-height: 100vh;
  color: white;
  background-color: #f0f0f0;
}

/* ============================================= */
/* 2. Estilos da Seção Hero (Topo do Site)       */
/* ============================================= */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:linear-gradient(90deg,rgba(50, 50, 50, 0.97) 0%, rgba(97, 94, 94, 0) 45%), url(/imagens/Porto\ Belo\ Redime.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}

.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.header-container {
  display: flex;
  margin-bottom: 15px;
}

/* CONTÊINER PARA BANNER E LOGO - CORRIGIDO */
.logo-live-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-left: -110px; /* Ajuste fino para alinhar a logo com o texto "Conquiste" */
}

.logo-img {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.5;
  margin-bottom: 10px;
}

.form-container {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-title {
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input, .form-select {
  width: 100%;
  height: 45px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 1rem;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(7, 31, 58, 0.2);
}

.consent-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  margin: 10px 0;
}

.submit-button {
  width: 100%;
  height: 45px;
  border-radius: 8px;
  border: none;
  background-color: var(--button-green);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ============================================= */
/* 3. Estilos das Seções Adicionais de Conteúdo  */
/* ============================================= */
.learn-section, .who-is-it-for-section, .what-it-is-not-section, .why-invest-section, .organizer-section, .presenter-section, .why-we-do-it-section {
    padding: 3rem 1rem;
    color: var(--text-dark);
}
.who-is-it-for-section, .what-it-is-not-section, .organizer-section, .presenter-section, .why-invest-section {
    background-color: var(--white-bg);
}
.learn-section, .why-we-do-it-section {
    background-color: var(--light-gray-bg);
}

.container {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.125rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.register-button {
    background-color: var(--button-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-button:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.learn-topics, .participants-grid, .not-list, .features-grid, .organizer-layout, .presenter-layout, .why-text-content, .credentials-grid {
    display: grid;
    gap: 1.5rem;
}

.learn-topic-item { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.topic-number { width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.topic-title { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); }
.topic-description { text-align: justify; }

.participant-card { text-align: center; }
.participant-icon { width: 3rem; height: 3rem; border-radius: 50%; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; }
.participant-title { font-size: 1.125rem; font-weight: 600; min-height: 2.8em; }
.participant-description { text-align: justify; }

.not-list-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.bullet { width: 0.5rem; height: 0.5rem; border-radius: 50%; background-color: var(--primary-color); margin-top: 0.6rem; flex-shrink: 0; }

.feature-card { text-align: center; }
.feature-icon { width: 4rem; height: 4rem; border-radius: 50%; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 2rem; }
.feature-title { font-size: 1.125rem; font-weight: 600; min-height: 2.8em; }
.feature-description { text-align: justify; }

.organizer-image-column, .presenter-image-column { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.organizer-logo-container, .presenter-photo-container { width: 12rem; height: 12rem; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); flex-shrink: 0; }
.organizer-logo, .presenter-photo { width: 100%; height: 100%; object-fit: cover; }

.social-links-column { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 24rem; }
.social-button { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background-color: var(--primary-color); color: white; padding: 0.75rem 1rem; border-radius: 9999px; text-decoration: none; font-size: 0.875rem; transition: background-color 0.3s; }
.social-button:hover { background-color: #000; }

.organizer-title, .presenter-name { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: bold; }
.organizer-description, .presenter-bio { text-align: justify; }
.credential-item { text-align: left; }

.why-text-content { max-width: 800px; margin: 0 auto; }
.why-text-content p { text-align: justify; line-height: 1.6; }

.site-footer { background-color: var(--primary-color); color: white; padding: 2rem 1rem; text-align: center; }
.site-footer p { font-size: 0.875rem; opacity: 0.8; }

.event-details { display: grid; gap: 1rem 1.5rem; margin-top: 2rem; color: white; max-width: 500px; }
.detail-item { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.detail-item i { font-size: 1.4rem; width: 25px; text-align: center; color: #C28F50; }

/* ============================================= */
/* 4. Banner "SUPER LIVE" - CORRIGIDO            */
/* ============================================= */
.live-banner {
  position: static;
  transform: none;
  z-index: 1001;
  margin-bottom: 15px;
  width: 100%;
}

.live-content {
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(226, 0, 0, 0.596);
}

.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ff0000;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  50% { opacity: 0.2; box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
}

/* ============================================= */
/* 5. Media Queries para Responsividade          */
/* ============================================= */

/* Estilo para celulares (até 767px) */
@media (max-width: 767px) {
  .header-container {
    justify-content: center;
  }
  .logo-live-wrapper {
    align-items: center;
  }
  .text-content, .hero-title, .hero-subtitle {
    text-align: center;
  }
  .logo-img {
    max-width: 280px;
    margin-left: 100px;
  }
  .live-content {
    font-size: 1rem;
    padding: 8px 15px;
  }
  .event-details {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
  }
  .learn-topic-item {
    flex-direction: column;
    text-align: center;
  }
  
  /* Ajuste para alinhar o SUPER LIVE com a logo no mobile */
  .logo-live-wrapper {
    align-items: center;
  }
}

/* Estilo para Tablets (768px até 1023px) */
@media (min-width: 768px) {
  .hero-section .container {
    flex-direction: column;
    align-items: center;
  }
  .header-container {
    justify-content: center;
  }
  .logo-live-wrapper {
    align-items: center;
  }
  .text-content, .hero-title, .hero-subtitle {
    text-align: center;
  }
  .logo-img {
    max-width: 500px;
    margin-left: 100px;
  }
  .form-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .participants-grid, .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-details {
    grid-template-columns: repeat(2, 1fr);
    margin-left: auto;
    margin-right: auto;
  }
  .learn-topic-item {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Estilo para Desktops (1024px em diante) - CORRIGIDO */
@media (min-width: 1024px) {
  .hero-section .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 5%;
  }
  .text-content {
    flex: 1 1 55%;
    text-align: left;
  }
  .hero-title, .hero-subtitle {
    text-align: left;
  }
  .header-container {
    justify-content: flex-start;
  }
  .logo-live-wrapper {
    align-items: flex-start;
    /* REMOVIDO o transform: translateX(-110px) que causava desalinhamento */
  }
  .logo-img {
    max-width: 700px;
    margin-left: -0px;
  }
  .form-container {
    flex: 1 1 35%;
    margin-top: 0;
    align-self: center;
  }
  .participants-grid, .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .organizer-layout, .presenter-layout {
    grid-template-columns: 30% 70%;
    align-items: center;
    gap: 2rem;
  }
  
  /* NOVO: Garantir que o SUPER LIVE fique alinhado com a logo e o texto "Conquiste" */
  .logo-live-wrapper {
    position: relative;
  }
  
  .live-banner {
    margin-bottom: 15px;
    margin-left: 0;
  }
}
