/*
  Pro Finame — Thème Principal
  Société de financement professionnel
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --primary:     #0B2D6B;   /* bleu marine profond */
  --secondary:   #1A6B3C;   /* vert croissance */
  --accent:      #F5A623;   /* or */
  --accent-dark: #D4891A;
  --light:       #F4F7FC;
  --light-2:     #E8EDF7;
  --dark:        #0D1B3E;
  --text:        #3A3A4A;
  --text-light:  #6B7280;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(11,45,107,.10);
  --shadow-lg:   0 8px 48px rgba(11,45,107,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a  { text-decoration: none; transition: var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }

.section { padding: 90px 0; }
.section-alt { background: var(--light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

.section-heading { margin-bottom: 56px; }
.section-heading h6 {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-heading h2 { margin-bottom: 16px; }
.section-heading p  { color: var(--text-light); max-width: 560px; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin: 0 auto; }

em  { font-style: normal; color: var(--secondary); }
span.accent { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-pf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary-pf:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent-pf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
}
.btn-accent-pf:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.35);
}

.btn-outline-pf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-pf:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white-pf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.btn-white-pf:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#js-preloader {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s;
}
#js-preloader.loaded { opacity: 0; pointer-events: none; }
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.preloader-logo span { color: var(--accent); }
.preloader-dots {
  display: flex;
  gap: 10px;
}
.preloader-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: preloaderBounce .8s infinite alternate;
}
.preloader-dots span:nth-child(2) { animation-delay: .15s; background: var(--white); }
.preloader-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes preloaderBounce {
  from { transform: translateY(0); opacity: .6; }
  to   { transform: translateY(-14px); opacity: 1; }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header-area {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all .4s ease;
}
.header-area.background-header {
  background: var(--primary);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .5px;
}
.logo-text span { color: var(--accent); }

/* Nav links */
.main-nav .nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav .nav li a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.main-nav .nav li a:hover,
.main-nav .nav li a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.nav-cta a {
  background: var(--accent) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
}
.nav-cta a:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,.4);
}

/* Mobile menu */
.menu-trigger {
  display: none;
  cursor: pointer;
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  padding: 8px 16px;
  border-radius: 8px;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13, 27, 62, 0.9) 0%, rgba(11, 45, 107, 0.78) 45%, rgba(13, 27, 62, 0.88) 100%),
    url('../images/cover.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-banner > .container {
  position: relative;
  z-index: 1;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
  z-index: 0;
}
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(245,166,35,.06);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.hero-banner h1 {
  color: var(--white);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-banner h1 em { color: var(--accent); font-style: normal; }

.hero-banner p {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}
.trust-item i {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero right side — card visuel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  width: 380px;
  position: relative;
  z-index: 2;
}
.hero-card-main .card-header-pf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.card-logo-sm {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}
.card-logo-sm span { color: var(--accent); }
.card-badge {
  background: #E8F5ED;
  color: var(--secondary);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.hero-card-main h3 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-card-main .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1;
}
.hero-card-main .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.progress-bar-pf {
  height: 8px;
  background: var(--light-2);
  border-radius: 50px;
  margin-bottom: 20px;
  overflow: hidden;
}
.progress-bar-pf .fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--secondary), #2ECC71);
  transition: width 1.5s ease;
}
.card-footer-pf {
  display: flex;
  gap: 10px;
}
.card-stat {
  flex: 1;
  background: var(--light);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.card-stat .value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.card-stat .label {
  font-size: .72rem;
  color: var(--text-light);
}

/* floating mini-cards */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 3s ease-in-out infinite;
}
.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card.top-left {
  top: -20px; left: -60px;
}
.floating-card.bottom-right {
  bottom: 40px; right: -50px;
  animation-direction: alternate-reverse;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.fc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fc-icon.green { background: #E8F5ED; color: var(--secondary); }
.fc-icon.blue  { background: #E8EDF7; color: var(--primary); }
.fc-icon.gold  { background: #FEF4E0; color: var(--accent-dark); }
.floating-card .fc-text .val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.floating-card .fc-text .lbl {
  font-size: .72rem;
  color: var(--text-light);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 60px 0;
  background: var(--primary);
}
.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-card:last-child { border-right: none; }
.stat-card .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .label {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 90px 0; }
.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  object-fit: cover;
  height: 420px;
}
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 130px;
}
.about-experience-badge .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.about-experience-badge .txt {
  font-size: .75rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content { padding-left: 40px; }
.about-list { margin: 28px 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: .95rem;
}
.about-list li i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-2);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card:hover::before { width: 100%; opacity: .04; }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}
.service-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.service-card p { color: var(--text-light); font-size: .9rem; margin-bottom: 20px; }
.service-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
}
.service-link:hover { color: var(--secondary); gap: 10px; }
.service-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-color: transparent;
}
.service-card.featured::before { background: var(--accent); }
.service-card.featured h4,
.service-card.featured p,
.service-card.featured .service-link { color: rgba(255,255,255,.9); }
.service-card.featured .service-icon { background: rgba(255,255,255,.12); color: var(--accent); }
.service-card.featured .service-link:hover { color: var(--accent); }

