body {
  font-family: "Poppins", sans-serif;
  background: #f4f6f8;
  margin: 0;
  padding: 0;
}
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero__img {
    position: absolute;
    inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;          /* couvre le conteneur sans déformer */
    object-position: center;
    z-index: 0;
    pointer-events: none;       /* laisse le clic sur le contenu si besoin */
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

/* responsive adjustments */
@media (max-width: 768px) {
    .hero { min-height: 40vh; }
    .hero__content { padding: 0.8rem; }
}


.apropos-content h1 {
 
 
  font-size: 1.5rem;     /* Taille du texte */
  margin-top: 330px;      /* Espace au-dessus pour descendre le texte */
  margin-bottom: 10px;   /* Espace en dessous */
  line-height: 1.3;      /* Hauteur de ligne */
  padding-top: 10px;     /* Optionnel : ajoute encore plus d’espace */
}



.apropos-content p {
  font-size: 1.1rem;
  margin-bottom: 0;
}



.mastercard-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mastercard-info {
  flex: 1;
  min-width: 300px;
}

.mastercard-info h1 {
  font-size: 2em;
  color: #0073e6;
  margin-bottom: 20px;
}

.mastercard-info h3 {
    font-size: 1em;
    color: #0073e6;
    margin-bottom: 20px;
}

.mastercard-info p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.mastercard-info ul {
  list-style-type: none;
  padding-left: 20px;
  color: #444;
}

.mastercard-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mastercard-form h2 {
  font-size: 1.5em;
    color: #0073e6;
  margin-bottom: 20px;
}

.mastercard-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}

.mastercard-form input,
.mastercard-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.mastercard-form textarea {
  resize: vertical;
  min-height: 100px;
}

.mastercard-form button {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition:  0.3s ease;
}

.mastercard-image img {
  max-width: 500px;  /* largeur maximale de l'image */
  width: 400%;       /* permet à l'image de s'adapter sur mobile */
  height: auto;      /* conserve les proportions */
  border-radius: 12px;
  
  margin: -1px;
}

.jjk {
    display: flex;                 /* active flexbox */
    justify-content: center;       /* centre horizontalement */
    align-items: center;           /* centre verticalement */
    height: 10vh;                 /* facultatif : centre verticalement dans toute la page */
}

.jjk img {
    max-width: 100px;              /* largeur maximale */
    width: 100%;                   /* s’adapte à l’écran */
    height: auto;                  /* garde les proportions */
    border-radius: 10px;           /* optionnel : coins arrondis */
}


.mastercard-form button:hover {
  background-color: #0073e6;
}

/* Responsive */
@media (max-width: 768px) {
  .mastercard-section .container {
    flex-direction: column;
  }
}

.three-boxes .container {
  display: flex;
  flex-wrap: wrap; /* pour mobile */
  gap: 20px;       /* espace entre les boîtes */
  justify-content: center;
  padding: 40px 20px;
}

.three-boxes .box {
  flex: 1;
  min-width: 250px;      /* largeur minimale pour mobile */
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.three-boxes .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.three-boxes .box h2 {
  font-size: 1.5em;
  color: #0073e6;
  margin-bottom: 15px;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 5px;
}

.three-boxes .box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.three-boxes .box li {
  padding: 5px 0;
  color: #444;
}

/* Responsive : sur petit écran, les boîtes passent en colonne */
@media (max-width: 768px) {
  .three-boxes .container {
    flex-direction: column;
    align-items: center;
  }
}

