/* ===============================
   RESET & BASE
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ===============================
   CONTAINER GLOBAL
================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= GLOBAL BUTTON ================= */

.btn-primary {
  background-color: #FF6B35;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e85a2a;
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  background-color: #ce3700;
}

/* ================= HEADER TOP ================= */

.header-top {
    background-color: #0D3B66;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Bloc gauche */
.top-left {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Texte desktop */
.top-left span {
    white-space: nowrap;
}

/* liens */
.top-left a {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.top-left a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Bloc droit */
.top-right {
    display: flex;
    align-items: center;
}

.top-right .flag-de {
    width: 28px;
    height: auto;
}

/* lien contact */
.contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* couleur WhatsApp */
.fa-whatsapp {
    color: #25D366;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .header-top {
        padding: 12px;
    }

    .header-top .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .top-left {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .top-left span,
    .top-left a {
        white-space: normal;
        font-size: 0.85rem;
    }

    .top-right {
        margin-top: 5px;
    }
}



   /* HEADER PRINCIPAL */


   /* VARIABLES */

:root {
  --primary: #0D3B66;   /* BLEU */
  --accent: #FF6B35;    /* ORANGE */
  --white: #ffffff;
}

   /* HEADER GLOBAL FIXE */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--white);
}
/* ===== HEADER LOGO SIMPLE ===== */

.header {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.1rem;
  background-color: #ffffff;
}

/* Lien du logo */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* LOGO : visuellement plus grand, header inchangé */
.logo {
  height: 54px;                 /* hauteur logique du header */
  width: auto;
  max-width: none;
  object-fit: contain;

  transform: scale(1.35);       /* 🔥 agrandissement visuel */
  transform-origin: left center;
}


   /* NAVBAR */

.navbar {
  position: relative; /* IMPORTANT */
}


   /* COMPENSATION PAGE */

body {
  padding-top: auto; /* header-top + navbar */
}


   /* NAVBAR */

.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


/* 
   LIENS MENU (BLEU) */

.nav-link {
  position: relative;
  color: var(--primary) !important; 
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

/* Hover */
.nav-link:hover {
  color: var(--accent) !important;
}

/* Soulignement animé */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Lien actif */
.nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}


   /* HAMBURGER */

.navbar-toggler {
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

/* Icône hamburger (BLEU) */
.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* =========================
   MENU MOBILE
========================= */
@media (max-width: 991px) {

  .navbar-collapse {
    background-color: var(--white);
    padding: 1.5rem 1rem;
    border-top: 2px solid var(--accent);
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }
}


   /* HERO SECTION — STRUCTURE GÉNÉRALE */


.hero-section{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0D3B66;
}

  /* SLIDER BACKGROUND */

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slider-track{
  display:flex;
  height:100%;
  will-change: transform;
}

.slide{
  flex: 0 0 100%;
  height:100%;
  overflow:hidden;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;

  transform: scale(1);
  transition: transform 7s ease;
}

.slide.active img{
  transform: scale(1.1);
}
@media (max-width:768px){

  .hero-section{
    min-height:70vh;
  }

  .slide img{
    object-position:center top;
  }

}

   /* OVERLAY  */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    rgba(13, 59, 102, 0.65),
    rgba(13, 59, 102, 0.65)
  );
}

   /* CONTENU HERO */

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  margin-top: 40px;

  padding-inline: clamp(1rem, 5vw, 6rem);
  padding-top: clamp(2rem, 8vh, 6rem);

  color: #fff;
}
.hero-title {
  font-size: clamp(1.6rem, 4.8vw, 3.2rem);
  line-height: 1.12;
}

.hero-text {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  max-width: 42ch; /* meilleure lisibilité */
}
.site-name {
  background-color: #ffffff;
  color: #0D3B66;
  margin: 12px;
  padding-top: 2px;
  padding-right: 2px;
  padding-left: 2px;
  padding-bottom: 2px;

}