/* ============================================================
   PROCESSUS
   ============================================================ */
.process-section { padding: 90px 0; background: var(--light); }
.process-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 34px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: var(--light-2);
  border-top: 2px dashed var(--primary);
  opacity: .4;
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(11,45,107,.25);
  transition: var(--transition);
}
.process-step:hover .step-number {
  background: var(--accent);
  color: var(--dark);
  transform: scale(1.1);
}
.process-step h4 { margin-bottom: 10px; font-size: 1rem; }
.process-step p  { color: var(--text-light); font-size: .88rem; }

/* ============================================================
   TAUX & AVANTAGES (section chiffres)
   ============================================================ */
.advantages-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  position: relative;
  overflow: hidden;
}
.advantages-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.adv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}
.advantage-item h5 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.advantage-item p  { color: rgba(255,255,255,.65); font-size: .88rem; margin: 0; }

.rates-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.rates-card h3 { margin-bottom: 28px; }
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-2);
}
.rate-row:last-child { border-bottom: none; }
.rate-row .name { font-weight: 600; font-size: .95rem; }
.rate-row .val  { font-weight: 700; color: var(--secondary); font-size: 1.05rem; }
.rate-row .tag  {
  background: var(--light);
  color: var(--text-light);
  font-size: .72rem;
  padding: 2px 10px;
  border-radius: 50px;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials-section { padding: 90px 0; background: var(--light); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  color: var(--light-2);
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: var(--accent); margin-bottom: 16px; font-size: .9rem; }
.testimonial-card p { color: var(--text); font-size: .95rem; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.author-info .name   { font-weight: 700; font-size: .95rem; color: var(--primary); }
.author-info .detail { font-size: .78rem; color: var(--text-light); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 90px 0; }
.faq-item {
  border: 1px solid var(--light-2);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question i { transition: transform .3s; font-size: .85rem; color: var(--text-light); }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 90px 0; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  height: 100%;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 16px; }
.contact-info-card p  { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: .95rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-detail .text .label { font-size: .78rem; color: rgba(255,255,255,.55); }
.contact-detail .text .value { color: var(--white); font-weight: 600; font-size: .95rem; }
.social-links { display: flex; gap: 12px; margin-top: 36px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-2);
}
.form-group-pf { margin-bottom: 20px; }
.form-group-pf label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group-pf input,
.form-group-pf select,
.form-group-pf textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-2);
  border-radius: 10px;
  font-size: .92rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group-pf input:focus,
.form-group-pf select:focus,
.form-group-pf textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,45,107,.08);
}
.form-group-pf textarea { resize: vertical; min-height: 120px; }

/* Consentements formulaire demande */
.consents-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--light-2);
}
.consents-block .consents-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 18px;
}
.consents-block .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.consents-block .consent-row:last-child { margin-bottom: 0; }
.consents-block .consent-row input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.consents-block .consent-label {
  display: block;
  font-size: .88rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.main-footer {
  background: var(--dark);
  padding: 72px 0 0;
}
.footer-brand { margin-bottom: 24px; }
.footer-brand .logo-text { font-size: 1.6rem; }
.footer-desc {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-col h5 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: .7rem; color: var(--accent); }

.footer-newsletter { margin-top: 10px; }
.footer-newsletter input {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter button {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: var(--dark);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}
.footer-newsletter button:hover { background: var(--accent-dark); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  margin-top: 48px;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .83rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: .83rem; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================================
   INNER PAGES (Politique, Demande)
   ============================================================ */
.inner-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 140px 0 80px;
}
.inner-hero h1 { color: var(--white); margin-bottom: 14px; font-size: 2.5rem; }
.inner-hero p  { color: rgba(255,255,255,.7); font-size: 1rem; }
.breadcrumb-pf {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb-pf a { color: rgba(255,255,255,.55); font-size: .85rem; }
.breadcrumb-pf a:hover { color: var(--accent); }
.breadcrumb-pf span { color: rgba(255,255,255,.3); font-size: .75rem; }
.breadcrumb-pf .current { color: var(--accent); font-size: .85rem; }

/* Policy pages */
.policy-content { padding: 72px 0; }
.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}
.policy-content p, .policy-content li {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-content ul { margin-left: 20px; margin-bottom: 20px; }
.policy-content ul li { list-style: disc; }
.policy-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}
.policy-card p { margin: 0; }

/* ============================================================
   DEMANDE DE FINANCEMENT PAGE
   ============================================================ */
.application-section { padding: 72px 0 90px; background: var(--light); }

/* Steps progress */
.steps-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
  gap: 0;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-dot .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-2);
  border: 2px solid var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-light);
  transition: var(--transition);
}
.step-dot.active .dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(11,45,107,.3);
}
.step-dot.completed .dot {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}
.step-dot .step-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}
.step-dot.active .step-label { color: var(--primary); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--light-2);
  margin: 0 4px;
  margin-bottom: 26px;
  max-width: 80px;
}
.step-line.done { background: var(--secondary); }

