/* =========================================================
   Smition — Studio web & plateforme SaaS
   Design system
   ---------------------------------------------------------
   Couleurs avec un rôle précis :
   - azure  : couleur de marque, actions principales
   - mint   : RÉSERVÉ à Smition (signale « le produit »)
   - amber  : seul accent chaud, usage rare (offre recommandée)
   ========================================================= */

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

:root {
  --ink:      #0F1219;
  --ink-2:    #151924;
  --ink-3:    #1A2030;
  --line:     rgba(255,255,255,0.08);
  --line-2:   rgba(255,255,255,0.15);

  --text:     #E8E9EE;
  --muted:    #969CAB;
  --faint:    #5C6378;

  --azure:    #4C8DFF;
  --azure-2:  #6BA4FF;
  --azure-soft: rgba(76,141,255,0.12);
  --azure-line: rgba(76,141,255,0.30);

  --mint:     #2EC79A;
  --mint-soft: rgba(46,199,154,0.12);

  --amber:    #F4A83D;

  --paper:    #F2F3EE;
  --paper-2:  #E7E9E1;
  --paper-ink:#11131A;
  --paper-muted:#565C52;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;

  --display: 'Bricolage Grotesque', 'Syne', sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --maxw: 1080px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--azure); color: #fff; }

a { color: inherit; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

section, header[id], #top { scroll-margin-top: 84px; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.divider { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--azure-line);
}

.h-sec {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch;
  margin-top: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-2); background: rgba(255,255,255,0.05); }
.btn svg { width: 1em; height: 1em; }

.btn--primary {
  background: var(--azure);
  border-color: var(--azure);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--azure);
}
.btn--primary:hover { background: var(--azure-2); border-color: var(--azure-2); box-shadow: 0 12px 30px -10px var(--azure); }

.btn--mint { background: var(--mint); border-color: var(--mint); color: #04130d; box-shadow: 0 8px 24px -10px var(--mint); }
.btn--mint:hover { background: #36d6a8; border-color: #36d6a8; }

.btn--sm { padding: 0.6em 1.1em; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--azure), var(--mint));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 15px; color: #06121f;
}
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand__name b { color: var(--azure); }

.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none; transition: color .2s ease;
}
.nav__links a:hover { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 0.9rem; }

.nav__burger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav__burger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero__glow {
  position: absolute; z-index: 0; top: -10%; right: -5%;
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, var(--azure-soft), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: 999px;
  background: var(--ink-2);
}
.hero__eyebrow .ping { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: ping 2.4s infinite; }

