/* ===== FORMULÁRIO ===== */
form {
    background: #e0dfdf;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px; /* ajustado para melhor visualização */
    position: relative;
    margin: 0 auto; /* centraliza o formulário */
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical; /* só vertical no textarea */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #E66E18;
    box-shadow: 0 0 5px rgba(230,110,24,0.5);
    outline: none;
}

label { 
    display: block; 
    font-size: 13px; 
    margin-bottom: 5px; 
}

/* ===== MODAL POPUP ===== */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content img { 
    width: 80px; 
    margin-bottom: 20px; 
}

.modal-content h3 { 
    color: #28a745; 
    margin-bottom: 15px; 
}

.modal-content button {
    background: #28a745;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #1e7a33;
}

/* ===== RESPONSIVIDADE ===== */
@media(max-width:500px){ 
    form { padding: 20px; }
    input, textarea { font-size: 13px; }
    button { font-size: 18px; padding: 12px; }
}

/* Botão Enviar */
.btn-submit {
  background: #E66E18;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-submit:hover {
  background: black;
  transform: scale(1.05);
}

.btn-submit:active {
  transform: scale(0.98);
}