/* ==========================================================================
   PAGE : ABONNEMENT CLUB MAHANA (Design Éditorial)
   ========================================================================== */

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.08);
}

.abonnement-main {
  background-color: #ffffff;
  min-height: calc(100vh - 100px);
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- EN-TETE DE PAGE --- */
.page-title-section {
  text-align: center;
  margin-bottom: 80px;
}

.page-title-section h1 {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  font-weight: 300;
  color: var(--text-dark);
}

.highlight-italic {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

/* --- GRILLE PRINCIPALE (CONTACT / FORMULAIRE) --- */
.abonnement-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  margin-bottom: 100px;
  align-items: start;
}

/* Colonne Gauche : Infos Contact */
.contact-info-col {
  background-color: var(--bg-light);
  padding: 60px 50px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.overtitle {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}

.contact-info-col h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 30px;
}

.contact-info-col > p {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
}

.contact-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-list li span {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--color-accent);
  margin-bottom: 5px;
}

/* Colonne Droite : Formulaire */
.form-col {
  padding-top: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Style des inputs minimalistes (façon page Contact) */
.form-control {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color 0.3s;
  border-radius: 0;
  outline: none;
}

.form-control::placeholder {
  color: #cccccc;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.form-control:focus {
  border-bottom-color: var(--color-accent);
}

/* Options d'abonnement (Boutons Radio élégants) */
.subscription-options {
  margin: 50px 0;
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  cursor: pointer;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.radio-option:hover {
  border-color: var(--color-accent);
  background-color: var(--bg-light);
}

/* On personnalise le rond radio */
.radio-option input[type="radio"] {
  margin-top: 4px;
  margin-right: 20px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.radio-text {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.radio-text strong {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
}

/* Bouton et RGPD */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.btn-submit {
  background-color: var(--text-dark);
  color: #ffffff;
  border: none;
  padding: 18px 45px;
  font-size: 13px;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: var(--color-accent);
}

.rgpd-checkbox {
  display: flex;
  align-items: flex-start;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.rgpd-checkbox input {
  margin-top: 3px;
  margin-right: 12px;
  accent-color: var(--text-dark);
}

.rgpd-checkbox a {
  color: var(--text-dark);
  text-decoration: underline;
}

/* --- SECTION CARTES D'INFORMATION --- */
.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-card {
  background: #ffffff;
  padding: 60px 50px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.info-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 400;
}

.info-card p {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 20px;
}

/* Alertes d'erreur (le succès renverra vers merci.php) */
.alert {
  padding: 20px;
  margin-bottom: 40px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  text-align: center;
}
.alert-error {
  background-color: #fdf3f4;
  color: #8a313d;
  border: 1px solid #f6d8dc;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .abonnement-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-info-col {
    order: 2; /* Les infos passent sous le formulaire */
  }
  .form-col {
    order: 1;
  }
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-title-section h1 {
    font-size: 42px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-submit {
    width: 100%;
  }
}