.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  line-height: 1.02; letter-spacing: -0.03em;
  margin: 1.6rem 0 0;
  max-width: 16ch;
}
.hero__title .accent {
  position: relative;
  background: linear-gradient(100deg, var(--azure), var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 50ch; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3.2rem; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.stat__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* trajectoire ascendante (signature) */
.trajectory { position: absolute; right: var(--pad); bottom: 6%; width: min(38%, 360px); z-index: 0; opacity: 0.9; pointer-events: none; }
.trajectory path.line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .4s ease forwards; }
.trajectory circle { opacity: 0; animation: pop .4s 2.4s ease forwards; }

@media (max-width: 760px) { .trajectory { display: none; } }

/* ---------- Duo (positionnement) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.duo__card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ink-2); padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.duo__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.duo__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azure); }
.duo__card--product .duo__tag { color: var(--mint); }
.duo__card h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; margin: 0.8rem 0 0.6rem; }
.duo__card p { color: var(--muted); font-size: 0.98rem; }
.duo__card .duo__more { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1.3rem; font-family: var(--mono); font-size: 12px; color: var(--azure); text-decoration: none; }
.duo__card--product .duo__more { color: var(--mint); }
.duo__more svg { width: 13px; height: 13px; transition: transform .2s ease; }
.duo__card:hover .duo__more svg { transform: translateX(3px); }
.duo__card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--azure);
}
.duo__card--product::after { background: var(--mint); }

/* ---------- Tiers (offres) ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; margin-top: 3rem; }
.tier {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ink-2); padding: 1.8rem;
  transition: border-color .2s ease, transform .2s ease;
}
.tier:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tier--featured {
  border-color: var(--azure-line);
  background: linear-gradient(180deg, var(--azure-soft), var(--ink-2) 30%);
  box-shadow: 0 24px 60px -32px var(--azure);
}
.tier__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tier__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.tier__badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2a1c05; background: var(--amber); padding: 0.35em 0.7em; border-radius: 999px; font-weight: 700;
}
.tier__role { color: var(--faint); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; margin-top: 0.5rem; }
.tier__price { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; margin: 1.2rem 0 0.2rem; }
.tier__price span { font-family: var(--mono); font-size: 0.8rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier__list { list-style: none; margin: 1.4rem 0 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.tier__list li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--text); }
.tier__list li::before {
  content: ""; flex-shrink: 0; margin-top: 0.35em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--azure-soft) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C8DFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.tier__list li.incl { color: var(--muted); }
.tier__list li.incl::before { background-color: rgba(255,255,255,0.05); background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23969CAB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.tier .btn { width: 100%; justify-content: center; }

/* ---------- Abonnement ---------- */
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.6rem; }
.sub {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.sub__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sub__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.sub__price { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; white-space: nowrap; }
.sub__price span { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.sub__desc { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
.sub__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4em 0.85em; background: var(--ink-3);
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
.step { border-top: 2px solid var(--line); padding-top: 1.2rem; }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--azure); letter-spacing: 0.1em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 0.7rem 0 0.5rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Smition (panneau lumineux inversé) ---------- */
.smition {
  background: var(--paper); color: var(--paper-ink);
  border-radius: clamp(20px, 4vw, 40px);
  margin-inline: var(--pad);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.smition__wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 0; }
.smition__deco {
  position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, var(--mint-soft), transparent 70%);
  pointer-events: none;
}
.smition .eyebrow { color: var(--mint); }
.smition .eyebrow::before { background: var(--mint); }
.smition__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.smition__lead { color: var(--paper-muted); font-size: clamp(1.02rem, 1.7vw, 1.18rem); max-width: 56ch; margin-top: 1.2rem; }
.smition__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.feat {
  background: rgba(255,255,255,0.55); border: 1px solid var(--paper-2);
  border-radius: var(--r); padding: 1.4rem;
}
.feat__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint); margin-bottom: 0.9rem;
}
.feat__icon svg { width: 19px; height: 19px; }
.feat h4 { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.feat p { color: var(--paper-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.smition__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.smition__note { font-family: var(--mono); font-size: 11.5px; color: var(--paper-muted); }

/* ---------- Réalisations ---------- */
.work {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; margin-top: 3rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2);
}
.work__media {
  position: relative; min-height: 320px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(76,141,255,0.18), transparent 55%),
    radial-gradient(120% 120% at 90% 90%, rgba(46,199,154,0.16), transparent 55%),
    var(--ink-3);
  display: grid; place-items: center; padding: 2rem;
}
.work__mock {
  width: 100%; max-width: 360px; aspect-ratio: 4/3;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  overflow: hidden; display: flex; flex-direction: column;
}
.work__bar { height: 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.work__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; }
.work__screen { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.work__screen .ln { height: 9px; border-radius: 4px; background: var(--ink-3); }
.work__screen .ln.w1 { width: 70%; background: linear-gradient(90deg, var(--azure), transparent); }
.work__screen .ln.w2 { width: 90%; }
.work__screen .ln.w3 { width: 55%; }
.work__screen .ln.tall { height: 54px; margin-top: 6px; background: var(--ink); border: 1px solid var(--line); }
.work__body { padding: clamp(1.6rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; }
.work__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.work__name { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; margin: 0.6rem 0 0.2rem; }
.work__desc { color: var(--muted); font-size: 0.98rem; margin-top: 0.6rem; }
.work__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.4rem 0; }
.work__link { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--mono); font-size: 12.5px; color: var(--azure); text-decoration: none; margin-top: auto; }
.work__link:hover { text-decoration: underline; }
.work__link svg { width: 13px; height: 13px; }
.work__hint { margin-top: 1.6rem; font-family: var(--mono); font-size: 12px; color: var(--faint); text-align: center; }

/* ---------- Stack ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--mono); font-size: 13px; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.55em 1.05em; background: var(--ink-2);
  transition: border-color .2s ease;
}
.pill:hover { border-color: var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot--fe { background: var(--azure); }
.dot--be { background: var(--mint); }
.dot--db { background: var(--amber); }
.dot--to { background: var(--faint); }
.legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.6rem; }
.contact__info p { color: var(--muted); margin-bottom: 2rem; }
.contact__rows { display: flex; flex-direction: column; gap: 1rem; }
.contact__row { display: flex; align-items: center; gap: 0.7rem; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.contact__row a { color: var(--azure); text-decoration: none; }
.contact__row a:hover { text-decoration: underline; }
.contact__row svg { width: 16px; height: 16px; color: var(--faint); flex-shrink: 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.95rem; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.8em 0.9em; width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px var(--azure-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23969CAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8em center; background-size: 16px; padding-right: 2.2em; }
.field .err { font-size: 0.8rem; color: #ff8d7a; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: #ff8d7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__status { font-family: var(--mono); font-size: 12.5px; }
.form__status.ok { color: var(--mint); }
.form__status.ko { color: #ff8d7a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.2rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46,199,154,0.5); } 70% { box-shadow: 0 0 0 8px rgba(46,199,154,0); } 100% { box-shadow: 0 0 0 0 rgba(46,199,154,0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__eyebrow { animation: fadeUp .6s ease both; }
.hero__title { animation: fadeUp .7s .08s ease both; }
.hero__sub { animation: fadeUp .7s .16s ease both; }
.hero__actions { animation: fadeUp .7s .24s ease both; }
.hero__stats { animation: fadeUp .7s .32s ease both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier--featured { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .smition__grid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .work__media { min-height: 240px; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn:not(.nav__burger) { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 1.2rem;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 1.4rem var(--pad);
  }
  .duo, .subs { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } .hero__stats { gap: 1.6rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .trajectory path.line { stroke-dashoffset: 0; }
  .trajectory circle { opacity: 1; }
}

/* =========================================================
   Espace admin
   ========================================================= */
.admin-body { background: var(--ink); }
.btn--danger { color: #ff8d7a; border-color: rgba(255,141,122,0.35); }
.btn--danger:hover { background: rgba(255,141,122,0.12); border-color: rgba(255,141,122,0.55); }

/* Connexion */
.login { min-height: 100vh; display: grid; place-items: center; padding: var(--pad); }
.login__card {
  width: 100%; max-width: 400px;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.6rem);
}
.login__title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.login__hint { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 1.6rem; }
.login__hint code { font-family: var(--mono); font-size: 0.85em; color: var(--azure); background: var(--azure-soft); padding: 0.15em 0.45em; border-radius: 6px; }
.login__error { color: #ff8d7a; font-family: var(--mono); font-size: 0.85rem; margin-bottom: 1rem; }
.login__back { display: inline-block; margin-top: 1.6rem; font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: none; }
.login__back:hover { color: var(--text); }

/* Barre du haut admin */
.admin-top { border-bottom: 1px solid var(--line); background: var(--ink-2); }
.admin-top__inner { max-width: 920px; margin: 0 auto; padding: 1rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-top__right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.admin-count { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.admin-count b { color: var(--azure); }

/* Contenu admin */
.admin-main { max-width: 920px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--pad); }
.admin-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 2rem; }

.admin-empty { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 3rem 1.5rem; text-align: center; }
.admin-empty p { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.admin-empty span { color: var(--muted); font-size: 0.95rem; }

.msg-list { display: flex; flex-direction: column; gap: 1rem; }
.msg {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2);
  padding: 1.4rem; position: relative;
}
.msg--unread { border-color: var(--azure-line); }
.msg--unread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--azure); border-radius: var(--r) 0 0 var(--r); }
.msg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.msg__who { display: flex; flex-direction: column; gap: 0.15rem; }
.msg__name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.msg__mail { font-family: var(--mono); font-size: 12.5px; color: var(--azure); text-decoration: none; }
.msg__mail:hover { text-decoration: underline; }
.msg__meta { display: flex; align-items: center; gap: 0.7rem; }
.msg__badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--azure); padding: 0.3em 0.6em; border-radius: 999px; }
.msg__date { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.msg__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0; }
.msg__tags:empty { display: none; }
.msg__body { color: var(--text); font-size: 0.96rem; white-space: pre-wrap; line-height: 1.65; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }

@media (max-width: 520px) {
  .admin-top__inner { flex-direction: column; align-items: flex-start; }
  .msg__actions .btn { flex: 1; justify-content: center; }
}