/* ============================================================
   NORDIX SERVICE — COMPOSANTS FINANCE (surcouche du thème Sarab)
   ============================================================ */

/* Bouton CTA dans la nav */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  border-radius: 50px;
  padding: 11px 22px !important;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(232, 40, 26, .3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); color: #fff !important; }

/* Bouton contour */
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: .93rem;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.btn-ghost:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------- HERO PAGE INTÉRIEURE ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1512 55%, #3a1a10 100%);
  padding: 92px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,166,35,.28), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -100px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,40,26,.25), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.page-hero h1 span { color: var(--secondary); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 620px; }
.breadcrumb-x {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
  letter-spacing: .3px;
}
.breadcrumb-x a { color: var(--secondary); }
.breadcrumb-x span { margin: 0 8px; opacity: .6; }
.hero-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(246,166,35,.35);
  color: #ffe9c4;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-tag i { color: var(--secondary); }

/* ---------- SECTIONS ---------- */
.sec { padding: 84px 0; }
.sec.cream { background: var(--cream); }
.sec.light { background: var(--light); }

/* ---------- CARTES ATOUTS ---------- */
.feat-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid #f0e6da;
  transition: .35s;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feat-ico {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  box-shadow: 0 10px 24px rgba(232,40,26,.28);
}
.feat-ico.gold { background: linear-gradient(135deg, var(--secondary), #d98a12); box-shadow: 0 10px 24px rgba(246,166,35,.3); }
.feat-ico.green { background: linear-gradient(135deg, var(--green), #1f4d39); box-shadow: 0 10px 24px rgba(45,106,79,.3); }
.feat-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.feat-card p { color: #777; font-size: .92rem; line-height: 1.75; margin: 0; }

/* ---------- ÉTAPES DU PROCESSUS ---------- */
.step-card {
  background: #fff;
  border-radius: 18px;
  padding: 34px 26px 30px;
  height: 100%;
  text-align: center;
  border: 1px solid #f0e6da;
  box-shadow: var(--shadow);
  position: relative;
  transition: .35s;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(232,40,26,.3);
}
.step-card h5 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: #777; font-size: .9rem; line-height: 1.7; margin: 0; }
.step-ico { font-size: 1.6rem; color: var(--secondary); margin-bottom: 8px; }

/* ---------- BANDE STATISTIQUES ---------- */
.stat-band {
  background: linear-gradient(135deg, #1a1a1a, #2a1512);
  border-radius: 22px;
  padding: 44px 26px;
}
.stat-x { text-align: center; color: #fff; padding: 10px; }
.stat-x .n {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem; font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.stat-x .l { color: rgba(255,255,255,.72); font-size: .86rem; margin-top: 8px; }

/* ---------- LISTE À PUCES ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 9px 0 9px 34px;
  color: #555;
  font-size: .95rem;
  border-bottom: 1px dashed #ece1d3;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(45,106,79,.12);
  color: var(--green);
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- BANDE CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), #c01e12);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(232,40,26,.32);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,3.5vw,2.4rem); font-weight: 900; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-white {
  background: #fff; color: var(--primary);
  border-radius: 50px; padding: 14px 34px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 9px;
  transition: .3s;
}
.cta-band .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.25); color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid #f0e6da;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
}
.faq-q i { color: var(--primary); transition: .3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 20px; color: #777; font-size: .93rem; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 520px; }

/* ============================================================
   PAGE DEMANDE DE PRÊT
   ============================================================ */
.loan-form-wrapper {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid #f0e6da;
}
.loan-form-header {
  background: linear-gradient(135deg, #1a1a1a, #2a1512);
  padding: 30px 34px;
}
.loan-form-header h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.loan-form-header p { color: rgba(255,255,255,.65); font-size: .88rem; margin: 0; }
.loan-form-body { padding: 34px; }

.sec-label {
  font-family: "Poppins", sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f4ece0;
}
.x-label { display: block; font-weight: 600; font-size: .85rem; color: #444; margin-bottom: 7px; }
.x-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e6dccd;
  border-radius: 10px;
  font-size: .93rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fffdfa;
  transition: .25s;
}
.x-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,40,26,.12);
  background: #fff;
}
select.x-input { cursor: pointer; }

/* Calculateur */
.loan-calc {
  background: var(--cream);
  border: 1px solid #f2e5d3;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
}
.loan-calc h4 { font-size: 1.05rem; margin-bottom: 16px; }
.loan-rate-live {
  background: linear-gradient(135deg, #1a1a1a, #2a1512);
  color: var(--secondary);
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 8px 14px;
  border-radius: 10px;
  text-align: center;
}

/* Grille de confiance */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}
.trust-item {
  background: var(--cream);
  border: 1px solid #f2e5d3;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
}
.trust-item .ic { font-size: 1.4rem; margin-bottom: 6px; }
.trust-item .lb { display: block; font-weight: 700; font-size: .82rem; color: var(--dark); }
.trust-item .sb { font-size: .7rem; color: #999; }
@media (max-width: 575px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* Bouton envoi */
.btn-loan {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #c01e12);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 26px;
  cursor: pointer;
  transition: .3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 26px rgba(232,40,26,.32);
}
.btn-loan:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(232,40,26,.42); }
.btn-loan:disabled { opacity: .7; cursor: wait; transform: none; }

/* Champ anti-spam */
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Alertes */
.alert-x {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: .92rem;
  margin-bottom: 24px;
}
.alert-x.danger { background: #fdeceb; border: 1px solid #f5c2bd; color: #a12318; }
.alert-x i { font-size: 1.2rem; }

/* Encart succès */
.success-x {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #f0e6da;
  padding: 46px 40px;
  text-align: center;
}
.success-x .s-ico {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(45,106,79,.12);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
}
.success-x h3 { font-size: 1.6rem; margin-bottom: 12px; }
.success-x p { color: #666; font-size: .96rem; line-height: 1.7; }
.success-details {
  background: var(--cream);
  border: 1px solid #f2e5d3;
  border-radius: 14px;
  padding: 22px 26px;
  text-align: left;
  margin: 24px 0;
}
.success-details p { margin: 7px 0; font-size: .92rem; color: #555; display: flex; justify-content: space-between; gap: 12px; }
.success-details p strong { color: var(--dark); }

/* Bloc processus (page demande) */
.mini-steps { display: flex; flex-direction: column; gap: 18px; }
.mini-step { display: flex; gap: 16px; align-items: flex-start; }
.mini-step .n {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(232,40,26,.28);
}
.mini-step h6 { margin: 4px 0 4px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: .95rem; color: var(--dark); }
.mini-step p { margin: 0; font-size: .85rem; color: #777; line-height: 1.6; }

/* Carte latérale sombre */
.dark-aside {
  background: linear-gradient(135deg, #1a1a1a, #2a1512);
  border-radius: 22px;
  padding: 34px;
  color: #fff;
  height: 100%;
}
.dark-aside h4 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.dark-aside .sub { color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 24px; }

/* Contact info items */
.ct-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.ct-item .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(246,166,35,.16);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.ct-item strong { display: block; color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.ct-item span { color: #fff; font-size: .92rem; }

/* Valeurs (qui sommes-nous) */
.value-card {
  background: #fff; border-radius: 18px; padding: 28px 24px; height: 100%;
  border: 1px solid #f0e6da; box-shadow: var(--shadow); transition: .35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .vi { font-size: 1.8rem; margin-bottom: 14px; }
.value-card h5 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: #777; font-size: .9rem; line-height: 1.7; margin: 0; }

/* Bandeau texte défilant (marquee) */
.mq { background: var(--dark); overflow: hidden; padding: 14px 0; }
.mq-track { display: flex; gap: 40px; white-space: nowrap; animation: mqscroll 26s linear infinite; }
.mq-item { color: #fff; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 14px; }
.mq-item i { color: var(--secondary); font-size: .5rem; }
@keyframes mqscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ancre décalée pour la navigation par ancres */
:target { scroll-margin-top: 90px; }
