body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* --- Barre de navigation avec logo centré --- */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(220, 240, 255, 0.9); /* bleu clair */
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column; /* logo au-dessus des liens */
  align-items: center;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 100px;
  width: auto;
  margin-bottom: 0.5rem;
}

/* Liens de navigation */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00bcd4;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00bcd4;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #00bcd4;
}

/* --- Présentation --- */
.presentation {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.presentation h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.presentation p {
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #333;
}

/* --- Section plateformes --- */
.plateformes {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.categorie {
  font-size: 1.6em;
  color: #0077cc;
  margin: 50px 0 20px;
  border-left: 5px solid #0077cc;
  padding-left: 10px;
}

.carte-plateforme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo-plateforme {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.description {
  flex: 1;
  text-align: left;
  padding: 0 20px;
}

.action {
  text-align: right;
  min-width: 150px;
}

.btn {
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #005fa3;
}

.code-bonus {
  margin-top: 8px;
  font-size: 0.9em;
  color: #555;
}

/* --- Pied de page --- */
footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 25px;
  margin-top: 60px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .carte-plateforme {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .description {
    padding: 15px 0;
  }

  .action {
    text-align: center;
  }

  .logo-plateforme {
    margin-right: 0;
    margin-bottom: 15px;
    width: 80px;
  }
}



.empty-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.message-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeIn 1s ease;
}

.message-box h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
}

.message-box p {
  margin: 0.3rem 0;
  color: black;
}

.subtext {
  font-size: 0.95rem;
  color: #94a3b8;
}





.promo-parrainage {
  background: linear-gradient(90deg, #e0e7ff, #eef2ff);
  border-left: 4px solid #4f46e5;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  max-width: 600px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
  .promo-parrainage {
    background: linear-gradient(90deg, #312e81, #1e1b4b);
    border-left-color: #818cf8;
    color: #f1f5f9;
  }
}



/* style.css */
.contact {
  max-width: 600px;
  margin: 60px auto;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}




main.article {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
  margin: 40px auto; /* espace en haut/bas + centrage horizontal */
  width: 90%;        /* laisse de l’espace à gauche et à droite */
  max-width: 900px;  /* limite la largeur pour la lecture */
}

.blog-container {
  max-width: 900px;     /* largeur du bloc */
  margin: 40px auto;    /* centre horizontalement et ajoute de l’air autour */
  padding: 0 30px;      /* marge intérieure à gauche et droite */
}

/* Espace entre les sections du blog */
.article section {
  margin-bottom: 32px;
}

/* Espace entre le titre principal et le premier encadré */
h1.page-title {
  font-size: 26px;
  margin: 20px 0 24px;
}

/* Encadrés titres */
.title-box {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  margin: 0 0 18px 0;
  background: linear-gradient(90deg, #d9f1ff 0%, #bcdfff 50%, #9cc2ff 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.02), 0 4px 12px rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.15);
  color: #000;
  font-weight: 600;
  font-size: 18px;
}

/* Variante plus foncée */
.title-box--dark {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
  color: #000;
  border: 1px solid rgba(2, 6, 23, 0.06);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 14px; /* <-- espace sous les titres sombres */
}

/* Cartes de contenu */
.card {
  background: #f8fbff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.06);
}

/* Liste à puces et textes */
p { margin: 0 0 14px; }
ul.checks { padding-left: 20px; margin: 0 0 10px; }
li { margin-bottom: 8px; }

/* Meta et badge */
.meta { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e0f2fe, #bae6fd);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 640px) {
  main.article { margin: 20px 12px; padding: 20px; }
  .title-box { font-size: 16px; padding: 10px 14px; }
  h1.page-title { font-size: 22px; }
}

pre { background: #0b1220; color: #e6eef8; padding: 12px; border-radius: 8px; overflow: auto; }
a { color: #0b3b88; text-decoration: underline; }
.footer { margin-top: 30px; }
.footer p { margin-bottom: 6px; }
.footer .disclaimer { font-size: 13px; color: #475569; }





/* Conteneur de tableau */
.table-container {
  overflow-x: auto;
}

/* Tableau comparatif */
.comparatif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
  min-width: 700px;
}

/* En-têtes */
.comparatif-table thead {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  color: #fff;
}

.comparatif-table th, 
.comparatif-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}

/* Alternance de lignes */
.comparatif-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

/* Survol */
.comparatif-table tbody tr:hover {
  background: #e0f2fe;
  transition: background 0.2s ease;
}

/* Responsive (scroll horizontal sur mobile) */
@media (max-width: 640px) {
  .comparatif-table th, 
  .comparatif-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}
/* Conteneur du tableau */
.table-container {
  overflow-x: auto;
}

/* Tableau comparatif */
.comparatif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
  min-width: 700px;
}

/* En-têtes */
.comparatif-table thead {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  color: #fff;
}

.comparatif-table th,
.comparatif-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}

/* Alternance de lignes */
.comparatif-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

/* Survol des lignes */
.comparatif-table tbody tr:hover {
  background: #e0f2fe;
  transition: background 0.2s ease;
}

/* Bouton d’affiliation */
.btn-affiliation {
  display: inline-block;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-affiliation:hover {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transform: translateY(-2px);
}

/* Responsive (mobile) */
@media (max-width: 640px) {
  .comparatif-table th,
  .comparatif-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-affiliation {
    padding: 6px 10px;
    font-size: 13px;
  }
}
