/* ======== HEADER AVEC IMAGE ======== */
.header {
  position: relative;
  height: 700px;
  background: url("../image/banner_image-1.png") center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.headers {
  position: relative;
  height: 500px;
  background: linear-gradient(to right, #0d112b, #082bf5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ======== NAVIGATION ======== */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 80px; /* 👈 espace sur les côtés */
  padding-left: 350px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 10;
  box-sizing: border-box;
}


.nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 1.2rem;
}

/* ======== LOGO ======== */
.logo {
  position: absolute;
  top: 45px;
  left: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  z-index: 1001;
}

/* ======== BOUTON CRÉDIT ======== */
.btn-credit {
  margin-left: auto; /* pousse le bouton à droite */
  background: #0026ff;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-credit:hover {
  background: transparent;
  border: 2px solid #ffffff;
}

/* ======== DROPDOWN ======== */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #0c25b4e0;
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 20;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: rgba(25, 118, 210, 0.8);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ======== BANNIÈRE TEXTE ======== */
.banner {
  text-align: left;
  margin-top: 100px;
  margin-left: 30px;
  
}

.banners {
  text-align: left;
  margin-top: 200px;
  margin-left: 30px;
  
}

/* Voile transparent au-dessus de l'image */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 4, 27, 0.753); /* noir avec transparence 45% */
  z-index: 1;
}

.banners::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 8, 27, 0.45); /* noir avec transparence 45% */
  z-index: 1;
}

.banner h1 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.2;
  padding: 0 20px;
}

.banner h2 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px;
  margin-top: 20px;
}

.banners h2 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px;
  margin-top: 20px;
}

.banner h3 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px;
  margin-top: 0px;
}

.banner .btn-credit {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  top: 50px;
  left: 20px;
}


/* ======== MENU MOBILE ======== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 100;
}

@media (max-width: 768px) {

.logo {
    display: block;
    top: 25px;
    left: 20px;
    font-size: 1.4rem;
    z-index: 1001;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
  flex-direction: column;
  background: #0c25b4e0;
  position: absolute;
  top: 60px;
  left: 0px;
  right: 0; 
  display: none;
  padding: 20px 20px;
}

  .nav.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background: #0c25b4e0;
    box-shadow: none;
  }

  .dropdown-content a {
    padding-left: 0px;
  }

  .btn-credit {
  margin-left: 0;
  text-align: center;
  width: 100%;
}

.banner h1 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 1rem;
  font-weight: 100;
  line-height: 1.2;
  padding: 0 20px;
}

.banner h2 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px;
  margin-top: 20px;
}

.banner h3 {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px;
  margin-top: 0px;
}

.banner .btn-credit {
  position: relative;
  z-index: 2; /* passe au-dessus du voile */
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  top: 50px;
  left: 20px;
}

}

/* ======== SECTION INTRO ======== */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 100px;
  background: #ffffff; /* léger fond clair */
  color: #333;
  flex-wrap: wrap; /* s’adapte sur mobile */
}

.intro-left {
  flex: 0.2;
  min-width: 300px;
}

.intro-left h2 {
  font-size: 5rem;
  color: #000000;
  margin-bottom: 15px;
}

.intro-right {
  flex: 0.8;
  min-width: 300px;
}

.intro-right h3 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: 600;
}

.intro-right h1 {
  color: #837f7f;
  margin-bottom: 10px;
  font-size: 1.5rem;
  text-align: center;
}

.intro-right ul {
  list-style: none;
  padding: 0;
}

.intro-right li {
  margin-bottom: 8px;
  font-size: 2rem;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    padding: 40px 20px;
  }

  .intro-left, .intro-right {
    width: 100%;
  }
}