/* Animation keyframes */
@keyframes contentReveal {
  0%   { opacity: 0; transform: translateY(50px); filter: blur(8px); }
  60%  { opacity: 1; transform: translateY(-5px); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Appliquer animation avec delay pour un effet séquentiel */
.hero-title {
  animation: contentReveal 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.5s;
}
.hero-text {
  animation: contentReveal 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 1s;
}
.hero-content .btn-primary {
  animation: contentReveal 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 1.5s;
}

/* TEXTE */
.hero-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

/* BADGE TAUX */

.rate-badge {
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  bottom: clamp(38px, 6vw, 80px);
  z-index: 3;

  width: 85px;
  height: 85px;
  background: #fff;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: #0D3B66;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);

  animation: badgeFloat 4s ease-in-out infinite;
}

/* Animation flottante */
@keyframes badgeFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Valeur du taux */
.rate-value {
  font-size: 0.85rem;  /* ⬅ réduit */
  font-weight: 900;
  animation: pulseRate 2.5s ease-in-out infinite;
}

/* Label sous le taux */
.rate-label {
  font-size: 0.6rem;
  line-height: 1.1;
}
/* =========================================================
   RESPONSIVE MOBILE
========================================================= */
@media (max-width: 768px) {

  .hero-section{
    min-height: 85svh;
  }

  .hero-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding-top: clamp(160px, 22vh, 240px);
    gap:20px; /* espace entre titre et bouton */
  }
  .hero-content .btn-primary{
    margin-top:10px;
  }

  .hero-text {  
    display: none;
  }

  .slide img{
    object-fit: cover;
    object-position: center;
  }

  /* Badge discret */
  .rate-badge {
    width: 64px;
    height: 64px;
    right: 12px;
    bottom: 12px;
  }

  .rate-value {
    font-size: 0.75rem;
  }
}
@media (max-height: 500px) {

  .hero-section {
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .rate-badge {
    display: none;
  }

  .hero-title{
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }
}
@media (min-width: 1600px) {

  .hero-title{
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

 .hero-text {
    display: none;
  }
}
@media (max-width: 768px) {

  .hero-section {
    min-height: 100svh;
    display: flex;
    justify-content: center; /* ⬅ centre horizontal */
    align-items: center;     /* ⬅ centre vertical */
  }
}
@media (max-width: 768px) {

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ⬅ centre horizontal du contenu */
    text-align: center;
    padding-inline: 1.2rem;
  }
}
@media (max-width: 768px) {

  .hero-text {
    display: none;
  }

  .hero-content .btn-primary {
    margin-inline: auto;
  }
}


/* ================= SECTION WHY CHOOSE ================= */

.why-choose {
    padding: 80px 20px;
    background-color: #f0f7fe; /* fond clair, neutre et élégant */
    color: #64748b; 
    font-family: 'Inter', sans-serif;
}

.why-choose .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-choose .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0D3B66; /* couleur accent */
    margin-bottom: 10px;
}
.color {
  color: #ff4400;
}

.why-choose .section-subtitle {
    font-size: 1.05rem;
    color: #64748b; 
    margin-bottom: 50px;
    line-height: 1.6;
}

.why-choose .choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.choose-card {
    background-color: #ffffff; 
    border-radius: 12px;
    padding: 20px 15px; /* réduit le padding pour diminuer la hauteur */
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.choose-icon {
    font-size: 1.5rem; /* taille réduite */
    margin-bottom: 20px;
    display: inline-block;
}


.choose-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0D3B66;
}

.choose-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .why-choose {
        padding: 60px 15px;
    }

    .why-choose .section-title {
        font-size: 1.8rem;
    }

    .why-choose .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .choose-card {
        padding: 25px 15px;
    }
}


/* ================= CTA SECTION ================= */


.cta-section {
    padding: 80px 0;
    background: #e9f0ff;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}


   /* LEFT CONTENT */


.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    color: #0D3B66;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-text {
    font-size: 17px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-buttons {
    margin-top: 10px;
}

.btn-white {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}



   /* RIGHT IMAGE */


.cta-media {
    flex: 1;
    position: relative;
}

.cta-image {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* 
   BADGE */


.cta-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ff6b35;
    color: #fff;
    padding: 18px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cta-badge strong {
    font-size: 20px;
}


   /* RESPONSIVE */


@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        order: 2;
    }

    .cta-media {
        order: 1;
        margin-bottom: 40px;
    }

    .cta-badge {
        bottom: 15px;
        right: 15px;
    }
}

/* ================= TRUST SECTION ================= */

.trust-section {
    padding: 80px 20px;
    background: #f4f4f4; /* fond clair */
    color: #0D3B66;
}

.trust-container {
    margin: 0 auto;
}

/* HEADER */
.trust-header {
    text-align: center;
    margin-bottom: 50px;
}

.trust-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.trust-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

/* GRID */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* TRUST CARD - EFFET GLACE */
.trust-card {
    position: relative;
    background: rgb(255, 255, 255); /* fond semi-transparent */
    backdrop-filter: blur(10px);           /* effet flou / glace */
    -webkit-backdrop-filter: blur(10px);  /* support safari */
    border-radius: 20px;                   /* coins arrondis */
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* DOT */
.trust-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #FF6B35;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* TITRE CARTE */
.trust-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0D3B66;
}

/* TEXTE CARTE */
.trust-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* ================= TRUST CTA BUTTON ================= */
.trust-cta {
    width: 100%;           /* prend toute la largeur */
    display: flex;          /* flex pour centrer */
    justify-content: center; /* centre horizontalement */
    margin-top: 40px;
    text-align: center;
}

.trust-cta .btn-primary {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .trust-title { font-size: 2rem; }
    .trust-subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
    .trust-title { font-size: 1.7rem; }
    .trust-subtitle { font-size: 0.9rem; }
    .trust-card { padding: 20px; border-radius: 15px; }
}


/* ================= LOANS SECTION ================= */

.loans-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
    color: #0D3B66;
}

.loans-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

/* ===== LEFT MEDIA ===== */
.loans-media {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* GRANDE IMAGE PRINCIPALE */
.loan-image-main {
    position: relative;
    width: 100%;
}

.loan-image-main img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* BADGE EXPERIENCE SUR GRANDE IMAGE */
.experience-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #FF6B35;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
    font-size: 0.9rem;
}

