/* --------------------------------------------- */
/* 1. Reset, Variáveis e Estilos Base            */
/* --------------------------------------------- */
:root {
    --primary-color: #071F3A;
    --light-gray-bg: #fafafa;
    --white-bg: #ffffff;
    --text-dark: #1f2937; /* Cor de texto padrão */
    --button-grey: #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;
}
/* Estilos de Fundo */
.custom-navbar-bg {
  background-color: #071f3a;
  padding: 1rem 0;
}
.custom-footer-bg {
  background-color: #071f3a;
  text-align: center; 
}
  
body {
  min-height: 100vh;
  color: white; /* Cor padrão alterada por seções */
  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;
  overflow: hidden;
}
  
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:linear-gradient(90deg,rgba(50, 50, 50, 0.97) 1%, rgba(97, 94, 94, 0) 90%), 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;
}

/* Container principal do Hero (mais largo) */
.hero-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}
  
@media (min-width: 1002px) {
  .hero-section .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 250px;
  }
}
  
/* Conteúdo de texto do Hero */
.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
  
.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}
  
.logo-img {
  max-height: 800px;
  max-width: 700px;
  display: block;
  margin-top: -30px;
  margin-left: -110px;
}
  
.hero-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}
  
.hero-subtitle {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 10px;
}
  
/* Estilos do formulário do Hero */
.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: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}
  
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
  
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
  
.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: 14px;
}
  
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(64, 1, 64, 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-grey);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
  
.submit-button:hover {
  background-color: #16A34A;
  transform: translateY(-2px);
}
  
.submit-button:active {
  transform: translateY(0);
}
  
.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
  
/* Media Queries do Hero e Formulário */
@media (min-width: 768px) and (max-width: 1001px) {
  .form-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .logo-img {
    max-width: 500px;
    margin-left: 60px;
  }
}
  
@media (max-width: 767px) {
  .form-container {
    padding: 20px;
    margin-top: 30px;
  }
  .logo-img {
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }
  .hero-title {
    font-size: 20px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}
  
@media (min-width: 1002px) {
  .form-container {
    flex: 0 0 380px;
    margin-top: 0;
    align-self: flex-end;
  }
}

/* ============================================= */
/* 3. Estilos das Seções Adicionais de Conteúdo  */
/* ============================================= */

/* Estilos gerais das seções 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; /* Ajustado para um padding vertical menor */
    color: var(--text-dark); /* Define a cor do texto para escuro nessas seções */
}
.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: #ffffff; /* Alterado para branco para consistência */
}

/* Container das seções de conteúdo (mais estreito) */
.learn-section .container,
.who-is-it-for-section .container,
.what-it-is-not-section .container,
.why-invest-section .container,
.organizer-section .container,
.presenter-section .container,
.why-we-do-it-section .container {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem; /* Margem inferior do título reduzida */
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem; /* Margem do botão drasticamente reduzida */
}

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

.register-button:hover {
    background-color: #16A34A;
}

/* Seção: O que você irá aprender */
.learn-topics { display: flex; flex-direction: column; gap: 2rem; }
.learn-topic-item { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; text-align: center; }
.topic-number { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; margin: 0 auto; }
.topic-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-dark); }
.topic-description { text-align: justify; font-size: 1rem; color: var(--text-dark); }

/* Seção: Para quem é */
.participants-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.participant-card { text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.participant-icon { width: 3rem; height: 3rem; border-radius: 9999px; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.5rem; }
.participant-title { font-size: 1.125rem; font-weight: 600; padding: 0 0.5rem; min-height: 2.8em; }
.participant-description { text-align: justify; }

/* Seção: O que não é */
.not-list { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.not-list-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.not-list-item p { font-size: 1rem; }
.bullet { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background-color: var(--primary-color); margin-top: 0.6rem; flex-shrink: 0; }

/* Seção: Por que investir */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.feature-card { text-align: center; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-icon { width: 4rem; height: 4rem; border-radius: 9999px; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 2rem; }
.feature-title { font-size: 1rem; font-weight: 600; min-height: 2.8em; }
.feature-description { text-align: justify; font-size: 0.875rem; }

/* Seção: Organizador e Apresentador */
.organizer-layout, .presenter-layout { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    margin-top: 3rem;
}

.presenter-image-column { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1rem; 
}

.presenter-photo-container { 
    width: 12rem; 
    height: 12rem; 
    border-radius: 9999px; 
    overflow: hidden; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    display: flex; /* Adicionado para centralizar o conteúdo interno */
    align-items: center; /* Adicionado para centralizar verticalmente */
    justify-content: center; /* Adicionado para centralizar horizontalmente */
    background-color: #fff; /* Adicionado um fundo branco para o logo */
}

.presenter-photo { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Padrão para fotos */
}

/* NOVO: Estilo específico para o logo do organizador não ser cortado */
.organizer-section .presenter-photo-container {
    background-color: var(--primary-color); /* Fundo do círculo na cor primária (azul escuro) */
    border: none; /* Remove a borda branca se houver */
}

.organizer-section .presenter-photo {
    object-fit: contain; /* Garante que o logo inteiro seja visível */
    padding: 10%; /* Adiciona um pequeno padding interno para o logo não colar nas bordas */
    width: 100%; /* Ocupa 100% da largura do container, respeitando o padding */
    height: 100%; /* Ocupa 100% da altura do container, respeitando o padding */
}

.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; 
}

/* Unificando os estilos de título e descrição */
.presenter-name { 
    font-size: 2rem; 
    font-weight: bold; 
    margin-bottom: 1.5rem; 
}

.presenter-bio { 
    text-align: justify; 
    margin-bottom: 1rem; 
}

.credentials-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    margin-top: 1.5rem;
}

.credential-item { 
    text-align: left; 
}

/* Ajuste no layout da seção do organizador no media query */
@media (min-width: 1024px) {
    .organizer-layout, .presenter-layout { 
        grid-template-columns: 40% 60%; 
        align-items: flex-start; 
    }
    .presenter-text-column { 
        padding-left: 2rem; 
    }
}

/* Seção: Por que realizamos */
.why-text-content { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; } /* Gap entre parágrafos reduzido */
.why-text-content p { text-align: justify; font-size: 1rem; line-height: 1.6; }

/* Rodapé */
.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; }