.image-section {
  width: 100%;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ======== SECTION GRILLE ======== */
.grid-section {
  padding: 60px 80px;
  background: #f8f9fa;
  text-align: center;
  box-sizing: border-box;
}

/* --- Texte d’intro avant les grilles --- */
.grid-intro {
  max-width: 1500px;
  margin: 0 auto 50px auto;
}

.grid-intro h2 {
  font-size: 1.5rem;
  color: #0026ff;
  margin-bottom: 15px;
}

.grid-intro h1 {
  font-size: 4rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 15px;
}

.grid-intro p {
  text-align: left;
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* --- Grille principale --- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2 colonnes sur grand écran */
  gap: 30px;
}

.grid-item {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item i {
  font-size: 3rem;
  color: #0026ff;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.grid-item h3 {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
}

.grid-item p {
  color: #555;
  font-size: 1.3rem;
  line-height: 1.6;
}

.grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.grid-item:hover i {
  color: #1f308f;
}

/* ======== Responsive ======== */

/* ✅ Jusqu’à 900px → reste horizontal avec 2 colonnes */
@media (max-width: 900px) {
  .grid-section {
    padding: 50px 40px;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .grid-intro h1 {
    font-size: 3rem;
  }

  .grid-intro p {
    font-size: 1.2rem;
  }
}

/* ✅ Sous 600px → tout passe en colonne (1 seul bloc par ligne) */
@media (max-width: 600px) {
  .grid-section {
    padding: 40px 20px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-item {
    text-align: center;
    padding: 25px 20px;
  }

  .grid-item i {
    font-size: 2.5rem;
  }

  .grid-intro h1 {
    font-size: 2.5rem;
  }

  .grid-intro p {
    font-size: 1.1rem;
  }
}


/* ======== SECTION NEED LOAN ======== */
.needloan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 80px 100px;
  background: #ffffff;
  color: #333;
  flex-wrap: nowrap; /* ✅ reste horizontal jusqu’à petit écran */
  box-sizing: border-box;
  overflow: hidden; /* ✅ évite les débordements */
}

.needloan-left {
  flex: 0.45;
  min-width: 300px;
}

.needloan-right {
  flex: 0.55;
  min-width: 300px;
}

.needloan-right h3 {
  color: #000;
  margin-top: 0;
  font-size: 3.5rem;
  font-weight: 700;
}

.needloan-right h1 {
  color: #0026ff;
  margin-bottom: 15px;
  font-size: 1.7rem;
  text-align: left;
}

.needloan-right h2 {
  color: #555;
  margin-top: 5px;
  font-size: 1.3rem;
}

/* ======== Responsive (jusqu’à 900px) ======== */
@media (max-width: 900px) {
  .needloan {
    gap: 30px;
    padding: 60px 40px;
  }

  .needloan-left {
    flex: 0.5;
  }

  .needloan-left img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .needloan-right h3 {
    font-size: 3rem;
  }

  .needloan-right h1 {
    font-size: 1.4rem;
  }

  .needloan-right h2 {
    font-size: 1.2rem;
  }
}

/* ======== Très petit écran (en dessous de 600px) ======== */
@media (max-width: 600px) {
  .needloan {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 25px;
    padding: 40px 20px;
  }

  .needloan-left,
  .needloan-right {
    width: 100%;
  }

  .needloan-right h3 {
    font-size: 2.2rem;
  }

  .needloan-right h1 {
    font-size: 1.2rem;
  }

  .needloan-right h2 {
    font-size: 1rem;
  }
}

/* ===== FORMULAIRE DE CRÉDIT ===== */

.credit-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #0026ff;
  outline: none;
}

.btn-submit {
  grid-column: span 2;
  background: #0026ff;
  color: #fff;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #001a99;
}


/* ======== SECTION STATS ======== */
.stats-section {
  background: #ffffff;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ✅ empêche le débordement horizontal */
  box-sizing: border-box;
}

.stats-container {
  display: flex;
  flex-direction: row; /* ✅ Toujours horizontal par défaut */
  justify-content: space-around;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  width: 90%;
  max-width: 2000px;
  padding: 40px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  text-align: center;
  gap: 20px;
  flex-wrap: nowrap; /* ✅ Empêche le passage à la ligne jusqu’à très petit écran */
}

.stat-box {
  flex: 1;
  min-width: 160px;
  color: #000000;
  padding: 10px;
}

.number {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.stat-box p {
  font-size: 1.3rem;
  margin: 0;
  color: #0026ff;
}

/* ======== Hover effect ======== */
.stat-box:hover .number {
  transform: scale(1.05);
  color: #001a80;
}

/* ======== Responsive ======== */
@media (max-width: 900px) {
  /* ✅ reste horizontal mais réduit les tailles */
  .number {
    font-size: 3rem;
  }

  .stat-box p {
    font-size: 1.1rem;
  }

  .stats-container {
    gap: 15px;
    padding: 30px 15px;
  }
}

/* ======== Très petit écran ======== */
@media (max-width: 600px) {
  /* ✅ Passe en colonne uniquement ici */
  .stats-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 95%;
    padding: 25px 15px;
  }

  .number {
    font-size: 2.5rem;
  }

  .stat-box p {
    font-size: 1rem;
  }
}

.testimonial-section {
  background: #003481;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 50px;
  font-weight: 700;
}

.testimonial-container {
  max-width: 700px;
  margin-top: 0;
  margin: 0 auto;
  position: relative;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #ffffff;
  min-height: 80px;
  margin-bottom: 30px;
  transition: opacity 0.5s ease;
}

.testimonial-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin-bottom: 10px;
  transition: opacity 0.5s ease;
}

.testimonial-name {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #0d47a1;
}

/* ======== SECTION GRID ======== */
.grid-sections {
  padding: 60px 80px;
  background: #f8f9fa;
  text-align: center;
  overflow: hidden; /* ✅ empêche tout débordement horizontal */
  box-sizing: border-box;
}

.grid-containers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-items {
  background: #fff;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-items img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}

.grid-items h3 {
  font-size: 1.5rem;
  color: #000;
  margin: 20px;
}

.grid-items:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.grid-items:hover i {
  color: #1f308f;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .grid-containers {
    grid-template-columns: 1fr 1fr; /* ✅ deux colonnes sur tablette */
  }

  .grid-items img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .grid-containers {
    grid-template-columns: 1fr; /* ✅ une seule colonne sur mobile */
  }

  .grid-sections {
    padding: 40px 20px;
  }

  .grid-items img {
    height: 250px;
  }

  .grid-items h3 {
    font-size: 1.2rem;
  }
}


/* ======== SECTION APPLY ======== */
.apply {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 60px 80px;
  background: linear-gradient(to right, #0d112b, #051fb6);
  color: #ffffff;
  flex-wrap: wrap; /* utile si l’espace est limité */
  overflow: hidden; /* ✅ empêche tout débordement */
  box-sizing: border-box;
}

.apply-left {
  flex: 0.7;
  min-width: 250px;
}

.apply-left h2 {
  font-size: 3rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.apply-right {
  flex: 0.3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 200px;
}

.btn-apply {
  background: #ffffff;
  color: #000;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .apply {
    flex-direction: column; /* affichage vertical */
    text-align: center;
    padding: 40px 20px;
  }

  .apply-left {
    flex: 1;
    width: 100%;
  }

  .apply-left h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .apply-right {
    flex: 1;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .btn-apply {
    width: auto;
  }
}


.footer {
  background: #ffffff;
  color: white;
  padding: 60px 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3{
  margin-bottom: 15px;
  color: #000000;
  font-size: 1.5rem;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: #000000;
  font-size: 1.3rem;
}

.footer-section p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #000000;
}

.footer-section ul {
  list-style: none;
  line-height: 1.4;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  color: #000000;
}

.footer-section ul li a {
  color: #5e5e5e;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.5rem;
}

.footer-section ul li a:hover {
  color: #0026ff;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #000000;
}

/* ✅ Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== FORMULAIRE EN UNE COLONNE ===== */
.loan-form-section {
  background: #f9f9fc;
  padding: 80px 100px;
  text-align: center;
}

.loan-form-section h2 {
  color: #0026ff;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.loan-form.one-column {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #0026ff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 38, 255, 0.2);
}

.form-group-message {
  text-align: left;
}

.form-group-message label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
}

.form-group-message input {
  width: 100%;
  padding: 100px 15px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group-message input:focus {
  border-color: #0026ff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 38, 255, 0.2);
}

/* Bouton */
.btn-submit {
  background: #0026ff;
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #0a35ff;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .loan-form-section {
    padding: 60px 30px;
  }

  .loan-form.one-column {
    padding: 30px 25px;
  }
}

/* ======== SECTION LOAN ======== */
.loan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 80px 100px;
  background: #ffffff;
  color: #333;
  flex-wrap: nowrap; /* ✅ reste horizontal jusqu’à petit écran */
  box-sizing: border-box;
  overflow: hidden; /* ✅ évite les débordements */
}

.btn-submit-app {
  background: #0026ff;
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.loan-right {
  flex: 0.45;
  min-width: 300px;
}

.loan-right img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

.loan-left {
  flex: 0.55;
  min-width: 300px;
}

.loan-left h3 {
  color: #000;
  margin-top: 0;
  font-size: 3.5rem;
  font-weight: 700;
}

.loan-left h1 {
  color: #0026ff;
  margin-bottom: 15px;
  font-size: 1.7rem;
  text-align: left;
}

.loan-left h2 {
  color: #555;
  margin-top: 5px;
  font-size: 1.3rem;
}

/* ======== Responsive (jusqu’à 900px) ======== */
@media (max-width: 900px) {
  .loan {
    gap: 30px;
    padding: 60px 40px;
  }

  .loan-right {
    flex: 0.5;
  }

  .loan-right img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .loan-left h3 {
    font-size: 3rem;
  }

  .loan-left h1 {
    font-size: 1.4rem;
  }

  .loan-left h2 {
    font-size: 1.2rem;
  }
}

/* ======== Très petit écran (en dessous de 600px) ======== */
@media (max-width: 600px) {
  .loan {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 25px;
    padding: 40px 20px;
  }

  .loan-left,
  .loan-right {
    width: 100%;
  }

  .loan-left h3 {
    font-size: 2.2rem;
  }

  .loan-left h1 {
    font-size: 1.2rem;
  }

  .loan-left h2 {
    font-size: 1rem;
  }
}