/* ===== PARTENAIRE PAGE ===== */
.partner-body { background: #07071a; overflow-x: hidden; }

/* HERO PRESTATAIRES */
.prest-hero {
  min-height: 100vh;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding-top: 80px;
}
.prest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,10,26,0.92) 0%, rgba(55,3,219,0.7) 50%, rgba(10,10,26,0.88) 100%);
}
.prest-hero-content { position: relative; z-index: 2; padding: 60px 20px; }
.prest-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 700;
  color: #fff; line-height: 1.2; margin: 20px 0 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.prest-title em { color: var(--gold); font-style: italic; }
.prest-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem); color: rgba(255,255,255,0.75);
  max-width: 640px; margin: 0 auto; line-height: 1.8;
}

/* GAIN CARDS */
.gain-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  height: 100%; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid rgba(201,168,76,0.25);
}
.gain-card--featured {
  background: linear-gradient(145deg, var(--dark2), #2d1b69);
  border-top-color: var(--gold);
}
.gain-card--featured h5 { color: #fff; }
.gain-card--featured p { color: rgba(255,255,255,0.65); }
.gain-card--featured .gain-result { color: rgba(255,255,255,0.85); border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.1); }
.gain-card--cta {
  background: linear-gradient(145deg, #3703DB, #1a0a8a);
  border-top-color: var(--gold); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gain-card--cta h5 { color: #fff; }
.gain-card--cta p { color: rgba(255,255,255,0.65); }
.gain-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.gain-num {
  font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 700;
  color: rgba(201,168,76,0.1); position: absolute; top: 12px; right: 20px; line-height: 1;
}
.gain-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 14px; }
.gain-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.gain-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.gain-result {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem; color: var(--blue); font-weight: 500;
  background: rgba(27,58,107,0.06); border: 1px solid rgba(27,58,107,0.12);
  border-radius: 8px; padding: 10px 14px; line-height: 1.5;
}
.gain-result i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* STEP CARDS */
.step-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 40px 28px; text-align: center;
  height: 100%; transition: all 0.3s ease; position: relative;
}
.step-card--active {
  background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.35);
}
.step-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.step-num {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  color: #fff; margin: 0 auto 20px; box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.step-icon { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.step-card h5 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.step-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; }

/* FORM SECTION */
.section-form { background: #07071a; padding: 100px 0; }
.form-card-dark {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 52px 48px;
  backdrop-filter: blur(20px); box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.form-icon-wrap {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff; margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
}
.form-card-dark .form-header h2 {
  font-family: 'Playfair Display', serif; font-size: 1.7rem; color: #fff; margin-bottom: 8px;
}
.form-card-dark .form-header p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* INPUTS */
.form-floating-custom { margin-bottom: 20px; }
.input-icon-wrap { position: relative; }
.input-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.3); font-size: 1rem; pointer-events: none;
  transition: color 0.3s; z-index: 2;
}
.input-icon-wrap input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 18px 18px 6px 46px; color: #fff; font-size: 0.95rem;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.input-icon-wrap label {
  position: absolute; left: 46px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.38); font-size: 0.88rem;
  pointer-events: none; transition: all 0.25s ease;
}
.input-icon-wrap input:focus ~ label,
.input-icon-wrap input:not(:placeholder-shown) ~ label {
  top: 10px; font-size: 0.72rem; color: var(--gold); transform: none;
}
.input-icon-wrap input:focus { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.input-icon-wrap input:focus ~ .input-icon { color: var(--gold); }
.input-icon-wrap input::placeholder { color: transparent; }
.input-icon-wrap input.is-invalid { border-color: #ff6b6b; }

.field-error { color: #ff6b6b; font-size: 0.78rem; margin-top: 6px; padding-left: 8px; display: none; }
.field-error.visible { display: block; }

/* TEXTAREA */
.textarea-wrap textarea {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 28px 18px 10px 46px; color: #fff; font-size: 0.95rem;
  font-family: 'Inter', sans-serif; outline: none; resize: vertical;
  min-height: 110px; transition: border-color 0.3s, background 0.3s;
}
.textarea-wrap textarea::placeholder { color: transparent; }
.textarea-wrap .input-icon { top: 20px; transform: none; }
.textarea-wrap label {
  position: absolute; left: 46px; top: 14px;
  color: rgba(255,255,255,0.38); font-size: 0.88rem;
  pointer-events: none; transition: all 0.25s ease;
}
.textarea-wrap textarea:focus ~ label,
.textarea-wrap textarea:not(:placeholder-shown) ~ label {
  top: 6px; font-size: 0.72rem; color: var(--gold);
}
.textarea-wrap textarea:focus { border-color: var(--gold); background: rgba(201,168,76,0.05); }

/* SUBMIT */
.btn-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none; border-radius: 12px; color: #fff;
  font-size: 1rem; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; margin-top: 8px; transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(201,168,76,0.3); letter-spacing: 0.3px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.5); }
.btn-submit:active { transform: translateY(0); }

/* SUCCESS */
.form-success { text-align: center; padding: 20px 0; }
.success-icon {
  font-size: 4rem; color: var(--gold); margin-bottom: 16px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* intl-tel-input dark */
.iti-wrap { position: relative; }
.iti-wrap .iti { width: 100%; }
.iti-wrap .iti input#tel {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 18px 18px 6px 90px; color: #fff; font-size: 0.95rem;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.iti-wrap .iti input#tel::placeholder { color: transparent; }
.iti-wrap .iti input#tel:focus { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.iti-wrap label {
  position: absolute; left: 90px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.38); font-size: 0.88rem;
  pointer-events: none; transition: all 0.25s ease; z-index: 1;
}
.iti-wrap .iti input#tel:focus ~ label,
.iti-wrap .iti input#tel:not(:placeholder-shown) ~ label {
  top: 10px; font-size: 0.72rem; color: var(--gold); transform: none;
}
.iti__flag-container { border-right: 1px solid rgba(255,255,255,0.12); }
.iti__selected-dial-code { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.iti__arrow { border-top-color: rgba(255,255,255,0.5); }
.iti__arrow--up { border-bottom-color: rgba(255,255,255,0.5); }
.iti__country-list {
  background: #1a1a2e; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  color: #fff; max-height: 220px;
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight { background: rgba(201,168,76,0.15); }
.iti__country-list .iti__dial-code { color: rgba(255,255,255,0.5); }
.iti__search-input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: #fff; padding: 8px 12px;
  width: calc(100% - 24px); margin: 8px 12px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none;
}
.iti__search-input::placeholder { color: rgba(255,255,255,0.35); }
.iti__divider { border-bottom-color: rgba(255,255,255,0.08); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-card-dark { padding: 36px 24px; }
  .prest-hero-content { padding: 40px 16px; }
}