/* ============================================= */
/* 5. CORES DE FUNDO DAS SEÇÕES                  */
/* ============================================= */
/* Adicione ou modifique as cores abaixo conforme sua preferência */

/* --- Seção: O que você irá aprender --- */
.learn-section {
    background-color: #ffffff; /* Um cinza muito claro */
}

/* --- Seção: Para quem é --- */
.who-is-it-for-section {
    background-color: #fafafa; /* Branco puro */
}

/* --- Seção: O que NÃO é --- */
.what-it-is-not-section {
    background-color: #ffffff; /* Outro tom de cinza claro, um pouco mais frio */
}

/* --- Seção: Por que investir --- */
.why-invest-section {
    background-color: #fafafa; /* Branco puro */
}

/* --- Seção: Quem organiza --- */
.organizer-section {
    background-color: #ffffff; /* Cinza claro (pode manter ou alterar) */
}

/* --- Seção: Quem apresenta --- */
.presenter-section {
    background-color: #fafafa; /* Branco puro */
}

/* --- Seção: Por que realizamos --- */
.why-we-do-it-section {
    background-color: #ffffff; /* Um cinza levemente arroxeado, para combinar com a identidade visual */
}

/* --- Rodapé --- */
/* O rodapé já tem sua cor roxa principal, mas o deixo aqui para referência */
.site-footer {
    background-color: var(--primary-color); /* #400140 */
}

/* ============================================= */
/* 4. Media Queries para Seções Adicionais       */
/* ============================================= */

/* sm: 640px */
@media (min-width: 640px) {
    .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: 4rem 1rem; }
    .section-title { font-size: 1.875rem; margin-bottom: 3rem; }
    .section-subtitle { font-size: 1.25rem; margin-bottom: 3rem; }
    .learn-topic-item { flex-direction: row; text-align: left; }
    .topic-number { margin: 0; }
    .participants-grid { grid-template-columns: repeat(2, 1fr); }
    .wide-card { grid-column: span 2 / span 2; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .organizer-logo-container, .presenter-photo-container { width: 14rem; height: 14rem; }
    .not-list-item p { font-size: 1.125rem; }
    .why-text-content p { font-size: 1.125rem; }
}

/* lg: 1024px */
@media (min-width: 1024px) {
    .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: 5rem 1rem; }
    .section-title { font-size: 2.25rem; margin-bottom: 4rem; }
    .participants-grid { grid-template-columns: repeat(3, 1fr); }
    .wide-card { grid-column: span 1 / span 1; }
    .organizer-layout, .presenter-layout { grid-template-columns: 40% 60%; align-items: flex-start; }
    .presenter-text-column, .organizer-text-column { padding-left: 2rem; }
    .credentials-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* xl: 1280px */
@media (min-width: 1280px) {
    .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: 6rem 1rem; }
    .presenter-photo-container { width: 18rem; height: 18rem; }
}
/* ============================================= */
/* 6. Estilos para a Biblioteca Intl-Tel-Input   */
/* ============================================= */

/* Altera a cor de fundo e borda da lista de países */
.iti__country-list {
  background-color: #2d3748; /* Um cinza-azulado escuro */
  border: 1px solid #4a5568;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Altera a cor do texto de cada país na lista */
.iti__country-list .iti__country {
  color: #f7fafc; /* Um branco levemente acinzentado */
}

/* Altera a cor do código do país (ex: +55) */
.iti__country-list .iti__dial-code {
  color: #a0aec0; /* Um cinza mais claro para contraste */
}

/* Altera a cor de fundo do item quando o mouse passa por cima ou está selecionado */
.iti__country-list .iti__country.iti__highlight {
  background-color: #4a5568; /* Um cinza-azulado um pouco mais claro */
}

/* Bônus: Deixa a barra de rolagem com um estilo escuro também */
.iti__country-list::-webkit-scrollbar {
  width: 8px;
}
.iti__country-list::-webkit-scrollbar-track {
  background: #2d3748;
}
.iti__country-list::-webkit-scrollbar-thumb {
  background-color: #4a5568;
  border-radius: 4px;
}
