/* ═══════════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --navy:    #080d24;
  --navy2:   #0e1535;
  --blue:    #1d4ed8;
  --cyan:    #06b6d4;
  --gold:    #f59e0b;
  --white:   #f8fafc;
  --gray:    #94a3b8;
  --card-bg: rgba(14,21,53,0.85);
  --border:  rgba(6,182,212,0.18);
  --glow:    0 0 40px rgba(6,182,212,0.18);
  --r:       1rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

[dir="rtl"] body,
[dir="rtl"] * {
  font-family: 'IBM Plex Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

section {
  padding: 6rem 0;
}

.container {
  /*max-width: 1120px;*/
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════
   CANVAS — floating particles
═══════════════════════════════════════════════ */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .9rem 0;
  background: rgba(8,13,36,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

.nav-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-brand span {
  color: var(--cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  font-family: inherit;
}

.btn-ghost {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(148,163,184,.25);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--cyan);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(6,182,212,.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(29,78,216,.5);
}

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #fb923c);
  color: #0a0f2e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,158,11,.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,158,11,.5);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(29,78,216,.22) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(6,182,212,.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 50% 90%, rgba(245,158,11,.08) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .07;
  background-image:
    linear-gradient(rgba(6,182,212,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.35);
  color: var(--cyan);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-float {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow), 0 24px 60px rgba(0,0,0,.5);
  width: 100%;
  max-width: 380px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero-card-float .card-label {
  font-size: .7rem;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}

.ai-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
  font-size: .8rem;
}

.ai-bar-label {
  color: var(--gray);
  flex: 1;
}

.ai-bar-track {
  flex: 2;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 .8rem;
}

.ai-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 1.5s ease;
}

.ai-bar-val {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--cyan);
  font-size: .75rem;
  min-width: 32px;
  text-align: right;
}

.hero-card-float .card-footer-row {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  background: rgba(29,78,216,.25);
  color: #93c5fd;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .7rem;
}

/* floating badges around card */
.float-badge {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .6rem .9rem;
  font-size: .75rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  white-space: nowrap;
}

.float-badge.top-right {
  top: -20px;
  right: -20px;
  color: var(--gold);
  animation: float 4s ease-in-out infinite .5s;
}

.float-badge.bottom-left {
  bottom: -16px;
  left: -20px;
  color: var(--cyan);
  animation: float 4.5s ease-in-out infinite 1s;
}

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar {
  padding: 2.5rem 0;
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: 'DM Serif Display', serif;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .8rem;
  color: var(--gray);
  margin-top: .2rem;
}

.stat-divider {
  width: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--cyan);
}

.section-body {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.feature-list .icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  margin-top: .1rem;
}

.feature-list .text strong {
  display: block;
  margin-bottom: .1rem;
  font-size: .9rem;
}

.feature-list .text span {
  color: var(--gray);
  font-size: .82rem;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  transition: transform .2s, box-shadow .2s;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.mini-card .mc-icon {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

.mini-card .mc-title {
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .3rem;
}

.mini-card .mc-text {
  color: var(--gray);
  font-size: .78rem;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how {
  background: var(--navy2);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 0;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(6,182,212,.35);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  font-family: 'IBM Plex Sans',sans-serif;
}

.step-card p {
  color: var(--gray);
  font-size: .82rem;
}

/* ═══════════════════════════════════════════════
   ROLES SECTION
═══════════════════════════════════════════════ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.role-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity .3s;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.role-card:hover::before {
  opacity: 1;
}

.role-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.role-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  font-family: 'IBM Plex Sans',sans-serif;
}

.role-card p {
  color: var(--gray);
  font-size: .85rem;
  margin-bottom: 1.2rem;
}

.role-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.role-features li {
  font-size: .8rem;
  color: var(--gray);
  display: flex;
  gap: .5rem;
}

.role-features li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.faq {
  background: var(--navy2);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(6,182,212,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: transform .3s;
  color: var(--cyan);
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.4rem;
  color: var(--gray);
  font-size: .88rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.2rem;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section .bg-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(29,78,216,.2) 0%, transparent 65%);
}

.cta-box {
  position: relative;
  z-index: 2;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow), 0 24px 80px rgba(0,0,0,.4);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--navy2);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  color: var(--gray);
  font-size: .82rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--gray);
  font-size: .82rem;
  transition: color .2s;
}

.footer-right a:hover {
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero .container,
  .about .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .roles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2,1fr);
  }

  .about-visual {
    display: none;
  }
}

@media (max-width: 600px) {
  .roles-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   FORMULAIRES (register, login)
============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-group input::placeholder {
    color: var(--gray);
    opacity: 0.6;
}

.form-group select option {
    background: var(--navy2);
    color: var(--white);
}

.input-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--gray);
}

.error-message {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.register-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.45);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'DM Serif Display', serif;
    line-height: 1.2;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Bouton plein largeur */
.btn-block {
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

/* Styles de la version 2 améliorés */
.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.wf-step {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    color: #94a3b8;
}
.wf-step .wf-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #334155;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
}
.wf-step.done .wf-num  { background: #16a34a; border-color: #16a34a; color: #fff; }
.wf-step.active .wf-num{ background: #1d4ed8; border-color: #06b6d4; color: #fff; }
.wf-step.active { color: #e2e8f0; }
.wf-sep { width: 36px; height: 2px; background: #334155; margin: 0 .25rem; }
.wf-sep.done { background: #16a34a; }

.section-block {
    background: rgba(30,41,59,.5);
    border: 1px solid rgba(6,182,212,.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.section-block h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #06b6d4;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.consent-box {
    background: rgba(29,78,216,.08);
    border: 1px solid rgba(29,78,216,.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.consent-box p {
    font-size: .85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.consent-box strong { color: #e2e8f0; }
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(6,182,212,.1);
    border: 1px solid rgba(6,182,212,.3);
    color: #06b6d4;
    border-radius: 20px;
    padding: .25rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
/* Sélecteur de langue */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}
.lang-btn {
    background: rgba(30,41,59,.8);
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: .8rem;
    text-decoration: none;
}
.lang-btn.active {
    background: #1d4ed8;
    border-color: #06b6d4;
    color: white;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
    color: #e2e8f0;
    font-size: .9rem;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .6rem .8rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #f8fafc;
    font-size: .9rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
}
.btn {
    background: #1d4ed8;
    color: white;
    padding: .8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn:hover {
    background: #2563eb;
}
.btn-block {
    width: 100%;
}
.error-message {
    background: rgba(220,38,38,.1);
    border: 1px solid #dc2626;
    color: #fecaca;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.text-center {
    text-align: center;
}
