/* === Page: nous-rejoindre — extracted from inline <style> blocks === */

/* --- block 1 --- */
/* === NAV HARMONIZED ===*/

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.nav-logo { flex-shrink: 0; text-decoration: none; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}
.nav-links li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active { color: #d6b25e; }
.nav-links li a::after { display: none; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-btn-outline:hover { border-color: #d6b25e; color: #d6b25e; background: rgba(214,178,94,0.08); }
.nav-btn-fill {
  background: linear-gradient(135deg, #d6b25e, #e7d6a3);
  color: #081b3a;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-btn-fill:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(214,178,94,0.4); }
.nav-hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
/* === END NAV ===*/
@media (min-width: 901px) { .nav-hamburger { display: none !important; } }

body { padding-top: 72px !important; }



  /* ===================== NAV ===================== */
  
  
  
  
  
  
  
  
  
  
  .nav-links a.active { color: var(--champagne-gold); }
  .nav-links a.active::after { transform: scaleX(1); }
  
  
  
  
  

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --royal-blue: #1E5BFF;
      --deep-blue: #081B3A;
      --champagne: #D6B25E;
      --cream: #FAF7F0;
      --white: #FFFFFF;
      --gray-100: #F3F4F6;
      --gray-200: #E5E7EB;
      --gray-400: #9CA3AF;
      --gray-600: #4B5563;
      --text: #0B1220;
      --error: #EF4444;
      --success: #10B981;
      --radius: 12px;
      --shadow: 0 4px 32px rgba(8,27,58,0.12);
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--cream);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: var(--deep-blue);
      height: 64px;
      display: flex; align-items: center; justify-content: center;
      padding: 0 2rem;
      box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
    
  
    .nav-logo img { height: 40px; }

    /* ── MAIN ── */
    main {
      flex: 1;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 96px 1.5rem 3rem;
    }

    .register-card {
      background: var(--white);
      border-radius: 20px;
      box-shadow: var(--shadow);
      padding: 2.5rem;
      width: 100%;
      max-width: 540px;
    }

    .register-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      color: var(--deep-blue);
      text-align: center;
      margin-bottom: 0.5rem;
    }
    .register-subtitle {
      color: var(--gray-600);
      text-align: center;
      font-size: 0.9rem;
      margin-bottom: 2rem;
      line-height: 1.6;
    }
    .register-subtitle a { color: var(--royal-blue); }

    /* ── FORM ── */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

    .form-group {
      display: flex; flex-direction: column; gap: 5px;
      margin-bottom: 1rem;
    }
    .form-group.full { grid-column: 1 / -1; }

    label {
      font-size: 13px;
      font-weight: 600;
      color: var(--deep-blue);
    }
    label .req { color: var(--error); }

    input, select {
      padding: 11px 14px;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--radius);
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      background: #fff;
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
      width: 100%;
    }
    input:focus, select:focus {
      border-color: var(--royal-blue);
      box-shadow: 0 0 0 3px rgba(30,91,255,0.1);
    }
    input::placeholder { color: var(--gray-400); }
    input.error { border-color: var(--error); }

    /* ── ACCOUNT TYPE TOGGLE ── */
    .account-type-group {
      display: flex; gap: 0.75rem; margin-top: 4px;
    }
    .account-type-btn {
      flex: 1;
      padding: 10px 12px;
      border: 2px solid var(--gray-200);
      border-radius: var(--radius);
      cursor: pointer;
      text-align: center;
      font-size: 13px;
      font-weight: 600;
      color: var(--gray-600);
      background: var(--gray-100);
      transition: all 0.2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .account-type-btn.active {
      border-color: var(--royal-blue);
      background: rgba(30,91,255,0.08);
      color: var(--royal-blue);
    }

    /* ── PROVIDER FIELDS (shown only when type=provider) ── */
    #providerFields { display: none; }
    #providerFields.visible { display: block; }

    /* ── OPTIONAL BADGE ── */
    .optional-badge {
      font-size: 11px;
      font-weight: 500;
      color: var(--gray-400);
      background: var(--gray-100);
      padding: 1px 7px;
      border-radius: 20px;
      margin-left: 6px;
    }

    /* ── CGU ── */
    .cgu-row {
      display: flex; align-items: flex-start; gap: 10px;
      margin: 1.25rem 0;
    }
    .cgu-row input[type="checkbox"] {
      width: 18px; height: 18px; flex-shrink: 0;
      cursor: pointer; margin-top: 1px;
    }
    .cgu-row label {
      font-size: 13px; font-weight: 400; color: var(--gray-600);
      cursor: pointer;
    }
    .cgu-row a { color: var(--royal-blue); text-decoration: underline; }

    /* ── SUBMIT ── */
    .btn-register {
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--royal-blue), #1A4FE0);
      color: #fff;
      border: none;
      border-radius: var(--radius);
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .btn-register:hover { background: linear-gradient(135deg, #1A4FE0, #1035B8); }
    .btn-register:disabled { opacity: 0.6; cursor: not-allowed; }

    .login-link {
      text-align: center;
      margin-top: 1rem;
      font-size: 13px;
      color: var(--gray-600);
    }
    .login-link a { color: var(--royal-blue); font-weight: 600; text-decoration: none; }

    /* ── ALERT ── */
    .alert {
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 13px;
      margin-bottom: 1rem;
      display: none;
    }
    .alert.error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; display: block; }
    .alert.success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; display: block; }

    /* ── DIVIDER ── */
    .divider {
      display: flex; align-items: center; gap: 12px;
      margin: 1.25rem 0;
      color: var(--gray-400); font-size: 12px;
    }
    .divider::before, .divider::after {
      content: ''; flex: 1; height: 1px; background: var(--gray-200);
    }

    /* ── SPINNER ── */
    @keyframes spin { to { transform: rotate(360deg); } }
    .spinner {
      width: 18px; height: 18px;
      border: 2px solid rgba(255,255,255,0.4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }

    /* ── PASSWORD STRENGTH ── */
    .pwd-hint { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

    /* ── FOOTER ── */
    footer {
      background: var(--deep-blue);
      color: rgba(255,255,255,0.6);
      text-align: center;
      padding: 1.5rem;
      font-size: 12px;
    }
    footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 8px; }
  

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-mobile-overlay.open { display: block; opacity: 1; }

.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background: #0D1B2E;
  z-index: 1000;
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  border-left: 1px solid rgba(201,168,76,0.15);
}
.nav-mobile-menu.open { right: 0; }

.nav-mobile-menu .mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.nav-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li a.active { color: #D6B25E; }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.nav-mobile-actions a {
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-mobile-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}
.nav-mobile-btn-outline:hover { border-color: #D6B25E; color: #D6B25E; }
.nav-mobile-btn-fill {
  background: linear-gradient(135deg, #D6B25E, #c9a24a);
  color: #0D1B2E !important;
}
.nav-mobile-btn-fill:hover { opacity: 0.9; }

@media (max-width: 900px) {
  
  
  
}

  /* ===================== FOOTER ===================== */
  .footer {
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.15);
  }
  .footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  .footer-top {
    padding: 64px 0 48px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-brand-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  }
  .footer-brand-desc {
    font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7;
    max-width: 280px; margin-bottom: 24px;
  }
  .footer-socials { display: flex; gap: 12px; }
  .footer-social {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 16px;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none;
  }
  .footer-social:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .footer-col-title {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
  .footer-links a {
    font-size: 13px; color: rgba(255,255,255,0.5);
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold-light); }
  .footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy {
    font-size: 12px; color: rgba(255,255,255,0.35);
  }
  .footer-bottom-links {
    display: flex; gap: 24px;
  }
  .footer-bottom-links a {
    font-size: 12px; color: rgba(255,255,255,0.35);
    transition: color 0.2s;
  }
  .footer-bottom-links a:hover { color: var(--gold); }
  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  }

