/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: #F8F9FB;
  color: #0F1E3C;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #0F1E3C;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 249, 251, 0.95);
  border-bottom: 1px solid #E5E7EB;
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 70px;
  width: auto;
}

.btn-nav {
  background: #2563EB;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-nav:hover { background: #1D4ED8; }

/* ===== BOUTONS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #2563EB;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #2563EB;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #EFF6FF;
}

/* ===== HERO — FONCÉ ===== */
.hero {
  background: linear-gradient(135deg, #0F1E3C 0%, #1E3A6E 60%, #0E7490 100%);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.badge-top {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #06B6D4;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-micro {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ===== PILIERS — CLAIR ===== */
.piliers {
  padding: 90px 0;
  background: #F8F9FB;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #06B6D4;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 32px;
  color: #0F1E3C;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.3;
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pilier {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pilier:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
  border-color: #2563EB;
}

.pilier-icon {
  width: 48px;
  height: 48px;
  background: #EFF6FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pilier h3 {
  font-size: 18px;
  color: #0F1E3C;
  margin-bottom: 10px;
  font-weight: 700;
}

.pilier p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* ===== SIGNATURE — FONCÉE ===== */
.signature {
  background: linear-gradient(135deg, #0F1E3C, #1E3A6E);
  padding: 80px 0;
  text-align: center;
}

.signature blockquote {
  font-size: 22px;
  color: #fff;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 20px;
  font-weight: 400;
  font-style: italic;
}

.signature blockquote strong {
  color: #06B6D4;
  font-style: normal;
}

.signature cite {
  font-size: 13px;
  color: #06B6D4;
  font-style: normal;
  letter-spacing: 0.08em;
}

/* ===== CTA FINAL — CLAIR ===== */
.cta-final {
  padding: 90px 0;
  background: #EFF6FF;
  text-align: center;
}

.cta-final h2 {
  font-size: 36px;
  color: #0F1E3C;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 17px;
  color: #6B7280;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  background: #0F1E3C;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .piliers-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .signature blockquote { font-size: 18px; }
  .cta-final h2 { font-size: 26px; }
}
/* ===== PAGE COPILOTE ===== */
.section-claire {
  padding: 90px 0;
  background: #F8F9FB;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px 24px;
}

.check-icon {
  color: #2563EB;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item p {
  color: #0F1E3C;
  font-size: 15px;
  line-height: 1.6;
}

.section-foncee {
  background: linear-gradient(135deg, #0F1E3C, #1E3A6E);
  padding: 90px 0;
}

.etapes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.etape {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.etape:hover {
  border-color: #06B6D4;
}

.etape-num {
  font-size: 13px;
  font-weight: 700;
  color: #06B6D4;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.etape h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.etape p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.inclus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.inclus-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

.inclus-check {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.inclus-item strong {
  display: block;
  color: #0F1E3C;
  font-size: 15px;
  margin-bottom: 4px;
}

.inclus-item p {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
}

.section-offre {
  padding: 90px 0;
  background: #EFF6FF;
}

.offre-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.08);
}

.prix {
  text-align: center;
  margin-bottom: 8px;
}

.prix-montant {
  font-size: 56px;
  font-weight: 700;
  color: #0F1E3C;
  line-height: 1;
}

.prix-detail {
  display: block;
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 24px;
}

.faq-item h4 {
  font-size: 16px;
  color: #0F1E3C;
  margin-bottom: 10px;
  font-weight: 600;
}

.faq-item p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* ===== RESPONSIVE COPILOTE ===== */
@media (max-width: 768px) {
  .checks-grid,
  .etapes-grid,
  .inclus-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .offre-card { padding: 36px 24px; }
  .prix-montant { font-size: 42px; }
}
/* ===== PAGE LOGIN ===== */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F9FB;
  padding: 100px 24px 40px;
}

.login-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.06);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-card h1 {
  font-size: 24px;
  color: #0F1E3C;
  text-align: center;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 14px;
  color: #6B7280;
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0F1E3C;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 15px;
  color: #0F1E3C;
  background: #F8F9FB;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  border-color: #2563EB;
  background: #fff;
}

.error-msg {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

.login-footer {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  margin-top: 24px;
}

.login-footer a {
  color: #2563EB;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}
/* ===== DASHBOARD ===== */
.dashboard-body {
  background: #F8F9FB;
}

.nav-dashboard {
  background: rgba(255,255,255,0.98);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #0F1E3C;
}

.btn-logout {
  background: transparent;
  border: 1px solid #E5E7EB;
  color: #6B7280;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.btn-logout:hover {
  border-color: #DC2626;
  color: #DC2626;
}

.dashboard-header {
  background: linear-gradient(135deg, #0F1E3C, #1E3A6E);
  padding: 120px 0 56px;
}

.dashboard-welcome {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.dashboard-header h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.dashboard-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.progress-bar-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 560px;
}

.progress-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.progress-bar-bg {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  border-radius: 8px;
  transition: width 0.6s ease;
}

.dashboard-etapes {
  padding: 48px 0 80px;
}

.etapes-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.etape-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.etape-card:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.06);
}

.etape-locked {
  opacity: 0.5;
}

.etape-done {
  border-color: #06B6D4;
  background: #F0FDFE;
}

.etape-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.etape-card-num {
  font-size: 12px;
  font-weight: 700;
  color: #06B6D4;
  letter-spacing: 0.1em;
}

.badge-etape {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-current {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.badge-locked {
  background: #F3F4F6;
  color: #9CA3AF;
  border: 1px solid #E5E7EB;
}

.badge-done {
  background: #F0FDFE;
  color: #06B6D4;
  border: 1px solid #A5F3FC;
}

.etape-card h3 {
  font-size: 17px;
  color: #0F1E3C;
  margin-bottom: 8px;
}

.etape-card p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.etape-card-actions {
  margin-top: auto;
}

.btn-etape-open {
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
  width: 100%;
}

.btn-etape-open:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-etape-open:disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
}

.telegram-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.telegram-icon {
  flex-shrink: 0;
}

.telegram-text {
  flex: 1;
}

.telegram-text strong {
  display: block;
  font-size: 15px;
  color: #0F1E3C;
  margin-bottom: 4px;
}

.telegram-text p {
  font-size: 13px;
  color: #6B7280;
}

.btn-telegram {
  background: #2563EB;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-telegram:hover {
  background: #1D4ED8;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 60, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F3F4F6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal h2 {
  font-size: 22px;
  color: #0F1E3C;
  margin-bottom: 8px;
}

.modal-intro {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 32px;
  line-height: 1.7;
}

.modal-step {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #F3F4F6;
}

.modal-step:last-of-type {
  border-bottom: none;
}

.modal-step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.modal-step strong {
  display: block;
  font-size: 15px;
  color: #0F1E3C;
  margin-bottom: 8px;
}

.modal-step p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 12px;
}

.prompt-box {
  background: #F8F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: #0F1E3C;
  line-height: 1.7;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.btn-copy {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: #DBEAFE;
}

/* ===== RESPONSIVE DASHBOARD ===== */
@media (max-width: 768px) {
  .etapes-dashboard { grid-template-columns: 1fr; }
  .telegram-card { flex-direction: column; text-align: center; }
  .modal { padding: 32px 24px; }
  .dashboard-header h1 { font-size: 24px; }
}