.experience-badge .exp-number {
    font-size: 1.5rem;
    display: block;
}

.experience-badge .exp-text {
    font-size: 0.8rem;
    display: block;
    line-height: 1.1;
}

/* PETITE IMAGE SUPERPOSÉE - BAS GAUCHE */

.loan-image-small {
    position: absolute;
    bottom: -150px; /* décalage vers le bas de la grande image */
    left: -20px;   /* décalage vers la gauche */
    width: 300px;  /* taille petite image */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 2;    /* au-dessus de la grande image */
}

.loan-image-small img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ===== RIGHT CONTENT ===== */

.loans-content {
    flex: 1;
}

.loans-subtitle {
    font-weight: bold;
    color: #FF6B35;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.loans-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.loans-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.loans-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.loans-list li {
    margin-bottom: 10px;
}

.loans-list strong {
    color: #0D3B66;
}
/* ================= POINTS ORANGES ================= */
.loans-list {
    list-style: disc;      /* active les puces */
    padding-left: 20px;    /* espace entre puce et texte */
}

.loans-list li::marker {
    color: #FF6B35;        /* couleur orange pour les points */
    font-size: 1em;        /* taille normale des points */
}

/* BOUTON */
.loans-buttons .btn-primary {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .loans-container {
        flex-direction: column;
    }
    .loan-image-small {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto;
    }
    .loans-content { margin-top: 30px; text-align: center; }
}

@media (max-width: 480px) {
    .loan-image-small { width: 120px; }
    .loans-title { font-size: 1.7rem; }
    .loans-text { font-size: 0.95rem; }
    .loans-buttons .btn-primary { padding: 10px 22px; font-size: 0.95rem; }
}

/* ================= SECTION SIMULATION ================= */

.loan-simulation {
  position: relative;
  padding: 80px 20px;
  background: url('images/capital.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Overlay sombre */
.loan-simulation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.748);
  backdrop-filter: blur(2px);
}

.loan-simulation h1,
.loan-simulation p {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.loan-simulation h1 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 700;
}

.loan-simulation p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 50px;
  color: #cbd5e1;
}

/* ================= CONTAINER ================= */

.simulation-container {
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  gap: 40px;
  max-width: 1200px; /* largeur max pour centrer le contenu */

  
}

/* ================= FORMULAIRE (3/4 GAUCHE) ================= */

.simulation-container form {
  flex: 3;
  background: rgba(255,255,255,0.04);
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

/* Labels */
.simulation-container label {
  display: block;
  margin-bottom: 6px;
  color: #e2e8f0;
  font-weight: 500;
}

/* Inputs */
.simulation-container input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.simulation-container input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 2px rgba(255,107,53,0.15);
}

/* Input taux grisé */
.simulation-container input[readonly] {
  background: rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-weight: 600;
  cursor: not-allowed;
}

/* Bouton */
.simulation-container button {
  width: 100%;
  padding: 14px;
  background: #FF6B35;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.simulation-container button:hover {
  background: #ff5722;
  transform: translateY(-1px);
  color: white;
}

/* ================= CARTE RESULTAT GLASS (DROITE) ================= */

.result {
  flex: 1;
  padding: 30px 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Titre toujours visible */
.result-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
  color: #fff;
  letter-spacing: 0.3px;
}

/* Ligne design sous titre */
.result-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #FF6B35;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Résultat texte */
.result br {
  margin-bottom: 6px;
}

.result .info-message {
  margin-top: 15px;
  font-size: 13px;
  color: #cbd5e1;
}

/* Erreur */
.error {
  background: rgba(255,80,80,0.12);
  border: 1px solid rgba(255,80,80,0.3);
  padding: 10px;
  border-radius: 6px;
  color: #ffb4b4;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .simulation-container {
    flex-direction: column;
  }

  .simulation-container form {
    flex: unset;
  }

  .result {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .loan-simulation {
    padding: 60px 15px;
  }

  .loan-simulation h1 {
    font-size: 26px;
  }

  .simulation-container form {
    padding: 25px;
  }
}

  /* TEMOIGNAGES */

