/* IHRO West Africa - Page adhesion & volontariat (styles specifiques) */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f5f7fa; color: #333; }
.hero { background: linear-gradient(135deg, #1a237e, #534bae); padding: 60px 20px; text-align: center; color: #fff; }
.hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.hero p { opacity: 0.9; font-size: 1.1rem; }
.container { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.plan { background: #fff; border-radius: 16px; padding: 28px; text-align: center; cursor: pointer; border: 3px solid transparent; transition: 0.3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.plan.selected { border-color: #ff6f00; box-shadow: 0 0 0 4px rgba(255,111,0,0.15); }
.plan-icon { font-size: 2.8rem; margin-bottom: 12px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 8px; }
.plan .price { font-size: 1.8rem; font-weight: 800; color: #ff6f00; }
.plan .price small { font-size: 0.9rem; font-weight: 400; color: #666; }
.plan .desc { color: #666; font-size: 0.9rem; margin-top: 8px; }
.form-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; display: none; }
.form-card.active { display: block; }
.form-header { background: linear-gradient(135deg, #1a237e, #534bae); color: #fff; padding: 20px 28px; }
.form-header h2 { font-size: 1.3rem; }
.form-body { padding: 28px; }
.summary { background: #fff8e1; border: 2px solid #ffe082; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.summary h4 { color: #ff6f00; margin-bottom: 10px; }
.summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.95rem; }
.summary-row.total { border-top: 2px solid #ffe082; margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 1.1rem; color: #ff6f00; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.form-group label .req { color: #c62828; }
.form-control { width: 100%; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; }
.form-control:focus { border-color: #534bae; outline: none; }
textarea.form-control { resize: vertical; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.option-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid #e0e0e0; border-radius: 12px; cursor: pointer; transition: 0.3s; background: #fff; }
.option-card:hover { border-color: #534bae; }
.option-card.selected { border-color: #ff6f00; background: #fff8e1; }
.option-card input { width: 20px; height: 20px; accent-color: #ff6f00; }
.option-info { flex: 1; }
.option-name { font-weight: 700; font-size: 1rem; }
.option-price { font-weight: 800; color: #ff6f00; font-size: 1.1rem; }
.option-desc { font-size: 0.8rem; color: #666; }
.btn-submit { width: 100%; padding: 16px; background: linear-gradient(135deg, #ff6f00, #ffa040); color: #fff; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: 700; cursor: pointer; margin-top: 20px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,111,0,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; animation: slideDown 0.4s; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.alert-error { background: #fce4ec; color: #c62828; border-left: 4px solid #c62828; }
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.confirm-box { background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.1); padding: 40px; text-align: center; max-width: 600px; margin: 40px auto; }
.confirm-box .icon { font-size: 3.5rem; margin-bottom: 16px; }
.confirm-box h2 { color: #2e7d32; margin-bottom: 12px; }
.confirm-box .ref { background: #f8f9fa; display: inline-block; padding: 12px 20px; border-radius: 8px; font-size: 1.1rem; font-weight: 600; color: #1a237e; letter-spacing: 1px; margin: 16px 0; }
.btn-home { display: inline-block; padding: 12px 28px; background: #1a237e; color: #fff; text-decoration: none; border-radius: 8px; font-weight: 600; margin-top: 16px; }
.next-step { background: #eef0ff; border: 2px solid #c5cae9; border-left: 5px solid #1a237e; border-radius: 10px; padding: 16px 18px; text-align: left; margin-top: 20px; font-size: 0.95rem; line-height: 1.6; color: #1a237e; }
.next-step strong { display: block; margin-bottom: 6px; font-size: 1rem; color: #1a237e; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
.plans { grid-template-columns: 1fr; }
.form-row { grid-template-columns: 1fr; }
.options-grid { grid-template-columns: 1fr; }
}
