/* Importação da fonte Poppins local */
/* poppins-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); 
}

/* poppins-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2'); 
}

/* poppins-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); 
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); 
}

@media (max-width: 768px) {

    /* 1. Reduz o espaçamento geral da página para aproveitar melhor a tela */
    .body-form {
        padding: 1rem; /* O original era 2rem */
    }

    /* 2. Reduz o espaçamento interno do card do formulário */
    .form-panel {
        padding: 1.5rem; /* O original era 40px, agora será ~24px */
    }

    /* 3. Diminui o tamanho do título principal do formulário */
    .form-panel h2 {
        font-size: 1.6rem; /* Ajuste fino para o título "Formulário de Inscrição" */
    }

    .form-panel p.text-muted {
        font-size: 0.9rem;
    }

    /* 5. Diminui um pouco mais a fonte dos campos e dos labels (opcional, mas recomendado) */
    .form-floating .form-control,
    .form-floating .form-select,
    .form-floating > label {
        font-size: 0.875rem; /* Equivalente a 14px, um bom tamanho para mobile */
    }

    /* 6. Ajusta o botão para não parecer tão grande */
    .btn {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        font-size: 1rem;
    }
}


/* Seus estilos customizados (copiados do arquivo anterior) */

.body-form {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ece9e6 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-home {
    font-family: 'Poppins', sans-serif;
}

.form-container {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.info-panel {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?auto=format&fit=crop&q=80') center center/cover;
    padding: 40px;
}

.form-panel {
    padding: 40px;
}

.btn-gradient {
    background-image: linear-gradient(to right, #007bff 0%, #00d4ff 51%, #007bff 100%);
    background-size: 200% auto;
    color: white;
    border: none;
    transition: 0.5s;
}

.btn-gradient:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating .form-control,
.form-floating .form-select {
    font-size: 0.8rem;
}

.form-floating > label {
    font-size: 0.8rem;
}

.hero-section {
    position: relative;
    height: calc(100vh - 56px); /* Altura total da tela menos a altura do menu */
    background: url('../images/bg-index.webp') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adiciona uma camada escura sobre a imagem para dar contraste ao texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Garante que o conteúdo do hero (textos e botões) fique na frente da camada escura */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Estilo para os ícones nos cards de destaque */
.feature-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    font-size: 2rem;
}