.clients-section {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.clients-section .container {
  max-width: 1200px;
  margin: auto;
}

   /* TITRE */

.section-title {
  font-size: 2rem;
  margin-bottom: 48px;
  color: #0D3B66;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #FF6B35;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

   /* SLIDER */

.clients-slider {
  width: 100%;
  overflow: hidden; /* OK ici */
}

.clients-track{
  display:flex;
  transition:transform 0.6s ease-in-out;
  will-change:transform;
}

   /* CARTE CLIENT (CORRIGÉ) */

.client-card {
  flex: 0 0 100%;
  background: #ffffff;
  padding: 32px 26px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;

  /* 🔑 CORRECTIONS IMPORTANTES */
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  box-sizing: border-box;
}

   /* AVATAR */


.client-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

/* 
   TEXTE */


.client-card h3 {
  margin-bottom: 10px;
  color: #0D3B66;
  font-weight: 600;
  font-size: 1rem;
}

.client-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 18px;

  /* 🔑 TEXTE TOUJOURS VISIBLE */
  overflow: visible;
  word-break: break-word;
  white-space: normal;
}

   /* NOTE */


.client-rating {
  margin-top: auto; /* pousse les étoiles en bas */
  font-size: 18px;
  color: #FF6B35;
  letter-spacing: 2px;
}

   /* TABLETTE */


@media (min-width: 768px) {
  .client-card {
    flex: 0 0 50%;
  }

  .section-title {
    font-size: 1.8rem;
  }
}


   /* DESKTOP */


@media (min-width: 992px) {
  .client-card {
    flex: 0 0 33.333%;
  }
}

   /* MOBILE */


@media (max-width: 767px) {
  .clients-section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .client-card img {
    width: 64px;
    height: 64px;
  }

  .client-rating {
    font-size: 16px;
  }
}
/* ================= CERTIFICATIONS SECTION ================= */
.certifications {
    padding: 80px 20px;
    background-color: #ebf5ff;
    color: #0D3B66;
    font-family: 'Inter', sans-serif;
}

.certifications .container {
    margin: 0 auto;
}

/* TITRE */
.certifications .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0D3B66;
}

.certifications .section-sub {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* LOGOS DES CERTIFICATIONS */
.certifications-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.cert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
}

.cert-logo img {
    max-width: 80px;
    margin-bottom: 10px;
}

.cert-name {
    font-size: 0.9rem;
    color: #0D3B66;
    font-weight: 500;
    line-height: 1.3;
}

/* BLOC LÉGAL / MENTIONS */
.cert-legal p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* CENTRAGE */
.text-center {
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .certifications-logos {
        gap: 20px;
    }
    .cert-logo {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .cert-logo {
        width: 100%;
    }
    .certifications {
        padding: 60px 15px;
    }
    .certifications .section-title {
        font-size: 1.7rem;
    }
    .certifications .section-sub {
        font-size: 0.95rem;
    }
}


/* -------------NOS SERVICES--PAGE------------------- */

.hero-services {
  position: relative;

  min-height: clamp(220px, 38vh, 320px);
  padding: 110px 1rem 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;

  background:
    linear-gradient(
      rgba(13, 59, 102, 0.90),
      rgba(13, 59, 102, 0.90)
    ),
    url("images/conso.jpg") center / cover no-repeat;

  border-radius: 0 0 18px 18px;
}

/* conteneur */
.hero-services .container{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  max-width: 850px;
  margin:auto;
}

/* titre */
.hero-title {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  display: inline-block;
}

/* trait orange */
.hero-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #FF6B35;
  margin: 14px auto 0;
  border-radius: 2px;
}
@media (max-width: 768px) {

  .hero-services{
    padding-top: 170px; /* plus d'espace sous le header */
    min-height: 300px;
  }

}


/* ===== SECTION SERVICES ===== */

.services {
  padding: 90px 20px;

  margin-top: -60px;
  background-color: #e4e4e4 !important;
}

.services-subtitle {
  text-align: center;
  font-size: 16px;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto 50px;
}

/* GRID DES CARTES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 30px;
}

/* ===== CARTE SERVICE ===== */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card img {
  width: 100%;
  height: auto;
  display: block;
}
.services-h {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 20px;
    color: #0D3B66;
;

}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 0 10px;
  color: #0D3B66;
}

.service-card p {
  font-size: 14px;
  color: #64748b;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* BOUTON */
.service-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 22px;
  background-color: #FF6B35;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* HOVER SUR CARTE */

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
  }
}


/* ===== AVANTAGES SECTION ===== */

.advantages {
  padding: 90px 0;
  background: #e6effa;
  margin-top: -60px;
}

/* TITRES */
.section-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0 auto 10px; /* centré horizontalement */
  display: block;
  color: #0D3B66;
  text-align: center;
}

.section-sub {
  max-width: 720px;
  margin: 0 auto 55px; /* centré horizontalement */
  color: #64748b;
  font-size: 16px;
  text-align: center;
}

/* GRID */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ===== CARTE GLASS PREMIUM ===== */
.adv-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;

  /* Glass effect */
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);

  transition: all 0.35s ease;

  /* Visible par défaut, pas d'animation scroll */
  opacity: 1;
  transform: translateY(0);
}

/* ===== HOVER ===== */
.adv-card:hover {
  transform: translateY(-6px);
  border: 1px solid #FF6B35;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* ICONE */
.adv-icon {
  font-size: 28px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.12);
  color: #FF6B35;
  border-radius: 12px;
  transition: 0.3s;
}

.adv-card:hover .adv-icon {
  background: #FF6B35;
  color: #fff;
  transform: scale(1.1);
}

/* TEXTE */
.adv-content h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #0D3B66;
}

.adv-content p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* SECTION PROCESSUS */


.services-process {
    background-color: #cbd5e1;
    padding: 70px 20px;
    text-align: center;
    margin-top: 0; /* Retire la marge négative */
}

