/* =====================================================
   Jobnure — Design System v4 (Gris perle + Cyan/Teal)
   ===================================================== */

:root {
  /* --- Palette : gris perle + cyan-teal --- */
  --bg: #f3f6f8;
  --bg-2: #e6edf1;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --line: #cfd8dd;
  --line-2: #a9b7bf;

  /* --- Texte --- */
  --text: #14252d;
  --text-mute: #5b6c74;
  --text-soft: #33474f;

  /* --- Accents --- */
  --accent: #0d9488; /* Cyan-teal principal */
  --accent-2: #475569; /* Slate secondaire */
  --accent-3: #a7dfd9; /* Halo cyan clair */
  --accent-dark:#0b7a70;

  /* --- États --- */
  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;

  /* --- Typographie Uniforme --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.35rem;
  --fs-h2: 1.85rem;
  --fs-h1: 2.5rem;
}

/* =====================================================
   PATCH EMOMIS DRAPEAUX POUR WINDOWS
   ===================================================== */
@font-face {
  font-family: 'Twemoji Country Flags';
  unicode-range: U+1F1E6-1F1FF;
  src: url('https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2') format('woff2');
}

/* =====================================================
   RESET & STRUCTURES DE BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans), 'Twemoji Country Flags';
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, .h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 700; margin: 0 0 15px; }
h2, .h2 { font-family: var(--font-serif); font-size: var(--fs-h2); font-weight: 600; margin: 0 0 12px; }
h3, .h3 { font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 600; margin: 0 0 10px; }

p { margin: 0 0 15px; }
.muted { color: var(--text-mute); }
.eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

/* =====================================================
   COMPOSANTS & BOUTONS CONFIGURÉS OVALES (CAPTURE 18)
   ===================================================== */
button, 
input[type="submit"], 
input[type="button"], 
.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans), 'Twemoji Country Flags' !important;
  font-size: var(--fs-sm) !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 50px !important; /* Design ovale moderne */
  border: 1.5px solid transparent !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

input[type="submit"],
.btn--primary {
  background-color: var(--accent) !important;
  color: #ffffff !important;
}

input[type="submit"]:hover,
.btn--primary:hover {
  background-color: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

#use_gps,
.btn--ghost {
  background: transparent !important;
  border: 1.5px solid var(--accent) !important;
  color: var(--accent) !important;
}

#use_gps:hover,
.btn--ghost:hover {
  background: var(--accent-3) !important;
  color: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

.btn--err {
  background: transparent !important;
  border-color: var(--err) !important;
  color: var(--err) !important;
}
.btn--err:hover {
  background: #fdf2f2 !important;
}

.btn--lg { padding: 14px 32px !important; font-size: var(--fs-base) !important; }
.btn--sm { padding: 8px 16px !important; font-size: var(--fs-xs) !important; }

/* =====================================================
   NAVIGATION BAR (OPTIMISÉE & RESPONSIVE)
   ===================================================== */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  width: 100%;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: var(--fs-lg);
}

.brand__dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: color 0.2s ease;
}

.nav__links a:not(.btn):hover {
  color: var(--accent);
}

/* Lang Switch */
.lang-switch {
  position: relative;
}

.lang-btn {
  background: var(--surface-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 50px !important;
  padding: 6px 14px !important;
  font-size: var(--fs-xs) !important;
  color: var(--text-soft) !important;
}

/* =====================================================
   COMPOSANTS STANDARDS
   ===================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-2);
  color: var(--accent-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero__pill .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(2rem, 5vw, var(--fs-h1));
  max-width: 800px;
  margin: 0 auto 15px;
}

.hero__sub {
  color: var(--text-mute);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto 40px;
}

.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.choice__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  text-decoration: none;
  color: var(--text);
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.choice__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.05);
}

.choice__icon {
  margin-bottom: 20px;
  font-size: 2rem;
}

.choice__title {
  margin: 0 0 10px;
  font-size: var(--fs-h3);
}

.choice__desc {
  margin: 0;
  color: var(--text-mute);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.choice__arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: var(--fs-lg);
  color: var(--accent);
  font-weight: bold;
}

.flash {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.flash--ok { background: #e6f9ed; color: var(--ok); border-color: #bee3cb; }
.flash--err { background: #fdf2f2; color: var(--err); border-color: #f1cfcf; }

/* =====================================================
   FORMULAIRES GRILLE V4 & SELECTIONS MULTIPLES
   ===================================================== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  max-width: 680px;
  margin: 0
