/* custom.css */

/* Import Google Font Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --brand-primary: #0D6EFD; /* Azul Vibrante */
  --brand-secondary: #198754; /* Verde Forte (Botões) */
  --bg-dark-blue: #203A5F;   /* Fundo Azul Escuro */
  --text-light: #ffffff;
  --text-light-blue: #80B5EF; /* Azul claro para textos secundários */
  --bg-light: #f8f9fa;
  --radius: 8px;
  --placeholder: #555555;
  --text-dark: #333333;
  --background-input: #ffffff;
}

/* Global Styles */
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #212529;
  scroll-behavior: smooth;
}
a {
  color: var(--brand-primary);
  text-decoration: none;
}
a:hover {
  color: #0b5ed7;
}
.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--brand-primary);
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* Header */
header {
  background-color: var(--bg-light);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero Section - SimulaDOM */
.hero-simuladom {
    background-color: var(--bg-dark-blue);
    color: var(--text-light);
    padding: 80px 15px;
}
.hero-simuladom .hero-logo {
    max-width: 450px;
}
.hero-simuladom .hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    font-weight: 400;
}
.btn-simuladom {
    background-color: var(--brand-secondary);
    color: var(--text-light);
    font-weight: bold;
    padding: 14px 35px;
    border-radius: var(--radius);
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: none;
}
.btn-simuladom:hover {
    background-color: #157347;
    color: var(--text-light);
}

/* Oferece Section (reuso de .vantagens-vip-section) */
.oferece-section {
    background-color: #f0f4f8;
    padding: 60px 15px;
    text-align: center;
}
.vantagem-card {
    background-color: var(--text-light);
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}
.vantagem-card .card-icon {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}
.vantagem-card .card-title {
    font-size: 1.25rem;
    color: var(--brand-primary);
    font-weight: bold;
    margin-bottom: 10px;
}
.vantagem-card .card-text {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 60px 15px;
    background-color: var(--text-light);
    text-align: center;
}
.info-card {
    background-color: #f0f4f8;
    padding: 25px;
    border-radius: var(--radius);
    height: 100%;
    text-align: left;
}
.info-title {
    color: var(--brand-primary);
    font-weight: 700;
    margin-bottom: 15px;
}
.info-text {
    color: var(--text-dark);
}

/* Como Funciona Section */
.como-funciona-section {
    padding: 60px 15px;
    background-color: var(--bg-dark-blue);
    text-align: center;
}
.como-funciona-section .section-title {
    color: var(--text-light);
}
/* Inicia o contador na lista principal (UL) */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: var(--text-light);
    counter-reset: timeline-counter; /* Usando um nome único para evitar conflitos */
}

/* Incrementa o contador para cada item da lista (LI) */
.timeline li {
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    margin-bottom: 15px;
    position: relative;
    padding-left: 45px;
    font-size: 1.1rem;
    counter-increment: timeline-counter; /* Apenas incrementa aqui */
}

/* Apenas exibe o número no pseudo-elemento ::before */
.timeline li::before {
    content: counter(timeline-counter); /* Apenas mostra o valor aqui */
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-secondary);
    font-weight: 700;
    font-size: 1.3rem;
}

