/* ============================================
   Influency — Design System
   Noir / Violet / Rose / Orange — style influenceur, moderne
   ============================================ */

:root {
  --noir:        #FFFFFF;   /* fond principal (blanc) */
  --noir-2:      #F5F5F8;   /* cartes / sections (gris très clair) */
  --noir-3:      #ECECF2;   /* champs / bordures */
  --orange:      #FF6A2B;
  --orange-soft: #E8551A;
  --jaune:       #FFB020;
  --jaune-soft:  #E89500;
  --violet:      #8B2FC9;
  --violet-soft: #7322A8;
  --rose:        #F0308C;
  --rose-soft:   #D41F76;
  --blanc:       #14141A;   /* texte principal (sombre) */
  --gris:        #5A5A6B;   /* texte secondaire */
  --gris-2:      #9494A4;   /* texte tertiaire */
  --vert:        #1FA85B;
  --rouge:       #E63449;

  /* Dégradé de marque Influency : violet -> rose -> orange */
  --grad: linear-gradient(115deg, var(--violet) 0%, var(--rose) 50%, var(--orange) 100%);
  --grad-inv: linear-gradient(115deg, var(--orange) 0%, var(--rose) 50%, var(--violet) 100%);

  --radius:   18px;
  --radius-lg: 28px;
  --shadow:   0 10px 40px rgba(0,0,0,.10);
  --shadow-glow: 0 8px 30px rgba(240,48,140,.30);

  --font-display: "Clash Display", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--noir);
  color: var(--blanc);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--grad); color: var(--blanc); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(240,48,140,.35); }
.btn-ghost { background: transparent; color: var(--blanc); border: 1.5px solid var(--noir-3); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Cartes ---------- */
.card {
  background: var(--noir-2);
  border: 1px solid var(--noir-3);
  border-radius: var(--radius);
  padding: 26px;
}

/* ---------- Champs de formulaire ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; color: var(--gris); margin-bottom: 7px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--noir-3); border: 1.5px solid transparent; color: var(--blanc);
  font-family: var(--font-body); font-size: 1rem; transition: border-color .16s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); }
.input::placeholder, .textarea::placeholder { color: var(--gris-2); }
.textarea { resize: vertical; min-height: 96px; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.pill-orange { background: rgba(255,106,43,.15); color: var(--orange-soft); }
.pill-jaune { background: rgba(255,210,63,.15); color: var(--jaune); }
.pill-vert { background: rgba(46,204,113,.15); color: var(--vert); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--noir-3);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; display: block; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--gris); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--blanc); }
.nav-burger { display: none; background: none; border: none; color: var(--blanc); font-size: 1.6rem; cursor: pointer; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ---------- Utilitaires ---------- */
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--gris); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.hidden { display: none !important; }
.grid { display: grid; gap: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--orange); }

/* Alertes */
.alert { padding: 12px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 14px; }
.alert-error { background: rgba(255,71,87,.12); color: #ff8b95; border: 1px solid rgba(255,71,87,.3); }
.alert-ok { background: rgba(46,204,113,.12); color: #6be29a; border: 1px solid rgba(46,204,113,.3); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
