body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', system-ui, sans-serif;
}

.index-hero {
  background: linear-gradient(135deg, #0A2EFF, #22C55E);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.index-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
}

.index-hero p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0.8rem auto 0;
  color: rgba(255,255,255,.9);
}


/* Layout geral */

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  padding: 2.5rem 1.5rem 3rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Header e footer */

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.9rem 2.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--color-primary-dark);
  letter-spacing: 0.04em;
}

.header-nav {
  display: flex;
  gap: 0.75rem;
  color: #fff;
}

.header-btn {
  padding: 0.5rem 1.4rem;
  background: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 1px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.header-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.header-btn-secondary {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: rgba(37, 99, 235, 0.4);
  border-style: solid;
  border-width: 1px;
}

.header-btn-secondary:hover {
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  border-color: var(--color-primary);
}

.nav-btn {
      text-decoration: none;
      color: var(--nav-text);
}

.nav-btn:hover {
  cursor: pointer;
  color: #ccc;
}

.nav {
    max-width: 1100px;
    margin: auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: .04em;
    color: var(--blue);
    text-decoration: none;
  }

  .nav-actions {
    display: flex;
    gap: .75rem;
  }

  .nav-actions a {
    padding: .55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: .25s ease;
  }


   /* Sections */

    section {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1.5rem;
  }

  .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
  }

  .section-title p {
    color: var(--muted);
  }

  

  #contato {
    max-width: 600px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
  }

  .mensagem {
    margin: 5px;
    font-size: 20px;
  }

  .inputContato {
    width: 100%;
    margin: 5px;
    padding: 5px;
    font-size: 20px;
  }

.app-footer {
  padding: 1rem 2rem;
  background: var(--color-surface);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero {
      max-width: 1100px;
      margin: auto;
      padding: 5rem 1.5rem 4rem;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 3rem;
      align-items: center;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.2rem;
    }

    .hero h1 span {
      color: var(--blue);
    }

    .hero p {
      font-size: 1.05rem;
      color: var(--muted);
      margin-bottom: 0rem;
      max-width: 480px;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 15px;
    }

    .hero img {
      width: 100%;
      border-radius: var(--radius);
      box-shadow: 0 30px 80px rgba(229, 7, 7, 0.25);
    }

    @media (max-width: 900px) {
      .hero {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .hero p {
        margin: 0 auto 2rem;
      }

      .hero-actions {
        justify-content: center;
      }
    }

    
 footer {
    display: flex;
    flex-direction: column;
    background: #484947;
    color: #fff;
    text-align: left;
    padding: 1rem;
    font-size: .85rem;
    padding-left: 20px;
  }

  /* link */

.link {
  color: var(--color-primary);
  text-decoration: none;
}

.link:hover {
  color: var(--color-primary-dark);
}

.link-footer {
  color:#fff;
  text-decoration: none;
}

.link-footer:hover {
  color: #ccc;
}
/* Botões */

button,
.btn {
  padding: 0.45rem 1.6rem;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--color-primary-dark);
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
  }

.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}


.btn-outline {
    border: 1px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
  }

  .btn-outline:hover {
    background: var(--color-primary-dark);
    color: var(--nav-text);
  }

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn-secondary:hover {
  background: #d1d5db;
}

/* Home (Index) */

.index-container {
  max-width: 900px;
  margin: 0 auto;
}

.index-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.5rem 2rem;
  background: var(--color-surface);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.index-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.index-hero p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.index-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.index-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.index-card h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.index-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.index-card .btn {
  margin-top: 1rem;
  width: 100%;
  margin-top: auto;
}

/* Páginas aluno e instrutor */

.page-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-primary-dark);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--color-text);
}

.cards 
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }

  .card {
    background: var(--surface);
    padding: 2.2rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    color: var(--muted);
    font-size: .95rem;
  }

  .card a {
    margin-top: auto;
    align-self: flex-start;
    text-decoration: none;
  }
.alerta{
  position: absolute;
  margin: 0 auto;
  background: #ebe704;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
  width: 90%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.btn-alerta{
  margin-top: 10px;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 10px;
  text-align: center;
  align-items: center;
}

.btn-alerta:hover{
  cursor: pointer;
  background-color: var(--color-primary);
}
/* Forms */

form {
  margin-top: 0.75rem;
}

label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  margin-top: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid #d1d5db;
  background: #f9fafb;
  transition: 0.15s ease;
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
  background: #ffffff;
}

/* Lista de instrutores (estática) */

.instructor-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.instructor-list li {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: #f9fafb;
  margin-bottom: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.instructor-list li strong {
  font-size: 0.95rem;
}

.instructor-list li span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.enroll-form {
  margin-top: 1.25rem;
}

.enroll-form .btn-primary {
  width: 100%;
}

/* Mensagem de sucesso (estática por enquanto) */

.success-box {
  border-left: 4px solid var(--color-success);
  padding: 0.9rem 1rem;
  background: #f0fdf4;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsivo */

@media (max-width: 768px) {
  .app-header {
    padding: 0.8rem 1.25rem;
  }

  .app-main {
    padding: 2rem 1rem 2.5rem;
  }

  .index-hero {
    padding: 2rem 1.5rem;
  }

  .index-sections {
    grid-template-columns: 1fr;
  }

  .index-card {
    padding: 1.6rem;
  }

  .header-btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }
}


/* Checkboxes customizados */

.checkbox-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: 0.15s ease;
  margin: 0;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  display: inline-block;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: var(--color-primary);
}

.radio{
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: 0.15s ease;
  margin: 0;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  display: inline-block;
}

/* Propostas */

.proposta-info p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0.4rem 0;
}

.proposta-info strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-content h2 {
  margin: 0 0 1.5rem;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
}

.modal-info {
  line-height: 1.8;
}

.modal-info p {
  font-size: 0.9rem;
  color: var(--color-text);
}

.modal-info strong {
  color: var(--color-primary-dark);
}

/* Ver detalhes link */

.ver-detalhes {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
}

.ver-detalhes:hover {
  text-decoration: underline;
}

/* Botões pequenos */

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Card de proposta horizontal */

.card-proposta {
  padding: 1.5rem;
  margin-bottom: 1rem;
  max-width: 100%;
}

.proposta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.proposta-header h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.proposta-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.proposta-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1.5rem;
  flex: 1;
  min-width: 300px;
}

.proposta-info span {
  font-size: 0.9rem;
  color: var(--color-text);
}

.proposta-info strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.proposta-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .proposta-info {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .proposta-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .proposta-actions {
    width: 100%;
  }
  
  .proposta-actions .btn {
    flex: 1;
  }
}

.faq {
      max-width: 800px;
      margin: 40px auto;
      padding: 0 16px;
      font-family: Arial, sans-serif;
    }

    .faq h2 {
      text-align: center;
      margin-bottom: 24px;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
    }

    .faq-question {
      width: 100%;
      background: #fff;
      border: 1px solid #000000;
      border-radius: 10px;
      margin-bottom: 10px;
      padding: 16px;
      font-size: 16px;
      font-weight: bold;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-question:hover {
      background-color: #f5f5f5;

    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 16px;
    }

    .faq-answer p {
      margin: 16px 0;
      color: #555;
      font-size: 15px;
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
    }

    .faq-item.active .icon {
      transform: rotate(45deg);
    }

    .icon {
      font-size: 20px;
      transition: transform 0.3s ease;
    }