/* Estilos completos para o como-ajudar.css */

.destaque {
   margin: 2rem auto;
   width: 800px;
   text-align: center;
   position: relative;
}

.destaque-header {
   font-family: 'IBM Plex Sans', sans-serif;
   background-color: var(--azul-intermediario);
   color: white;
   padding: 10px 20px;
   font-size: 24px;
   font-weight: bold;
   margin-bottom: 0;
   display: inline-block;
   position: relative;
   z-index: 2;
}

.destaque-content {
   font-family: 'IBM Plex Sans', sans-serif;
   background-color: #C0C0C0;
   padding: 40px 50px 30px;
   text-align: justify;
   font-size: 16px;
   line-height: 1.5;
   margin-top: -20px;
}

/* Estilos para as seções em caixas uniformes */
.coluna-info {
   margin: 1.5rem 0;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
   border-radius: 6px;
   overflow: hidden;
}

.titulo-info {
   width: 100%;
   font-family: 'IBM Plex Sans', sans-serif;
   color: white;
   background-color: var(--azul-intermediario);
   font-weight: 600;
   font-size: 1.5rem;
   text-align: center;
   padding: 0.75rem;
   margin: 0;
}

.texto-info {
   font-family: 'IBM Plex Sans', sans-serif;
   font-size: 16px;
   text-align: justify;
   background-color: var(--cinza-00);
   padding: 1.5rem;
   line-height: 1.5;
   margin: 0;
}

.texto-info p {
   margin-bottom: 1rem;
}

.texto-info p:last-child {
   margin-bottom: 0;
}

/* Classes para o layout de colunas */
.col-8 {
   width: 66.66%;
}

.col-4 {
   width: 33.33%;
}

/* Estilos para o formulário fixo */
.sticky-column {
   position: sticky;
   top: 130px; /* Ajustado para ficar abaixo do menu fixo que tem 110px */
   height: fit-content;
   transition: transform 0.3s ease;
}

.form-wrapper {
   background-color: #f5f5f5;
   border-radius: 12px;
   padding: 20px;
   box-shadow: 0 4px 8px rgba(0,0,0,0.1);
   border: 1px solid var(--azul-intermediario);
}

.footer-form-container h2 {
   color: var(--azul-intermediario);
   text-align: center;
   margin-bottom: 1.5rem;
   font-size: 1.8rem;
}

.form-group {
   margin-bottom: 1.2rem;
}

.form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
   color: white;
}

.form-group input {
   width: 100%;
   padding: 0.8rem;
   border: 1px solid #ddd;
   border-radius: 6px;
   font-size: 1rem;
}

.form-group input:focus {
   border-color: var(--azul-intermediario);
   outline: none;
   box-shadow: 0 0 0 2px rgba(62, 151, 175, 0.2);
}

.btn-submit {
   background-color: var(--azul-intermediario);
   color: white;
   border: none;
   padding: 0.8rem 1.5rem;
   border-radius: 6px;
   font-weight: 600;
   cursor: pointer;
   width: 100%;
   font-size: 1.1rem;
   transition: background-color 0.3s;
}

.btn-submit:hover {
   background-color: var(--azul-destaque);
}

.input-error {
   border-color: #ff3860 !important;
   box-shadow: 0 0 0 2px rgba(255, 56, 96, 0.2) !important;
}

.message {
   padding: 0.75rem;
   border-radius: 6px;
   margin-bottom: 1rem;
}

.message.success {
   background-color: #f0fff4;
   border: 1px solid #68d391;
   color: #2f855a;
}

.message.error {
   background-color: #fff5f5;
   border: 1px solid #fc8181;
   color: #c53030;
}

.spinner {
   display: inline-block;
   width: 1.5rem;
   height: 1.5rem;
   border: 3px solid rgba(255, 255, 255, 0.3);
   border-radius: 50%;
   border-top-color: white;
   animation: spin 0.8s linear infinite;
   margin-left: 0.5rem;
}

@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

/* Animações para fade in/out */
.fade-in {
   animation: fadeIn 0.5s ease-in;
}

.fade-out {
   animation: fadeOut 0.5s ease-out;
}

@keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
}

@keyframes fadeOut {
   from { opacity: 1; }
   to { opacity: 0; }
}

/* Ajustes para o layout responsivo */
@media (max-width: 992px) {
   .col-8, .col-4 {
      width: 100%;
   }
   
   .sticky-column {
      position: static;
      margin-top: 2rem;
   }
}