/* ═══════════════════════════════════════════
   Orange Together — Membership Plugin CSS
   Couleurs : Orange #E55A00 / Blanc / Gris
   ═══════════════════════════════════════════ */

:root {
  --ot-orange:      #E55A00;
  --ot-orange-dark: #C04D00;
  --ot-orange-light:#FFF3EC;
  --ot-navy:        #1A1A2E;
  --ot-gray:        #6B7280;
  --ot-light:       #F9FAFB;
  --ot-border:      #E5E7EB;
  --ot-white:       #FFFFFF;
  --ot-green:       #10B981;
  --ot-yellow:      #F59E0B;
  --ot-red:         #EF4444;
}

/* ── WRAPPER ── */
.ot-membership-wrap,
.ot-espace-membre {
  max-width: 780px;
  margin: 0 auto;
  font-family: 'DM Sans', Arial, sans-serif;
}

/* ── HEADER FORMULAIRE ── */
.ot-form-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--ot-orange);
}
.ot-form-header h2 {
  font-size: 28px !important;
  color: var(--ot-orange) !important;
  margin-bottom: 10px !important;
  border: none !important;
}
.ot-form-header p {
  color: var(--ot-gray);
  font-size: 15px;
}

/* ── SECTIONS ── */
.ot-form-section {
  background: var(--ot-white);
  border: 1px solid var(--ot-border);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ot-section-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ot-orange) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--ot-border) !important;
}

/* ── CHAMPS ── */
.ot-form-row { display: flex; gap: 20px; margin-bottom: 0; }
.ot-form-row.two-cols > .ot-field { flex: 1; }
.ot-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.ot-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ot-navy);
  margin-bottom: 6px;
}
.ot-field input,
.ot-field select,
.ot-field textarea {
  padding: 10px 14px !important;
  border: 1px solid var(--ot-border) !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  background: var(--ot-white) !important;
  transition: border-color 0.2s !important;
  font-family: inherit !important;
}
.ot-field input:focus,
.ot-field select:focus,
.ot-field textarea:focus {
  border-color: var(--ot-orange) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(229,90,0,0.12) !important;
}
.required { color: var(--ot-red); }
.ot-field-hint { color: var(--ot-gray); font-size: 13px; margin: -10px 0 16px; }

/* ── FORCE DE MOT DE PASSE ── */
.ot-password-strength {
  height: 6px;
  border-radius: 3px;
  background: var(--ot-border);
  margin-top: 8px;
  overflow: hidden;
}
.ot-password-strength::after {
  content: '';
  display: block;
  height: 100%;
  transition: width 0.3s, background 0.3s;
  width: var(--strength, 0%);
  background: var(--strength-color, #ccc);
  border-radius: 3px;
}
#ot-strength-label { font-size: 12px; color: var(--ot-gray); display: block; margin-top: 4px; }

/* ── RGPD ── */
.ot-rgpd-section { background: var(--ot-orange-light) !important; border-color: rgba(229,90,0,0.2) !important; }
.ot-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ot-navy);
  line-height: 1.5;
}
.ot-checkbox-label input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ot-orange); flex-shrink: 0; }

/* ── BOUTONS ── */
.ot-btn-primary {
  background: var(--ot-orange) !important;
  color: var(--ot-white) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 13px 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  font-family: inherit !important;
  width: 100% !important;
  letter-spacing: 0.02em !important;
}
.ot-btn-primary:hover { background: var(--ot-orange-dark) !important; }
.ot-btn-primary:disabled { opacity: 0.7; cursor: not-allowed !important; }
.ot-btn-primary.ot-btn-sm { width: auto !important; padding: 8px 20px !important; font-size: 13px !important; }
.ot-btn-secondary {
  background: transparent !important;
  color: var(--ot-orange) !important;
  border: 2px solid var(--ot-orange) !important;
  border-radius: 6px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
}

