/* ============================================================
   NEOSOCLE — Design System Direction 2
   Feuille partagée par toutes les pages
   ============================================================ */

/* === VARIABLES === */
:root {
  --bg:       #FAF7F2;
  --bg-alt:   #FFFFFF;
  --dark:     #1C2B3A;
  --mid:      #6B7280;
  --light:    #9CA3AF;
  --border:   #E8E0D5;
  --amber:    #D97706;
  --amber-bg: #FEF3C7;
  --amber-dk: #92400E;
  --terra:    #C84B31;
  --terra-bg: #FAECEA;
  --terra-dk: #9B2C14;
  --serif:    'Fraunces', Georgia, serif;
  --sans:     'Outfit', Arial, sans-serif;

  /* Alias pour les pages utilisant leurs propres variables */
  --accent:   #C84B31;
  --accent2:  #D97706;
  --bleu:     #C84B31;
  --vert:     #D97706;
  --noir:     #1C2B3A;
  --blanc:    #FAF7F2;
  --gris:     #6B7280;
  --gris-clair: #E8E0D5;
  --gris-tres-clair: #FAF7F2;
  --card:     #FFFFFF;
  --card-bg:  #FFFFFF;
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  letter-spacing: -.5px; color: var(--dark); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { width: 32px; height: 32px; display: block; }
.nav-logo .neo { color: var(--dark); }
.nav-logo .socle { color: var(--amber); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--mid); text-decoration: none;
  font-weight: 400; transition: color .15s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--dark); font-weight: 500; }
.nav-cta {
  background: var(--dark) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 500;
  transition: background .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--terra) !important; color: #fff !important; }
@media (max-width: 780px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 12px 20px; }
  .nav-logo span { display: none; }
}

/* === PIONEER BANNER === */
.pioneer-banner {
  background: var(--amber-bg); border-bottom: 1px solid #FDE68A;
  padding: .625rem 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.pioneer-badge {
  font-size: 11px; font-weight: 500; color: var(--amber-dk);
  background: #FDE68A; padding: 3px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0;
}
.pioneer-text { font-size: 13px; color: #78350F; flex: 1; min-width: 200px; }
.pioneer-count { font-size: 12px; color: var(--amber-dk); font-weight: 500; white-space: nowrap; margin-left: auto; }

/* === BOUTONS COMMUNS === */
.btn-primary, a.btn-primary, button.btn-primary {
  background: var(--terra) !important; color: #fff !important;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 14px 26px; border-radius: 8px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s; border: none; cursor: pointer;
}
.btn-primary:hover, a.btn-primary:hover { background: var(--terra-dk) !important; transform: translateY(-1px); }
.btn-secondary, a.btn-secondary {
  background: transparent !important; color: var(--dark) !important;
  border: 1.5px solid var(--border) !important; font-family: var(--sans);
  font-size: 15px; font-weight: 500; padding: 13px 24px; border-radius: 8px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--dark) !important; }

/* === FOOTER === */
footer {
  background: var(--dark) !important; color: rgba(250,247,242,.6);
  padding: 56px 32px 28px; border-top: 1px solid rgba(250,247,242,.06);
}
.footer-inner { max-width: 1180px; margin: 0 auto; display: block !important; text-align: left; }
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 44px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 22px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr !important; } }
.footer-brand { display: block !important; }
.footer-brand h4 {
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: #FAF7F2;
  margin-bottom: 5px; letter-spacing: -.25px; display: flex !important; align-items: center; gap: 10px;
}
.footer-brand h4 img { width: 28px; height: 28px; display: inline-block !important; }
.footer-brand h4 .socle { color: var(--amber); }
.footer-brand .footer-tagline {
  display: block !important; font-size: 12px; color: rgba(250,247,242,.45);
  font-weight: 400; margin-bottom: 14px;
}
.footer-brand > p {
  display: block !important; font-size: 13px; line-height: 1.65;
  max-width: 280px; margin-bottom: 18px; color: rgba(250,247,242,.55); text-align: left;
}
.footer-col { display: block !important; }
.footer-col h5 {
  display: block !important; font-size: 11px; font-weight: 500;
  color: rgba(250,247,242,.5); margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; text-align: left;
}
.footer-col ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-col li { display: block !important; padding: 4px 0; }
.footer-col a { color: rgba(250,247,242,.55); text-decoration: none; font-size: 13px; transition: color .15s; display: block; text-align: left; }
.footer-col a:hover { color: #FAF7F2; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,242,.06); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px;
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal a { color: rgba(250,247,242,.4); text-decoration: none; }
.footer-bottom .legal a:hover { color: #FAF7F2; }

/* === SECTIONS COMMUNES === */
.section { padding: 80px 32px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 1rem;
}
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.2; letter-spacing: -.25px; }
.section-sub { font-size: 16px; color: var(--mid); margin-bottom: 3rem; max-width: 640px; line-height: 1.65; }

/* === STRIP OUTILS === */
.strip {
  background: #fff; padding: 36px 32px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.strip-inner { max-width: 1180px; margin: 0 auto; }
.strip-label {
  font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mid); text-align: center; margin-bottom: 20px;
}
.strip-tools { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: center; }
.strip-tool { font-size: 15px; font-weight: 500; color: var(--mid); opacity: .65; transition: opacity .15s; }
.strip-tool:hover { opacity: 1; }

/* === UTILITAIRES === */
.tag-amber { background: var(--amber-bg); color: var(--amber-dk); }
.tag-terra { background: var(--terra-bg); color: var(--terra-dk); }

@media (max-width: 600px) {
  .section { padding: 56px 20px; }
  footer { padding: 44px 20px 22px; }
  .pioneer-banner { padding: .5rem 1.25rem; }
}

/* === MODALES (styles injectés dynamiquement par les scripts JS) === */