/* Application form */
.application-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-step {
  display: none;
  padding: 48px 56px;
}
.form-step.active { display: block; }
.form-step-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-2);
}
.form-step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-step-title h3 { margin: 0; font-size: 1.3rem; }
.form-step-title p  { margin: 0; color: var(--text-light); font-size: .85rem; }

.form-row-pf { display: flex; gap: 20px; margin-bottom: 0; }
.form-row-pf .form-group-pf { flex: 1; }

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 56px;
  border-top: 1px solid var(--light-2);
  background: var(--light);
}

/* Select custom */
.form-group-pf select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Checkboxes & radios styled */
.option-group { display: flex; flex-wrap: wrap; gap: 12px; }
.option-item {
  flex: 1;
  min-width: 160px;
}
.option-item input { display: none; }
.option-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--light-2);
  border-radius: 10px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.option-item input:checked + label {
  border-color: var(--primary);
  background: rgba(11,45,107,.05);
  color: var(--primary);
  font-weight: 600;
}
.option-item label i { color: var(--primary); font-size: 1rem; }

/* Range slider */
.range-wrap { position: relative; }
.range-input {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 50px;
  background: var(--light-2);
  outline: none;
  margin: 16px 0 8px;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(11,45,107,.3);
}
.range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-light); }
.range-value {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 4px 0;
}

/* Summary box */
.summary-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-2);
  font-size: .9rem;
}
.summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; }
.summary-row .lbl { color: var(--text-light); }
.summary-row .val { color: var(--primary); font-weight: 600; }

/* Confirmation / success */
.success-screen {
  text-align: center;
  padding: 56px 40px;
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #E8F5ED;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin: 0 auto 24px;
}

/* ============================================================
   SIDEBAR (pour pages de politique)
   ============================================================ */
.policy-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-nav {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-2);
}
.sidebar-nav h5 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.sidebar-nav ul li {
  border-bottom: 1px solid var(--light-2);
}
.sidebar-nav ul li:last-child { border-bottom: none; }
.sidebar-nav ul li a {
  display: block;
  padding: 10px 0;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active { color: var(--primary); padding-left: 6px; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-accent { color: var(--accent) !important; }
.text-primary-pf { color: var(--primary) !important; }
.text-secondary-pf { color: var(--secondary) !important; }
.bg-primary-pf  { background: var(--primary); }
.bg-light-pf    { background: var(--light); }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 50px;
  margin: 16px 0 24px;
}
.divider.centered { margin: 16px auto 24px; }

.alert-pf {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: .88rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.alert-pf.info { background: #EFF4FF; border-left: 4px solid var(--primary); color: var(--primary); }
.alert-pf.success { background: #E8F5ED; border-left: 4px solid var(--secondary); color: var(--secondary); }
.alert-pf.warning { background: #FEF4E0; border-left: 4px solid var(--accent); color: var(--accent-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .main-nav .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 20px; gap: 0; }
  .main-nav .nav.active { display: flex; }
  .main-nav .nav li a { display: block; padding: 12px 16px; border-radius: 8px; }
  .menu-trigger { display: flex; }
  .main-nav { flex-wrap: wrap; position: relative; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-banner h1 { font-size: 2.3rem; }
  .about-content { padding-left: 0; margin-top: 40px; }
  .about-experience-badge { right: 0; }
  .hero-visual { margin-top: 48px; }
  .hero-card-main { width: 100%; max-width: 380px; }
  .floating-card { display: none; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-card:last-child { border-bottom: none; }
  .process-step::after { display: none; }
  .contact-info-card { margin-bottom: 32px; }
  .form-step { padding: 32px 24px; }
  .form-nav  { padding: 20px 24px; }
  .form-row-pf { flex-direction: column; gap: 0; }
}

@media (max-width: 575px) {
  .section { padding: 64px 0; }
  .hero-banner { padding: 100px 0 64px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
  .stats-section { padding: 40px 0; }
  .stat-card .number { font-size: 2rem; }
  .steps-progress { gap: 0; }
  .step-line { max-width: 30px; }
  .step-dot .step-label { display: none; }
  .footer-bottom-links { justify-content: flex-start; }
}
