

/* ======================================================
   HEADER + MENU RESPONSIVE
   ====================================================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #050d1c;
  padding: 15px 20px;
  color: white;
}
.main-header .logo {
  font-weight: bold;
  font-size: 1.3rem;
  color: #00bfff;
}
.nav-links {
  display: flex;
  gap: 15px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover {
  color: #00bfff;
}
.burger-menu {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #1a2330;
    padding: 20px;
    z-index: 100;
  }
  .nav-links.active {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
}

/* ==============================================
   >>>> GLOBAL <<<<
   ============================================== */

/* ======================================================
   0. Container global
   ====================================================== */
.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* ======================================================
   1. Styles généraux
   ====================================================== */
body {
  background-color: #222c40; /* Fond sombre pour une meilleure lisibilité */
  color: #fff; /* Texte clair pour contraster avec le fond */
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* ======================================================
   2. Header principal
   ====================================================== */
.header {
  align-items: center;
  background-color: #fff;
  border-bottom: 2px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 40px;
}
.header h1 {
  color: #222;
  font-size: 1.8rem;
  margin: 0;
}
.header nav a {
  color: #222;
  font-weight: bold;
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.header nav a:hover {
  color: #00bfff;
}

/* ======================================================

/* ==============================================
   >>>> ACCUEIL <<<<
   ============================================== */

   3. Navigation secondaire (ticker)
   ====================================================== */
.nav {
  align-items: center;
  background: #050d1c;
  display: flex;
  justify-content: space-between;
  padding: 15px;
}
.nav a {
  color: #00cfff !important;
  font-weight: bold;
  margin: 0 10px;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}

/* ======================================================
   4. Hero banner
   ====================================================== */
.hero-banner {
  padding: 60px 20px;
}
.hero-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.hero-text {
  animation: fadeIn 1.5s ease-in-out;
  flex: 1;
}
.hero-text .highlight { color: #00bfff; }
.hero-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.hero-text p {
  color: #dcdcdc;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.cta-button {
  background-color: #00bfff;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  padding: 14px 28px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.cta-button:hover { background-color: #009acd; }
.hero-image {
  animation: fadeIn 1.5s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  flex: 1;
  max-width: 400px;
}
.hero-image.small { max-width: 300px; }

/* ======================================================
   5. Ticker dynamique
   ====================================================== */
#ticker-list {
  animation: ticker 20s linear infinite;
  display: flex;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}
#ticker-list li {
  color: #00bfff;
  font-weight: bold;
  padding: 0 40px;
  white-space: nowrap;
}
#ticker-list li.hidden { display: none; }
@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ======================================================
   6. Illustrations (galerie/images)
   ====================================================== */
.section-illustrations .grid-illustrations {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 60px 20px;
}
.section-illustrations img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.section-illustrations figcaption {
  color: #fff;
  font-size: 0.95rem;
  margin-top: 8px;
  text-align: center;
  text-transform: capitalize;
}

/* ======================================================
   7. Sections génériques
   ====================================================== */
.features {
  animation: fadeInUp 1.5s ease-in-out;
  padding: 60px 20px;
  text-align: center;
}
.features h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 40px;
}
.tradenova-info {
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: auto;
  max-width: 900px;
  padding: 60px 20px;
  text-align: left;
}
.tradenova-info h2 {
  color: #00bfff;
  font-size: 2rem;
  margin-bottom: 20px;
}
.section-counter {
  background: #1a2330;
  padding: 40px 20px;
  text-align: center;
}
.section-counter h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.counter-number {
  color: #00bfff;
  font-size: 3rem;
  font-weight: bold;
}

/* ==============================================
   >>>> INSCRIPTION <<<<
   ============================================== */

/* Champs du formulaire */

/* ==============================================
   >>>> CONTACT <<<<
   ============================================== */

.section-contact {
  background: #1a2330;
  padding: 60px 20px;
}
.section-contact h2 {
  color: #00bfff;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 600px;
}
.contact-form label {
  font-weight: bold;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  background: #2a3346;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  padding: 12px;
}
.contact-form button.btn-submit {
  align-self: center;
  background: #00bfff;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px 32px;
  transition: background 0.3s;
}
.contact-form button.btn-submit:hover { background: #009acd; }

/* ======================================================
   8. Affilié TRADENOVA
   ====================================================== */

/* ==============================================
   >>>> AFFILIE <<<<
   ============================================== */

.affiliate-page {
  padding: 40px 20px;
  background: #222c40;
}
.affiliate-summary {
  background: #1a2330;
  color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.affiliate-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.affiliate-summary .total {
  font-size: 2.5rem;
  color: #00bfff;
  margin: 0;
}
.affiliate-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.affiliate-left {
  flex: 1 1 60%;
  min-width: 280px;
}
.affiliate-info {
  flex: 1 1 30%;
  background: #1a2330;
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}
.affiliate-info h3 {
  margin-top: 0;
  font-size: 1.2rem;
}
.affiliate-info code {
  display: block;
  background: #222c40;
  padding: 0.5rem;
  border-radius: 4px;
  margin: 1rem 0;
  word-break: break-all;
  color: #fff;
}
.affiliate-info img {
  margin: 1rem auto;
  max-width: 80%;
}
.affiliate-tabs {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0;
}
.affiliate-tabs li {
  flex: 1;
}
.affiliate-tabs a {
  display: block;
  background: #1a2330;
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.affiliate-tabs li.active a {
  background: #00bfff;
  color: #222;
}
.tab-panel {
  display: none;
}
.tab-panel.active { display: block; }
.affiliate-table {
  width: 100%;
  border-collapse: collapse;
  background: #1a2330;
  color: #fff;
}
.affiliate-table th,
.affiliate-table td {
  padding: 0.75rem;
  border: 1px solid #333;
}
.affiliate-table th {
  background: #222c40;
  text-align: left;
}
.affiliate-table tr:nth-child(even) td {
  background: #202940;
}
.empty {
  color: #ccc;
  text-align: center;
  padding: 1rem;
}

/* ======================================================
   9. Boutons système
   ====================================================== */
.features a {
  display: inline-block;
  background: #f8f8f8;
  color: #333;
  padding: 0.5rem 1rem;
  margin: 0.25rem 0.5rem 0;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.features a:hover {
  background: #009acd;
}
/* restaure l’apparence de tous les autres boutons */
.btn-action {
  display: inline-block;
  background: #00bfff;
  color: #222;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-action:hover {
  background: #009acd;
}

/* ======================================================
  .affiliate-content {
    flex-direction: column;
  }
}
/* Ajuster la taille des images des packs */

/* ==============================================
   >>>> PACKS <<<<
   ============================================== */

.pack-card img {
  width: 100%;   /* Utiliser 100% pour remplir l'espace de la carte */
  height: auto;  /* Conserver le ratio d'aspect */
  display: block;
  margin: 0 auto; /* Centrer l'image */
}

/* Ajustement de la disposition en grille */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ajustement automatique des colonnes */
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Ajout de bordure et de fond pour améliorer la présentation */
.pack-card {
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f8f8f8;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ajout de shadow pour un effet de profondeur */
}

/* Effet de survol pour les cartes de packs */
.pack-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px); /* Effet de mouvement léger au survol */
}

/* Ajustement de la taille des images et du texte pour les petits écrans */
  .pack-grid {
    grid-template-columns: 1fr 1fr; /* 2 éléments par ligne sur mobile */
  }
}

/* ======================================================
   1. Style général pour la page de confirmation de paiement
   ====================================================== */

/* ==============================================
   >>>> PAIEMENT <<<<
   ============================================== */

.payment-method, .confirmation-upload {
    background-color: #f0f0f0; /* Fond blanc pour une meilleure visibilité */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.payment-method .container, .confirmation-upload .container {
    max-width: 900px;
    margin: 0 auto;
}

.payment-method h2, .confirmation-upload h2 {
    font-size: 2rem;
    color: #00bfff;
    margin-bottom: 20px;
    text-align: center;
}

/* Section d'information du paiement */
.payment-method p, .confirmation-upload p {
    color: #555;
    font-size: 1.1rem;
    text-align: center;
}

/* Formulaire d'entrée pour la transaction */
.payment-method form, .confirmation-upload form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-method input[type="text"], 
.confirmation-upload input[type="text"], 
.confirmation-upload input[type="file"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;  /* Bordure gris clair pour ne pas trop contraster avec le fond sombre */
    background-color: #2b2b2b;  /* Fond sombre, parfait pour le contraste avec le texte blanc */
    color: #fff;  /* Texte blanc pour une meilleure lisibilité sur le fond sombre */
    font-size: 1rem;
}

/* Bouton de soumission */
.payment-method .btn-action, .confirmation-upload .btn-action {
    background-color: #00bfff;
    color: white;
    padding: 14px 28px;
    font-size: 1.2rem;
    cursor: pointer;
    text-align: center;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.payment-method .btn-action:hover, .confirmation-upload .btn-action:hover {
    background-color: #009acd;
}

/* Message d'erreur */
.error-message {
    color: #e74c3c; /* Rouge vif pour attirer l'attention */
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
}

/* Section d'affichage des détails du pack */
.payment-method img {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.payment-method p strong {
    color: #00bfff;
}

/* Styles de la page de confirmation d'upload de capture d'écran */
.confirmation-upload .container {
    text-align: center;
}

/* Style pour les labels et inputs dans la page de confirmation */
.confirmation-upload label {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.confirmation-upload input[type="file"] {
    margin-bottom: 20px;
}

/* Un peu de style pour la mise en forme générale de la page */
.container {
    max-width: 900px;
    margin: 0 auto;
}
/* ======================================================
   Ajustement de la taille pour les images de signal
   ====================================================== */

/* ==============================================
   >>>> SIGNALS <<<<
   ============================================== */

.signals-preview .signal-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centre les cartes si largeur inférieure */
  gap: 20px;
}

.signals-preview .signal-card {
  flex: 1 1 600px;          /* la carte fait jusqu’à 600px de large */
  max-width: 600px;
  box-sizing: border-box;
}

.signals-preview .signal-card img {
  display: block;
  width: 100%;              /* remplit toute la carte */
  max-width: 100%;          /* n’excède pas la carte */
  height: auto;             /* conserve le ratio */
  margin: 0 auto 10px;      /* espace sous l’image */
  border-radius: 8px;       /* même style que tes autres images */
}


/* ==============================================
   >>>> RESPONSIVE <<<<
   ============================================== */

   10. Responsive
   ====================================================== */
@media (max-width: 768px) {
@media (max-width: 768px) {

.alert-refus {
  background-color: #fdecea;
  color: #b71c1c;
  padding: 15px;
  border-left: 6px solid #f44336;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.alert-refus {
  background-color: #fdecea;
  color: #b71c1c;
  padding: 15px 20px;
  border-left: 6px solid #f44336;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.alert-refus strong {
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}