/* Titre */
.services-process h2 {
    color: #0D3B66;
    font-size: 2rem;
    margin-bottom: 40px; /* Réduit la marge sous le titre */
    font-weight: bold;
}

/* Conteneur des étapes */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    flex-wrap: wrap;
}

/* Ligne de progression (desktop) */
.process-steps::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: #ce3700;
    opacity: 0.30;
    z-index: 0;
}

/* Chaque étape */
.step {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    width: 220px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
    transition: 0.3s;
    margin-bottom: 30px; /* Ajoute un espacement entre les cartes */
}

.step:hover {
    transform: translateY(-5px);
}

/* Numéro rond */
.step-number {
    width: 55px;
    height: 55px;
    background: #0D3B66;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.25);
}

/* Texte */
.step p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 25px;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 320px;
    }
}


 /* ================= FAQ STYLES – KREDITELIT ================= */

.faq {
  padding: 80px 20px;       /* garde le padding interne */
  margin-top: 0;             /* supprime tout écart avec la section précédente */
  background-color: #f9fafb;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}

.faq .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0D3B66;
  margin-bottom: 10px;
}

.faq .section-sub {
  font-size: 1rem;
  margin-bottom: 50px;
  color: #64748b;
}

.faq-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.faq-image {
  flex: 1;
  min-width: 655px;
}

.faq-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-list {
  flex: 1.2;
  min-width: 300px;
}

.faq-item {
  background: #ffffff;
  border: 2px solid #FF6B35;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  color: #0D3B66;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(255, 107, 53, 0.05);
}

.faq-toggle {
  font-size: 1.5rem;
  color: #FF6B35;
  transition: transform 0.3s ease;
}

.faq-item input:checked ~ .faq-question .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #fdf7f2;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 500px; /* suffisant pour plusieurs lignes */
  padding: 15px 20px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #64748b;
  font-size: 0.95rem;
}

/* BOUTONS (si intégrés dans les réponses) */
.faq-answer a {
  display: inline-block;
  margin-top: 12px;
  background-color: #FF6B35;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-answer a:hover {
  background-color: #e55b2a;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .faq-flex {
    flex-direction: column;
  }

  .faq-image, .faq-list {
    min-width: 100%;
  }
}


/* ===== SECTION ABOUT ===== */

.cap-about {
  padding: 90px 20px;
  background: #ffffff;
  margin-top: -125px;
}

.title1 {
  text-align: center;
}

.text1 {
  text-align: center;
  color: #64748b;
}

.cap-container {
  max-width: 1150px;
  margin: 0 auto;
}

/* ===== LIGNES STRUCTURE ===== */

.cap-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 85px 0;
}

/* Ligne verticale élégante */
.cap-row::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, #e3e8ee, transparent);
}

.cap-row.reverse {
  flex-direction: row-reverse;
}

/* ===== IMAGE ===== */

.cap-img {
  flex: 1;
}

.cap-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* ===== TEXTE ===== */

.cap-content {
  flex: 1;
}

.cap-title {
  font-size: 34px;
  color: #0D3B66;
  margin-bottom: 20px;
  font-weight: 700;
}

.cap-subtitle {
  font-size: 26px;
  color: #0D3B66;
  margin-bottom: 15px;
  font-weight: 600;
}

/* PARAGRAPHES UNIQUEMENT */
.cap-text {
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 15.5px;
}

/* ===== LISTES AVEC FLECHES ===== */

.cap-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.cap-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: inherit;
  font-size: 15.5px;
}

/* Flèche colorée */
.cap-list li::before {
  content: "➜";
  position: absolute;
  left: 0;
  top: 0;
  color: #FF6B35;
  font-weight: bold;
}

/* ===== BOUTON ===== */

.cap-btns {
  margin-top: 18px;
}

.cap-btn-primary {
  background: #FF6B35;
  color: #fff;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.25s;
}

/* ===== NOTE CLIENTS ===== */

.trust-rating {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.rating-box {
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 520px;
}

/* Etoiles */
.stars {
  font-size: 26px;
  color: #f59e0b;
  margin-bottom: 8px;
}

/* Texte note = paragraphe */
.rating-text {
  color: #64748b;
  margin-bottom: 15px;
}

/* Barre */
.rating-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.rating-fill {
  width: 98%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

  .cap-row,
  .cap-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }

  .cap-row::after {
    display: none;
  }

  .cap-img img {
    max-width: 520px;
    margin: 0 auto;
  }

  .cap-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}



/* POUR LA PAGE CONTACT */



/* ================= CONTACT SECTION ================= */


/* SECTION CONTACT */

.contact-wraper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f9fafb;
  color: #64748b;
  font-family: 'Inter', sans-serif;

  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* BLOCS */

.contact-form,
.contact-info {
  flex: 1 1 400px;
  min-width: 0; /* IMPORTANT pour mobile */
}

/* TITRES */

.titre {
  color: #0D3B66;
  font-weight: bold;
  text-align: center;
}

.lws {
  text-align: center;
}