/* ── MESSAGES ── */
.ot-notice {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.ot-info    { background: #EFF6FF; border-left: 4px solid #3B82F6; color: #1E40AF; }
.ot-success { background: #ECFDF5; border-left: 4px solid var(--ot-green); color: #065F46; }
.ot-warning { background: #FFFBEB; border-left: 4px solid var(--ot-yellow); color: #92400E; }
.ot-error   { background: #FEF2F2; border-left: 4px solid var(--ot-red); color: #991B1B; }
.ot-error ul { margin: 8px 0 0 16px; padding: 0; }
.ot-error li { margin-bottom: 4px; }

.ot-form-submit { margin-top: 8px; }
.ot-form-footer { text-align: center; margin-top: 20px; color: var(--ot-gray); font-size: 14px; }
.ot-form-footer a { color: var(--ot-orange); }

/* ── ESPACE MEMBRE ── */
.ot-membre-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, var(--ot-orange), var(--ot-orange-dark));
  border-radius: 10px;
  margin-bottom: 24px;
  color: var(--ot-white);
}
.ot-membre-header h2 { color: var(--ot-white) !important; margin: 0 0 8px !important; font-size: 22px !important; }
.ot-membre-header img { border-radius: 50%; border: 3px solid rgba(255,255,255,0.5); }
.ot-statut { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.ot-statut-actif    { background: rgba(16,185,129,0.2); color: #D1FAE5; }
.ot-statut-en_attente { background: rgba(245,158,11,0.2); color: #FEF3C7; }
.ot-statut-suspendu { background: rgba(239,68,68,0.2); color: #FEE2E2; }

.ot-membre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ot-card {
  background: var(--ot-white);
  border: 1px solid var(--ot-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ot-card-full { grid-column: 1 / -1; }
.ot-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ot-orange) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--ot-border) !important;
}
.ot-info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ot-info-table th { color: var(--ot-gray); font-weight: 500; padding: 6px 0; width: 40%; }
.ot-info-table td { color: var(--ot-navy); padding: 6px 0; font-weight: 600; }
.ot-links-list { list-style: none; padding: 0; margin: 0; }
.ot-links-list li { margin-bottom: 10px; }
.ot-links-list a { color: var(--ot-navy); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 6px; display: block; transition: background 0.15s, color 0.15s; }
.ot-links-list a:hover { background: var(--ot-orange-light); color: var(--ot-orange); }

.ot-membre-footer { margin-top: 24px; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .ot-form-row.two-cols { flex-direction: column; }
  .ot-membre-grid { grid-template-columns: 1fr; }
  .ot-form-section { padding: 20px; }
  .ot-membre-header { flex-direction: column; text-align: center; }
}

/* ── SÉLECTION TARIF ── */
.ot-tarifs-choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ot-tarif-option { position: relative; cursor: pointer; border: 2px solid var(--ot-border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, background .2s; }
.ot-tarif-option input { position: absolute; opacity: 0; pointer-events: none; }
.ot-tarif-option:hover { border-color: var(--ot-orange); }
.ot-tarif-option.selected, .ot-tarif-option:has(input:checked) { border-color: var(--ot-orange); background: var(--ot-orange-light); }
.ot-tarif-option-nom { font-weight: 700; color: var(--ot-navy); font-size: 15px; }
.ot-tarif-option-prix { color: var(--ot-orange); font-weight: 700; font-size: 18px; margin: 2px 0; }
.ot-tarif-option-desc { font-size: 12px; color: var(--ot-gray); }
.ot-tarif-check { display: none; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; background: var(--ot-orange); border-radius: 50%; color: #fff; font-size: 11px; align-items: center; justify-content: center; font-weight: 900; }
.ot-tarif-option.selected .ot-tarif-check,
.ot-tarif-option:has(input:checked) .ot-tarif-check { display: flex; }

/* ── TARIFS PUBLICS [ot_tarifs] ── */
.ot-tarifs-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.ot-tarif-card { background: #fff; border: 2px solid var(--ot-border); border-radius: 10px; padding: 28px 22px; text-align: center; position: relative; transition: box-shadow .2s; }
.ot-tarif-card:hover { box-shadow: 0 4px 20px rgba(229,90,0,.15); border-color: var(--ot-orange); }
.ot-tarif-badge { position: absolute; top: -1px; right: 16px; background: var(--ot-orange); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 0 0 6px 6px; text-transform: uppercase; letter-spacing: .08em; }
.ot-prix-gratuit { font-size: 32px; font-weight: 800; color: var(--ot-green, #10b981); }
.ot-prix-montant { font-size: 32px; font-weight: 800; color: var(--ot-orange); }
.ot-prix-periode { font-size: 14px; color: var(--ot-gray); }
.ot-tarif-nom { font-size: 18px; font-weight: 700; color: var(--ot-navy); margin: 12px 0 6px; }
.ot-tarif-desc { font-size: 13px; color: var(--ot-gray); margin-bottom: 20px; }

/* ── ANNUAIRE ── */
.ot-annuaire h3 { color: var(--ot-orange); margin-bottom: 14px; }
.ot-annuaire-input { width: 100%; padding: 10px 14px; border: 1px solid var(--ot-border); border-radius: 6px; font-size: 14px; margin-bottom: 16px; box-sizing: border-box; }
.ot-annuaire-input:focus { border-color: var(--ot-orange); outline: none; }
.ot-annuaire-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ot-annuaire-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--ot-border); border-radius: 8px; transition: border-color .15s; }
.ot-annuaire-card:hover { border-color: var(--ot-orange); }
.ot-annuaire-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ot-orange); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ot-annuaire-info { display: flex; flex-direction: column; gap: 3px; }
.ot-annuaire-info strong { font-size: 14px; color: var(--ot-navy); }
.ot-annuaire-pays, .ot-annuaire-org, .ot-annuaire-syn { font-size: 12px; color: var(--ot-gray); }

/* ── DOCUMENTS ── */
.ot-docs-wrap h3 { color: var(--ot-orange); margin-bottom: 16px; }
.ot-docs-section { margin-bottom: 24px; }
.ot-docs-cat { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ot-gray); border-bottom: 1px solid var(--ot-border); padding-bottom: 6px; margin-bottom: 10px; }
.ot-docs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ot-doc-link { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border: 1px solid var(--ot-border); border-radius: 8px; text-decoration: none; transition: border-color .15s, background .15s; }
.ot-doc-link:hover { border-color: var(--ot-orange); background: var(--ot-orange-light); }
.ot-doc-icon { font-size: 22px; flex-shrink: 0; }
.ot-doc-info { flex: 1; } .ot-doc-info strong { display: block; color: var(--ot-navy); font-size: 14px; } .ot-doc-info em { font-size: 12px; color: var(--ot-gray); font-style: normal; }
.ot-doc-dl { font-size: 12px; font-weight: 700; color: var(--ot-orange); white-space: nowrap; }

/* ── CONTENU RÉSERVÉ ── */
.ot-contenu-reserve { border-left: 3px solid var(--ot-orange); padding-left: 16px; }
.ot-reserve-locked { display: flex; align-items: center; gap: 10px; }

/* ── NEWSLETTER TOGGLE ── */
.ot-newsletter-toggle { margin-top: 8px; }
.ot-toggle-label { display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* ── MEMBRE DÉJÀ CONNECTÉ ── */
.ot-already-member {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #fff8f4, #fff3ec);
  border: 2px solid var(--ot-orange);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 20px 0;
}
.ot-already-member-icon { font-size: 40px; flex-shrink: 0; }
.ot-already-member-content strong { display: block; font-size: 18px; color: var(--ot-navy); margin-bottom: 8px; }
.ot-already-member-content p { color: var(--ot-gray); margin: 0 0 20px; font-size: 15px; }
.ot-already-member-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ════════════════════════════════════════════
   DASHBOARD ESPACE MEMBRE
   ════════════════════════════════════════════ */

.ot-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 600px;
  gap: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  background: #f4f6f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── SIDEBAR ── */
.ot-sidebar {
  background: #0f1f38;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100%;
}
.ot-sidebar-profile {
  padding: 28px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ot-sidebar-profile img { border-radius: 50%; border: 3px solid rgba(229,90,0,0.6); margin-bottom: 10px; }
.ot-sidebar-name { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.ot-badge-statut { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; margin-top: 4px; }
.ot-badge-actif     { background: rgba(16,185,129,.2); color: #6ee7b7; }
.ot-badge-en_attente{ background: rgba(245,158,11,.2); color: #fcd34d; }
.ot-badge-suspendu  { background: rgba(239,68,68,.2);  color: #fca5a5; }

.ot-sidebar-nav { flex: 1; padding: 16px 0; }
.ot-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
}
.ot-nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.ot-nav-item.active { color: #fff; background: rgba(229,90,0,0.15); border-left-color: #E55A00; }
.ot-nav-item span { font-size: 16px; }

.ot-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.ot-sidebar-link { display: block; color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; margin-bottom: 8px; }
.ot-sidebar-link:hover { color: #fff; }
.ot-sidebar-logout {
  display: block; text-align: center;
  background: rgba(239,68,68,0.15); color: #fca5a5;
  padding: 8px; border-radius: 6px; font-size: 13px;
  text-decoration: none; transition: background .15s;
}
.ot-sidebar-logout:hover { background: rgba(239,68,68,0.3); color: #fff; }

/* ── MAIN ── */
.ot-dashboard-main { padding: 28px 32px; overflow-y: auto; }

.ot-dashboard-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.ot-dashboard-title { font-size: 24px; font-weight: 800; color: #0f1f38; margin: 0 0 4px; }
.ot-dashboard-sub   { font-size: 13px; color: #6b7280; margin: 0; }
.ot-header-logo     { height: 44px; object-fit: contain; }

.ot-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px;
}
.ot-alert span { font-size: 20px; flex-shrink: 0; }
.ot-alert-info { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af; }
.ot-alert-warn { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }

.ot-section-heading { font-size: 16px; font-weight: 700; color: #0f1f38; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid #E55A00; display: inline-block; }

/* ── CARDS ── */
.ot-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ot-card { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.ot-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ot-card-head span { font-size: 22px; }
.ot-card-head h3 { font-size: 14px; font-weight: 700; color: #0f1f38; margin: 0; text-transform: uppercase; letter-spacing: .04em; }

.ot-info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ot-info-table th { color: #6b7280; font-weight: 500; padding: 6px 0; width: 38%; vertical-align: top; }
.ot-info-table td { color: #0f1f38; font-weight: 600; padding: 6px 0; }

.ot-statut-block { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.ot-statut-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.ot-statut-actif     { background: #ecfdf5; } .ot-statut-actif     .ot-statut-dot { background: #10b981; }
.ot-statut-en_attente{ background: #fffbeb; } .ot-statut-en_attente .ot-statut-dot { background: #f59e0b; }
.ot-statut-suspendu  { background: #fef2f2; } .ot-statut-suspendu  .ot-statut-dot { background: #ef4444; }

.ot-newsletter-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; padding: 10px 0; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; margin: 12px 0; }
.ot-newsletter-row span:first-child { flex: 1; }

.ot-quick-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ot-quick-links a { font-size: 13px; color: #374151; text-decoration: none; padding: 6px 10px; border-radius: 6px; transition: background .15s, color .15s; }
.ot-quick-links a:hover { background: #fff3ec; color: #E55A00; }

/* ── DOCUMENTS ── */
.ot-docs-cat-title { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 10px; }
.ot-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 10px; }
.ot-doc-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ot-doc-card:hover { border-color: #E55A00; box-shadow: 0 2px 8px rgba(229,90,0,.1); }
.ot-doc-card-icon { font-size: 26px; flex-shrink: 0; }
.ot-doc-card-info { flex: 1; } .ot-doc-card-info strong { display: block; font-size: 13px; color: #0f1f38; margin-bottom: 2px; } .ot-doc-card-info em { font-size: 11px; color: #6b7280; font-style: normal; }
.ot-doc-ext { display: inline-block; background: #f3f4f6; color: #374151; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-top: 3px; }
.ot-doc-card-dl { color: #E55A00; font-size: 18px; flex-shrink: 0; }

/* ── ANNUAIRE ── */
.ot-search-input { width: 100%; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; margin-bottom: 4px; box-sizing: border-box; }
.ot-search-input:focus { border-color: #E55A00; outline: none; box-shadow: 0 0 0 3px rgba(229,90,0,.1); }
.ot-annuaire-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; margin-top: 12px; }
.ot-member-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; transition: border-color .15s; }
.ot-member-card:hover { border-color: #E55A00; }
.ot-member-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,#E55A00,#c04d00); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ot-member-details { display: flex; flex-direction: column; gap: 2px; } .ot-member-details strong { font-size: 13px; color: #0f1f38; } .ot-member-details span { font-size: 11px; color: #6b7280; }

/* ── ACTUALITÉS ── */
.ot-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.ot-article-card { text-decoration: none; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; transition: box-shadow .15s, transform .15s; display: block; }
.ot-article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.ot-article-thumb { height: 120px; background-size: cover; background-position: center; background-color: #f4f1eb; }
.ot-article-body { padding: 14px; }
.ot-article-date { font-size: 11px; color: #9ca3af; display: block; margin-bottom: 4px; }
.ot-article-body h3 { font-size: 13px; font-weight: 700; color: #0f1f38; margin: 0 0 6px; line-height: 1.4; }
.ot-article-body p { font-size: 12px; color: #6b7280; margin: 0; line-height: 1.5; }

/* ── EMPTY STATE ── */
.ot-empty-state { text-align: center; padding: 40px 20px; color: #9ca3af; }
.ot-empty-icon { font-size: 40px; margin-bottom: 10px; }

/* ── PAGE DE CONNEXION ── */
.ot-login-wrap {
  max-width: 420px; margin: 40px auto; font-family: 'DM Sans', Arial, sans-serif;
}
.ot-login-branding { text-align: center; margin-bottom: 28px; }
.ot-login-logo { max-width: 160px; max-height: 80px; object-fit: contain; margin-bottom: 12px; }
.ot-login-brand-title { font-size: 22px; font-weight: 800; color: #0f1f38; margin: 0 0 4px; }
.ot-login-brand-sub { font-size: 13px; color: #6b7280; margin: 0; }
.ot-login-card { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 4px 24px rgba(0,0,0,0.1); border: 1px solid #e5e7eb; }
.ot-login-title { font-size: 20px; font-weight: 800; color: #0f1f38; margin: 0 0 24px; text-align: center; }
.ot-login-form { display: flex; flex-direction: column; gap: 4px; }
.ot-login-btn { margin-top: 8px; }
.ot-input-icon-wrap { position: relative; }
.ot-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; color: #9ca3af; pointer-events: none; }
.ot-input-icon-wrap input { padding-left: 36px !important; }
.ot-toggle-pw { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; padding: 2px; }
.ot-forgot-link { float: right; font-size: 12px; color: #E55A00; text-decoration: none; font-weight: 400; }
.ot-forgot-link:hover { text-decoration: underline; }
.ot-remember-label { font-size: 13px; color: #374151; margin: 4px 0 8px; }
.ot-login-footer { text-align: center; margin-top: 20px; font-size: 13px; color: #6b7280; border-top: 1px solid #f3f4f6; padding-top: 16px; }
.ot-login-footer a { color: #E55A00; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ot-dashboard { grid-template-columns: 1fr; }
  .ot-sidebar { min-height: auto; }
  .ot-sidebar-nav { display: flex; flex-wrap: wrap; padding: 8px; gap: 4px; }
  .ot-nav-item { padding: 8px 12px; border-left: none; border-bottom: 2px solid transparent; border-radius: 6px; font-size: 12px; }
  .ot-nav-item.active { border-bottom-color: #E55A00; border-left: none; }
  .ot-dashboard-main { padding: 20px; }
  .ot-cards-row { grid-template-columns: 1fr; }
  .ot-dashboard-header { flex-direction: column; gap: 8px; }
}


/* ═══════════════════════════════════════════════════
   REFONTE ADHÉSION — Nouveaux styles (Parcours 3 branches)
   ═══════════════════════════════════════════════════ */

/* ── GRILLE CHOIX DU PARCOURS ── */
.ot-parcours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .ot-parcours-grid { grid-template-columns: 1fr; }
}
.ot-parcours-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border: 2px solid var(--ot-border);
  border-radius: 12px;
  background: var(--ot-white);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  gap: 8px;
}
.ot-parcours-card:hover {
  border-color: var(--ot-orange);
  box-shadow: 0 4px 16px rgba(229,90,0,0.15);
  transform: translateY(-3px);
}
.ot-parcours-icon  { font-size: 32px; line-height: 1; }
.ot-parcours-nom   { font-size: 15px; font-weight: 700; color: var(--ot-navy); }
.ot-parcours-desc  { font-size: 12px; color: var(--ot-gray); line-height: 1.4; }
.ot-parcours-prix  {
  font-size: 13px; font-weight: 700; color: var(--ot-orange);
  background: var(--ot-orange-light); padding: 4px 12px;
  border-radius: 20px; margin-top: 4px;
}

/* ── BOUTON RETOUR ── */
.ot-step-back {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.ot-btn-back {
  background: none;
  border: 1px solid var(--ot-border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ot-gray);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.ot-btn-back:hover { border-color: var(--ot-orange); color: var(--ot-orange); }
.ot-step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ot-navy);
  opacity: 0.7;
}

/* ── CARTES TYPE MEMBRE ── */
.ot-type-membre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ot-type-membre-grid.trois-cols {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
  .ot-type-membre-grid,
  .ot-type-membre-grid.trois-cols { grid-template-columns: 1fr; }
}
.ot-type-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 2px solid var(--ot-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ot-type-card input[type=radio] { display: none; }
.ot-type-card:hover { border-color: var(--ot-orange); }
.ot-type-card.selected {
  border-color: var(--ot-orange);
  background: var(--ot-orange-light);
}
.ot-type-card-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ot-type-nom  { font-size: 15px; font-weight: 700; color: var(--ot-navy); }
.ot-type-prix { font-size: 14px; font-weight: 700; color: var(--ot-orange); }
.ot-type-desc { font-size: 12px; color: var(--ot-gray); }
.ot-type-check {
  width: 24px; height: 24px;
  border: 2px solid var(--ot-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ot-type-card.selected .ot-type-check {
  border-color: var(--ot-orange);
  background: var(--ot-orange);
  color: #fff;
}

/* ── MONTANT EN TEMPS RÉEL ── */
.ot-montant-preview { justify-content: center; }
.ot-montant-display {
  font-size: 28px;
  font-weight: 800;
  color: var(--ot-orange);
  background: var(--ot-orange-light);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  margin-top: 22px;
}

/* ── ANNÉE D'ADHÉSION ── */
.ot-annee-grid {
  display: flex;
  gap: 14px;
}
.ot-annee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  border: 2px solid var(--ot-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  gap: 4px;
}
.ot-annee-card input[type=radio] { display: none; }
.ot-annee-card:hover { border-color: var(--ot-orange); }
.ot-annee-card.selected {
  border-color: var(--ot-orange);
  background: var(--ot-orange-light);
}
.ot-annee-val   { font-size: 22px; font-weight: 800; color: var(--ot-navy); }
.ot-annee-label { font-size: 12px; color: var(--ot-gray); }

/* ── VALIDATION EMAIL ── */
.ot-email-match { font-size: 12px; margin-top: -10px; height: 18px; display: block; }

/* ── CODE PROMO ── */
.ot-promo-section {}
.ot-promo-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ot-promo-input {
  flex: 1;
  max-width: 260px;
  padding: 10px 14px !important;
  border: 1px solid var(--ot-border) !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ot-btn-promo {
  padding: 10px 20px;
  border: 1px solid var(--ot-orange);
  border-radius: 6px;
  background: var(--ot-white);
  color: var(--ot-orange);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.ot-btn-promo:hover { background: var(--ot-orange); color: #fff; }
.ot-promo-result { margin-top: 8px; font-size: 13px; min-height: 20px; }

/* ── RÉCAPITULATIF MONTANT ── */
.ot-recapitulatif {
  background: var(--ot-light);
  border: 1px solid var(--ot-border);
  border-radius: 10px;
  padding: 20px 28px;
  margin-bottom: 24px;
  display: none; /* affiché par JS */
}
.ot-recap-ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--ot-border);
}
.ot-recap-ligne:last-child { border-bottom: none; }
.ot-recap-promo { color: var(--ot-green); }
.ot-recap-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--ot-navy);
  padding-top: 10px !important;
  margin-top: 4px;
}
.ot-recap-total strong { color: var(--ot-orange); font-size: 20px; }

/* ── PAYPAL ── */
#ind-paypal-buttons,
#org-paypal-buttons {
  max-width: 400px;
  margin: 0 auto;
}
.ot-paypal-secure {
  text-align: center;
  font-size: 12px;
  color: var(--ot-gray);
  margin-top: 10px;
}

/* ── CASES LÉGALES ── */
.ot-checkboxes-section { display: flex; flex-direction: column; gap: 14px; }

/* ── SUCCESS MESSAGE (grand) ── */
.ot-notice.ot-success {
  font-size: 16px;
  padding: 20px 28px;
  border-radius: 10px;
}
