/* ============================================================
   CONNECT.corsica - Charte Graphique & Styles Communs
   ============================================================ */

@import url('https://fonts\2e googleapis\2e com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --p-navy: #0f2338;
  --p-dark: #182b3c;
  --lime: #95c11f;
  --lime-hover: #82a819;
  --lime-dark: #7da517;
  --lime-soft: rgba(149, 193, 31, 0.15);
  --bg-body: #f3f5f8;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text-main: #1d1d1f;
  --text-muted: #64748b;
  --radius: 20px;
  --red: #ff3b30;
  --green: #15803d;
  --orange: #ea580c;
  --blue: #0284c7;
  --purple: #7c3aed;
  --shadow: 0 12px 32px rgba(15, 35, 56, 0.06);
  --apple-shadow: 0 12px 32px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Suppression propre de la 2ème barre de défilement */
html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* En-têtes de marque */
.top-brand {
  font-size: clamp(2rem, 6.5vw, 3.5rem);
  font-weight: 900;
  color: var(--p-navy);
  text-align: center;
  padding-top: 15px;
  padding-bottom: 5px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.text-gradient {
  color: var(--lime);
  background: linear-gradient(120deg, var(--lime) 0%, var(--p-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.logo-brand {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--p-navy);
}

.logo-connect {
  background: linear-gradient(120deg, var(--lime) 0%, var(--p-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges colorés des 13 métiers */
.trade-letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.badge-letter-A { background: #ff2d55; }
.badge-letter-B { background: #ff9500; }
.badge-letter-C { background: #00c7be; }
.badge-letter-D { background: #007aff; }
.badge-letter-E { background: #34c759; }
.badge-letter-F { background: #ff3b30; }
.badge-letter-G { background: #af52de; }
.badge-letter-H { background: #5856d6; }
.badge-letter-I { background: #30b0c7; }
.badge-letter-J { background: #ffcc00; color: #1c1c1e; }
.badge-letter-K { background: #ff6482; }
.badge-letter-L { background: #00e5ff; color: #1c1c1e; }
.badge-letter-M { background: #8b5cf6; color: #ffffff; }
.badge-letter-AUTRE { background: #64748b; }

/* Pastilles colorées des secteurs géographiques */
.sector-number {
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.sector-number.group-1 { background: #dbeafe; color: #1d4ed8; }
.sector-number.group-2 { background: #fef3c7; color: #b45309; }
.sector-number.group-3 { background: #dcfce7; color: #15803d; }
.sector-number.group-4 { background: #f3e8ff; color: #6b46c1; }

/* Pied de page standard */
footer {
  background-color: var(--p-navy);
  border-top: 4px solid var(--lime);
  padding: 25px 15px;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-radius: var(--radius);
  max-width: 1050px;
  margin: 35px auto 0 auto;
}
footer p { margin-bottom: 6px; }
footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.25s ease;
  cursor: pointer;
}
footer a:hover { color: var(--lime); }