/* FORMULAIRE */

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #0D3B66;
}

.contact-form input,
.contact-form textarea {
  width: 100%; /* IMPORTANT */
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #0D3B66;
  background-color: #fff;

  box-sizing: border-box;

  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* BOUTON */

.contact-form .btn {
  background-color: #FF6B35;
  color: #fff;
  padding: 14px 25px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;

  transition: background-color 0.3s, transform 0.2s;
}

/* INFO CONTACT */

.contact-info {
  background-color: #0D3B66;
  color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
}

.contact-info h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 12px;
  line-height: 1.6;

  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-info strong {
  color: #FF6B35;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media screen and (max-width: 900px) {

  .contact-wraper {
    flex-direction: column;
    gap: 30px;
  }

}

@media screen and (max-width: 600px) {

  .contact-wraper{
    padding: 40px 15px;
  }

  .contact-info{
    padding: 25px 20px;
  }

}

@media screen and (max-width: 500px) {

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-info h2 {
    font-size: 1.4rem;
  }

}

/* ===================== SECTION HK ===================== */

.hk-section {
  padding: 80px 20px;               /* espace haut/bas et latéral */
  background-color: #e6effa;        /* couleur de fond, tu peux changer */
  color: #0B2F56;                       /* texte blanc */
  text-align: center;                /* centre tout le texte */
  font-family: 'Inter', sans-serif; /* police moderne */
}

.hk-section .container {
  max-width: 1200px;  /* largeur max pour ne pas toucher les bords */
  margin: 0 auto;    /* centre le conteneur */
  padding: 0 15px;   /* petit padding intérieur pour mobile */
}

/* ===== TITRE ===== */
.hk-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ===== SOUS-TITRE ===== */
.hk-sub {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #64748b;
  line-height: 1.5;
}

/* ===== BOUTON ===== */
.hk-btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #FF6B35;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  margin-bottom: 20px;
}

