 /* --- Styles généraux --- */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #444;
}

.card-member {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

  /* Limite la taille sur ordinateur */
  max-width: 550px; 
  margin: 2rem auto; /* Centre la carte horizontalement */
  padding: 2.5rem;
  box-sizing: border-box;
}

.member-title {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-main);
}

.member-desc {
    font-size: 0.95rem; 
    color: var(--text-muted); 
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.input-group-vertical {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group-vertical label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-field-pro {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s;
}

.input-field-pro:focus {
    outline: none;
    border-color: #635bff;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.secure-footer {
    text-align: center; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 6px;
}

.status-message {
    font-size: 1rem; 
    text-align: center; 
    margin-top: 10px;
    min-height: 1.2rem;
}

.btn-stripe {
    display: block;
    width: 100%;
    background-color: #635bff; /* Couleur officielle Stripe */
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1rem;
}
.btn-stripe:hover {
    background-color: #4b42d8;
}

/* --- MOBILE --- */
@media (max-width: 500px) {
    .card-member {
        max-width: 95%; /* Prend presque toute la largeur sur petit écran */
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .member-title {
        font-size: 1.25rem;
    }

    .input-field-pro {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
    }
}

/* -------------------- FOOTER -------------------- */
.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.footer-brand p {
  margin-top: 15px;
  color: #aaaaaa;
  line-height: 1.6;
}

.footer-nav, .footer-social {
  flex: 1;
  min-width: 200px;
}

h5 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

h5::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #1ccc97;
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: background 0.3s ease;
}

/* Barre de Copyright */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 14px;
}

.reseaux-sociaux{
  width: 90%;
}
.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.lettreVerte{
  color: #1ccc97;
}

.btn-retour {
    background: none;
    border: none;
    color: #635bff; /* Vert Pharmy */
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-retour:hover {
    color: #4b42d8;
    transform: translateX(-5px); /* Petit effet de glissement vers la gauche au survol */
}

/* Adaptabilité Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  h4::after {
    margin: 8px auto 0;
  }
}

/* LOADER */
/* Le loader caché par défaut */
.loader {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  display: none; /* Caché */
}

/* Classe pour afficher le loader via JS */
.is-loading .loader {
  display: inline-block;
}

/* Désactiver le bouton pendant le chargement */
.btn-stripe:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