.stats-section .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-secondary);
}
.stats-section .stat-text {
    color: var(--text-light-blue);
    font-size: 1.1rem;
    max-width: 350px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: 60px 15px;
    background-color: #f0f4f8;
}
.faq-pre-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--brand-secondary);
    text-transform: uppercase;
}
.faq-main-title {
    font-weight: bold;
    color: var(--brand-primary);
    font-size: 2.2rem;
}
.faq-section .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
}
.faq-section .accordion-button {
    background-color: transparent !important;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 0.5rem;
    box-shadow: none !important;
}
.faq-section .accordion-button::after {
    display: none;
}
.faq-section .accordion-button span {
    margin-left: auto;
    color: var(--brand-primary);
    font-size: 1.2rem;
}
.faq-section .accordion-button.collapsed .fa-plus:before { content: '\f067'; }
.faq-section .accordion-button:not(.collapsed) .fa-plus:before { content: '\f068'; }
.faq-section .accordion-body {
    background-color: #e9ecef;
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* Form Section */
.form-simuladom-section {
  background-color: var(--bg-dark-blue);
  padding: 60px 15px;
  text-align: center;
  color: var(--text-light);
}
.form-icon-check-container {
  width: 60px;
  height: 60px;
  border: 3px solid var(--brand-secondary);
  border-radius: var(--radius);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.form-icon-check-container .fa-check {
  font-size: 2rem;
  color: var(--brand-secondary);
}
.form-simuladom-section .section-main-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--text-light);
}
.form-simuladom-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light-blue);
  margin-bottom: 30px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}
.dombosco-form input,
.dombosco-form select {
  width: 100%;
  background-color: var(--background-input);
  border: 1px solid #E0E0E0;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--text-dark);
}
.dombosco-form input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}
.dombosco-form select {
  color: var(--placeholder);
}
.dombosco-form select:valid {
  color: var(--text-dark);
}
.dombosco-form .botao-db {
  width: 100%;
  background-color: var(--brand-secondary);
  color: var(--text-light);
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}
.dombosco-form .botao-db:hover {
  background-color: #157347;
}

/* Footer */
footer {
  background-color: var(--bg-light);
  padding-top: 2rem;
  padding-bottom: 2rem;
}
footer h5 {
  font-weight: 700;
  color: var(--brand-primary);
}
footer .fab {
  color: #6c757d;
  transition: color .3s;
}
footer .fab:hover {
  color: var(--brand-primary);
}

/* Estilo para a caixa da pergunta condicional */
.conditional-question-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--text-light-blue);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  text-align: center; /* Centraliza o título */
}

.conditional-question-box .question-title {
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--text-light);
  text-align: left; /* Alinha o texto da pergunta à esquerda */
}

.radio-options-container {
  display: flex;
  justify-content: center;
  gap: 40px; /* Espaçamento entre Sim e Não */
}

.conditional-question-box .form-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* Espaço entre o botão e o texto */
}

.conditional-question-box .form-check-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* Customização do Radio Button */
.conditional-question-box .form-check-input {
  -webkit-appearance: none;
  appearance: none;
 /* background-color: ;*/
  margin: 0;
  font: inherit;
  color: var(--text-light-blue);
  width: 0.8em;
  height: 0.8em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  cursor: pointer;
}

.conditional-question-box .form-check-input::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--brand-secondary);
}

.conditional-question-box .form-check-input:checked::before {
  transform: scale(0);
}

.conditional-question-box .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ===== Estado de inscrições encerradas ===== */
.form-closed .form-wrapper {
  opacity: .6;
  filter: grayscale(10%);
}

/* Overlay que captura cliques mesmo com campos desabilitados */
.form-wrapper {
  position: relative; /* garante base p/ overlay */
}
.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0); /* invisível */
  cursor: not-allowed;
  z-index: 5;
}

/* custom.css */

/* ... (todo o seu CSS existente vai aqui) ... */

/* Estilos para a faixa de Inscrições Encerradas */
.faixa-encerrado {
  background-color: #dc3545; /* Vermelho */
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.gabarito-link {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: center;
}

.gabarito-link a {
  color: #ffc107; /* Amarelo */
  font-weight: bold;
  text-decoration: underline;
}

.gabarito-link a:hover {
  color: #ffffff;
}

/* ===== Estado de inscrições encerradas ===== */
.form-closed .form-wrapper {
  opacity: .6;
  filter: grayscale(10%);
}

/* Overlay que captura cliques mesmo com campos desabilitados */
.form-wrapper {
  position: relative; /* garante base p/ overlay */
}
.form-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0); /* invisível */
  cursor: not-allowed;
  z-index: 5;
}