/* ===== NOTE ===== */
.hk-note {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hk-title {
    font-size: 2rem;
  }
  
  .hk-sub {
    font-size: 1rem;
  }

  .hk-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .hk-note {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hk-section {
    padding: 60px 15px;
  }

  .hk-title {
    font-size: 1.8rem;
  }

  .hk-sub {
    font-size: 0.95rem;
  }
}

/* ===== SECTION FORMULAIRE ===== */

.loan-form-section {
  background: url('images/credit.jpeg') no-repeat center center; /* image de fond */
  background-size: cover;
  padding: 100px 20px;
  font-family: "Inter", sans-serif;
  text-align: center;
  margin-top: -60px;
}

/* TITRE ET PARAGRAPHE */
.loan-header {
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #0f172a;
}

.loan-h1 {
  font-size: 36px;
  color: #0D3B66;
  margin-bottom: 10px;
  font-weight: 700;
}

.loan-h2 {
  font-size: 28px;
  color: #0D3B66;
  margin-bottom: 15px;
  font-weight: 600;
}

.loan-paragraph {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* FORMULAIRE */
.loan-form {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  background: rgba(254, 254, 254, 0.9); /* fond semi-transparent pour voir l’image */
  padding: 60px 50px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* GROUPE DE CHAMPS */

.form-group {
  display: flex;
  flex-direction: column;
}

/* LABEL */
.form-group label {
  font-weight: 600;
  color: #0D3B66;
  margin-bottom: 8px;
}

/* INPUT / SELECT */
.form-input,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: 2px solid #0D3B66; /* contour bleu par défaut */
  font-size: 16px;
  color: #64748b; /* texte saisi */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input::placeholder,
.form-select option {
  color: #64748b; /* placeholder couleur texte */
}

.form-input:focus,
.form-select:focus {
  border-color: #FF6B35; /* contour orange au focus */
  box-shadow: 0 0 5px rgba(255,107,53,0.5);
  outline: none;
}

/* BOUTON */
.loan-btn {
  background: #FF6B35;
  color: #fff;
  font-weight: 600;
  padding: 18px 25px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .loan-form {
    max-width: 85%;
    padding: 50px 40px;
  }
}

@media (max-width: 1024px) {
  .loan-form {
    max-width: 90%;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .loan-form-section {
    padding: 70px 15px;
  }

  .loan-h1 {
    font-size: 28px;
  }

  .loan-h2 {
    font-size: 22px;
  }

  .loan-paragraph {
    font-size: 15px;
  }

  .loan-form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .loan-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}



/* ================= FOOTER ================= */
.site-footer {
  background-color: #e8e8e8;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  padding: 50px 20px 0;

  overflow-x: hidden; /* empêche tout débordement */
}

/* CONTENEUR PRINCIPAL */

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  width: 100%;
  box-sizing: border-box;
}

/* COLONNES */

.contact-info,
.footer-links,
.footer-legal {
  flex: 1 1 220px;
  min-width: 0;
}

/* ==== CONTACT ==== */

.contact-info h2 {
  color: #FF6B35;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

/* liens */

.contact-info a {
  color: #FF6B35;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* empêcher débordement texte */

.contact-info p,
.contact-info a,
.footer-links a,
.footer-legal a {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ==== TITRES ==== */

.footer-section-title {
  color: #FF6B35;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* ==== LISTES ==== */

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-legal li {
  margin: 6px 0;
  position: relative;
  padding-left: 18px;
}

/* POINT ORANGE */

.footer-links li::before,
.footer-legal li::before {
  content: "•";
  color: #FF6B35;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  line-height: 1;
}

/* LIENS */

.footer-links a,
.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #FF6B35;
}

/* ==== FOOTER BAS ==== */

.footer-bottom {
  background-color: #0B2F56;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding: 20px 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #d9dbde;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

/* TABLETTE */

@media (max-width:1024px){

  .footer-container{
    flex-direction: column;
    gap: 30px;
  }

  .contact-info,
  .footer-links,
  .footer-legal{
    width:100%;
  }

}

/* MOBILE */

@media (max-width:768px){

  .contact-info h2{
    font-size:1.3rem;
  }

  .footer-section-title{
    font-size:1.1rem;
  }

}

/* PETIT MOBILE */

@media (max-width:480px){

  .site-footer{
    padding:40px 15px 0;
  }

  .footer-container{
    gap:20px;
  }

  .footer-bottom{
    font-size:0.85rem;
    padding:15px 10px;
  }

}
/* ------------------------- IMPRESSUM ------------------------ */

.impressum-main {
    background: #eeeeee;
    padding: 140px 20px 70px 20px; /* espace pour le header */
    color: #64748b;
}

/* container lecture confortable */

.impressum-main .container{
    max-width:900px;
    margin:auto;
}

/* couleurs utilitaires */

.span{
  color:#f35b24;
}

.strong{
  color:#0D3B66;
}

/* titres */

.impressum-main h1 {
    font-size:2rem;
    color:#0D3B66;
    margin-bottom:20px;
    text-align:center;
    font-weight:bold;
}

.impressum-main h2 {
    font-size:1.4rem;
    color:#0D3B66;
    margin-top:30px;
    margin-bottom:10px;
    position:relative;
    font-weight:bold;
}

.impressum-main h2::after {
    content:"";
    width:50px;
    height:3px;
    background:#f35b24;
    display:block;
    margin-top:5px;
    border-radius:2px;
}

/* texte */

.impressum-main p {
    margin-bottom:15px;
    font-size:1rem;
    color:#5c6b80;
    line-height:1.7;
}

/* bloc adresse */

.impressum-main address {
    font-style:normal;
    line-height:1.6;
    background-color:#f9fbfd;
    padding:15px 20px;
    border-left:5px solid #FF6B35;
    border-radius:6px;
    margin-bottom:20px;
}

/* liens */

.impressum-main a {
    color:#FF6B35;
    text-decoration:none;
    font-weight:500;
}

.impressum-main a:hover {
    text-decoration:underline;
}

/* ------------------------- RESPONSIVE ------------------------ */

@media (max-width:768px){

.impressum-main{
padding:160px 15px 50px 15px;
}

.impressum-main h1{
font-size:1.7rem;
}

.impressum-main h2{
font-size:1.25rem;
}

}

@media (max-width:480px){

.impressum-main{
padding:180px 14px 40px 14px;
}

.impressum-main p{
font-size:0.95rem;
}

}


/* =============================
   AGB SECTION STYLE (RESPONSIVE)
============================= */

.agb-section {
    background-color: #f5f7fa;
    padding: 140px 20px 60px 20px; /* espace pour le header */
    color: #1f2937;
    font-family: 'Inter', Arial, sans-serif;
}

/* Conteneur centré pour lisibilité */
.agb-section .container {
    max-width: 900px;
    margin: 0 auto;
}

/* =============================
   HEADER
============================= */

.agb-section .page-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 60px);
}

.agb-section .page-header h1 {
    color: #0B2F56;
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.agb-section .subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: #FF6B35;
    font-weight: 500;
    opacity: 0.85;
}

/* =============================
   CONTENU
============================= */

.agb-main section {
    margin-bottom: clamp(30px, 4vw, 50px);
}

.agb-main h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    color: #0B2F56;
    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
}

.agb-main h2::after {
    content: "";
    width: 48px;
    height: 3px;
    background-color: #FF6B35;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

.agb-main h3 {
    font-size: clamp(1.05rem, 3vw, 1.15rem);
    margin-top: 24px;
    margin-bottom: 10px;
    color: #0D3B66;
    font-weight: 600;
}

.agb-main p,
.agb-main ul,
.agb-main li {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.65;
    margin-bottom: 12px;
    color: #64748b;
}

/* Listes */

.agb-main ul {
    padding-left: 18px;
}

.agb-main li {
    margin-bottom: 8px;
}

/* Liens */

.agb-main a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
}

.agb-main a:hover {
    text-decoration: underline;
}

/* =============================
   MOBILE
============================= */

@media (max-width:768px){

.agb-section{
padding:160px 15px 40px 15px;
}

}

@media (max-width:480px){

.agb-section{
padding:180px 14px 36px 14px;
}

.agb-section .page-header{
margin-bottom:28px;
}

.agb-main ul{
padding-left:14px;
}

}

/* PRIVACY SECTION STYLE */

.privacy-section {
    background-color: #f5f7fa;
    padding: 140px 20px 60px 20px; /* espace augmenté sous le header */
    color: #1f2937;
    font-family: 'Inter', Arial, sans-serif;
}

/* Container pour meilleure lecture */
.privacy-main {
    max-width: 900px;
    margin: auto;
}

/* Header page */

.privacy-section .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-section .page-header h1 {
    color: #0D3B66;
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.privacy-section .subtitle {
    font-size: 1rem;
    color: #FF6B35;
    font-weight: 500;
    opacity: 0.85;
}

/* Sections */

.privacy-main section {
    margin-bottom: 40px;
}

.privacy-main h2 {
    font-size: 1.5rem;
    color: #0D3B66;
    margin-bottom: 15px;
    position: relative;
    font-weight: bold;
}

.privacy-main h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background-color: #FF6B35;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

.privacy-main h3 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #FF6B35;
    font-weight: bold;
}

.privacy-main p,
.privacy-main ul,
.privacy-main li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #58697f;
}

.privacy-main ul {
    padding-left: 20px;
}

.privacy-main li {
    margin-bottom: 8px;
}

.privacy-main a {
    color: #FF6B35;
    text-decoration: none;
}

.privacy-main a:hover {
    text-decoration: underline;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    .privacy-section {
        padding: 170px 15px 40px 15px;
    }

    .privacy-section .page-header h1 {
        font-size: 1.9rem;
    }

    .privacy-main h2 {
        font-size: 1.3rem;
    }

    .privacy-main h3 {
        font-size: 1rem;
    }

    .privacy-main p,
    .privacy-main li {
        font-size: 0.95rem;
    }

}

/* ...........bouton scroll............ */

.scroll-top, .scroll-bottom {
  position: fixed;
  right: 18px;
  width: 34px;          /* cercle plus petit */
  height: 34px;
  background-color: #FF6B35;
  color: #fff;
  text-align: center;
  line-height: 34px;    /* centrer l'icône */
  border-radius: 50%;
  font-size: 1.1rem;    /* icône plus fine */
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18); /* ombre plus légère */
  transition: background 0.25s ease, transform 0.2s ease;
  border: 2px solid rgba(255,255,255,0.7);
}

.scroll-top:hover, 
.scroll-bottom:hover {
  background-color: #0D3B66;
  transform: scale(1.08);
  
}

.scroll-top {
  bottom: 70px;
}

.scroll-bottom {
  bottom: 20px;
  
}



/* ------------ MERCI.PHP ------------- */

.merci-section {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 60px 20px; /* espace pour header */
    
    /* AJOUTER L'IMAGE DE FOND */
    background-image: url("images/bureau.jpg"); /* ou ton chemin correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay sombre */

.merci-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

/* Carte */

.merci-box {
    position: relative;
    max-width: 620px;
    width: min(620px, 95%);
    background: #ffffff;
    padding: 55px 45px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    z-index: 2;
    animation: fadeUp 0.6s ease;
}

/* Titre */

.merci-box h1 {
    color: #0D3B66;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 600;
}

/* Texte */

.merci-box p {
    color: #58697f;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 16px;
}

/* Bouton */

.btn-retour {
    margin-top: 30px;
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    background: #FF6B35;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-retour:hover {
    background: #c33e0e;
    transform: translateY(-2px);
}

/* Animation */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ---------- TABLETTE ---------- */

@media (max-width: 992px) {

    .merci-box {
        padding: 45px 35px;
    }

    .merci-box h1 {
        font-size: 26px;
    }

}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .merci-section {
        padding: 300px 22px 55px 22px;
    }

    .merci-box {
        padding: 35px 25px;
        border-radius: 10px;
        width: 100%;
    }

    .merci-box h1 {
        font-size: 22px;
    }

    .merci-box p {
        font-size: 15px;
    }

    .btn-retour {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

}

   /* MAIN – LEGAL CONTENT */

#main-content {
  padding: 140px 1rem 4rem 1rem; /* espace pour le header */
  background-color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
}

/* Conteneur centré */

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.65;
}


   /* TITRE PRINCIPAL */


.legal-content > header h1 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #0D3B66;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

   /* SECTIONS */


.legal-content section {
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  color: #0D3B66;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}


   /* LISTES */


.legal-content ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding: 0;
}

.legal-content li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 0.5rem;
}

.legal-content li::marker {
  color: #FF6B35;
}


   /* RESPONSIVE */


@media (max-width: 480px) {
  #main-content {
    padding-top: 160px; /* égal ou un peu plus que la hauteur du header */
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-bottom: 2rem;
  }

  .legal-content {
    padding: 0 0.5rem;
  }

  .legal-content > header h1 {
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .legal-content p,
  .legal-content li {
    font-size: 0.95rem;
  }

  .legal-content ul {
    padding-left: 1rem;
  }

}