* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body-things {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #0230ff 0%, #4b6fa2 100%); */
    background-image: url('../Midia/bg-indexphp.avif');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

.body-things::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.712), rgba(0, 0, 0, 0.622));
    pointer-events: none; /* impede que a película bloqueie cliques */
    transition: opacity 0.3s ease; /* suaviza a mudança de brilho */
}

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

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #097bff 0%, #53a5ff 100%);
    color: white;
    padding: 15px;
    text-align: center;
}

.card-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.card-header p {
    opacity: 0.9;
    font-size: 14px;
}

.card-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c5a8c;
    box-shadow: 0 0 0 3px rgba(44, 90, 140, 0.1);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-enviar {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.mensagem {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.mensagem.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensagem.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.aviso-seguranca {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 20px 0;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #2c5a8c;
}

.aviso-seguranca i {
    font-size: 20px;
    color: #2c5a8c;
}

.whatsapp-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.whatsapp-title {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.whatsapp-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}

.btn-whats:hover {
    transform: scale(1.05);
}

.btn-whats i {
    font-size: 20px;
}

.voltar-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #2c5a8c;
    text-decoration: none;
    font-size: 14px;
}

.voltar-link:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

@media (max-width: 480px) {
    .card-body {
        padding: 20px;
    }
    .whatsapp-buttons {
        flex-direction: column;
    }
    .btn-whats {
        justify-content: center;
    }
}