body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: black;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
}

.logo {
  width: 100px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab {
  color: white;
  padding: 8px 15px;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
}

.tab:hover,
.tab.active {
  background-color: white;
  color: #7a93dc;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.manage-subscription {
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.manage-subscription:hover {
  color: #7a93dc;
}

.separator {
  color: white;
  font-size: 16px;
  font-weight: 300;
}

.content {
  padding: 40px 15px;
  background: white;
  display: none;
}

.content.active {
  display: block;
}

.tarif-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tarif-card {
  background: #f9f9f9;
  padding: 25px 20px;
  border-radius: 16px;
  width: 260px;
  max-width: 90vw;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  transition: transform 0.3s;
}

.tarif-card:hover {
  transform: translateY(-5px);
}

.tarif-card img {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.tarif-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.tarif-card p {
  font-size: 14px;
  color: #555;
  margin: 10px 0 20px;
}

.price {
  font-size: 22px;
  margin-bottom: 20px;
  color: #000;
}

.price span {
  font-size: 14px;
  font-weight: 400;
  margin-left: 5px;
  color: #777;
}

.cta-button {
cursor: pointer;
  transition: opacity 0.3s;
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #333;
}

.cta-button.disabled {
  opacity: 0.4;
  pointer-events: none;
 cursor: default;
}


.highlight {
  background: #fdfdfd;
  border: 1px solid #e2e2e2;
}

.badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background-color: #e2e2e2;
  color: #000;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.terms-wrapper {
  margin-top: 30px;
  text-align: left;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.terms-full {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background: #f2f2f2;
  border-radius: 10px;
  line-height: 1.5;
}

.terms-full input[type='checkbox'] {
  transform: scale(1.2);
}

.terms-full a {
  color: #000;
  text-decoration: underline;
}

.notice-message {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
  display: block;
}

.cta-button.disabled + .notice-message {
  display: block;
}

.cta-button:not(.disabled) + .notice-message {
  display: none;
}




@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    width: 90px;
  }

  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .tab {
    font-size: 14px;
    padding: 6px 12px;
  }

  .manage-subscription {
    font-size: 14px;
  }

  .tarif-card {
    width: 90vw;
    max-width: 100%;
  }
}
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 30px 15px;
  text-align: center;
  border-top: 3px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 80px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #7a93dc;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social img {
  width: 24px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-social img:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
/* Bloc déroulant "Qui s'inscrit ?" amélioré */
.customer-info-wrapper {
  background: #f9f9f9;       /* même gris doux que tes cartes */
  border-radius: 16px;       /* coins arrondis pour coller au style */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 20px 25px;        /* même padding que tes sections */
  margin-bottom: 30px;       /* un peu d’espace sous le formulaire */
}


.customer-info-toggle {
background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
  box-sizing: border-box;
}

.customer-info-toggle:hover {
  background: #333;
}

.customer-info-toggle .toggle-icon {
  transition: transform 0.3s;
}

.customer-info-toggle.expanded .toggle-icon {
  transform: rotate(45deg); /* passe de + à x */
}

.customer-info-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.customer-info-section.expanded {
  max-height: 1000px; /* assez grand pour contenir le bloc ouvert */
  opacity: 1;
  padding: 20px 25px;
  margin-top: 10px;
}

/* Contenu interne */
.customer-info-section.expanded {
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  color: #111;
}

.customer-info-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  border-color: #7a93dc;
  box-shadow: 0 0 5px rgba(122, 147, 220, 0.4);
  outline: none;
}

.form-group input.error {
  border-color: #f44336;
  box-shadow: 0 0 5px rgba(244, 67, 54, 0.6);
}
.form-error-message {
  margin-top: 10px;
  padding: 10px;
  background-color: #ffe0e0;
  color: #d8000c;
  border: 1px solid #d8000c;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

input.error {
  border-color: #d8000c;
  background-color: #fff5f5;
}

@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }
}
/* Wrapper pour le bloc adhérent */
.customer-info-wrapper {
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* État plié : on cache le formulaire */
.customer-info-wrapper.collapsed .customer-info-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s, margin 0.3s;
}

/* État déplié : on laisse suffisamment de place */
.customer-info-wrapper .customer-info-section {
  max-height: 1000px;
  opacity: 1;
  padding: 20px 25px;
  margin-top: 10px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s, margin 0.3s;
}

/* Titre cliquable */
.customer-info-toggle {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.customer-info-toggle:hover {
  background: #333;
}

.customer-info-toggle .toggle-icon {
  transition: transform 0.3s;
}
/* Pivoter l’icône quand on est ouvert */
.customer-info-wrapper:not(.collapsed) .toggle-icon {
  transform: rotate(45deg);
}

/* Popup modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;                /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal.active {
  display: flex;
}

/* boîte blanche */
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* bouton fermeture */
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* titres secondaires */
.modal-content h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* paragraphes */
.modal-content p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}


/*old 
.customer-info-section {
  max-width: 600px;
  margin: 30px auto;
  background: #f9f9f9;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  color: #111;
}

.customer-info-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  border-color: #7a93dc;
  box-shadow: 0 0 5px rgba(122, 147, 220, 0.4);
  outline: none;
}

@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }
}


.customer-info-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.customer-info-section.expanded {
  max-height: 500px; /* Ajuste selon la hauteur réelle */
}
*/

