/* ===========================================================
   SWIPING — swiping.css  (CSS UNIFIÉ)
   Remplace site.css + style.css + app.css
   Design system : SaaS pro clair — navbar blanche sticky,
   hero pâle bleuté, accents #2563EB → #06B6D4
   =========================================================== */

/* ═══════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --bg:            #F7FAFD;
  --bg-hero:       linear-gradient(160deg, #EDF4FE 0%, #F7FBFF 55%, #EAF6FB 100%);
  --surface:       #FFFFFF;
  --ink:           #17233A;
  --muted:         #5D6B82;
  --line:          #E4EAF3;
  --blue:          #2563EB;
  --cyan:          #06B6D4;
  --red:           #E11D48;
  --grad:          linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --shadow-sm:     0 1px 2px rgba(15,40,90,.05);
  --shadow-md:     0 10px 30px rgba(15,40,90,.10);
  --shadow-lg:     0 24px 60px rgba(15,40,90,.14);
  --radius:        16px;
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; overflow-x: hidden; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-width: 320px;
  background:
    radial-gradient(circle at 88% -10%, rgba(37,99,235,.07), transparent 40%),
    radial-gradient(circle at -8% 100%, rgba(6,182,212,.06), transparent 38%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; line-height: 1.65; }

.has-mobile-nav { padding-bottom: 80px; }
@media (min-width: 768px) { .has-mobile-nav { padding-bottom: 0; } }

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
/* site.css uses sw-container, app pages use .container — both work */
.sw-container, .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.sw-icon, .icon { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════════ */
.sw-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 12px; text-transform: none; letter-spacing: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease,
              border-color .18s ease, color .18s ease, filter .18s ease;
}
.sw-btn--primary, .btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(37,99,235,.28);
}
.sw-btn--primary:hover, .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37,99,235,.36);
  filter: brightness(1.05);
}
.sw-btn--outline {
  background: var(--surface); color: var(--blue);
  border: 1.5px solid rgba(37,99,235,.45);
}
.sw-btn--outline:hover { border-color: var(--blue); background: rgba(37,99,235,.05); transform: translateY(-1px); }
.sw-btn--full, .btn--full { width: 100%; justify-content: center; }
.sw-btn--lg { padding: 16px 32px; font-size: 16px; }
.sw-btn--white { background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(9,30,66,.18); }
.sw-btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(9,30,66,.24); }
/* compat style.css classes */
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(15,40,90,.22); }
.btn--dark:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn--ghost-light { background: rgba(37,99,235,.08); color: var(--blue); }
.btn--ghost-light:hover { background: rgba(37,99,235,.14); }

/* Lien outline (pages app) */
.link-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--muted); background: none; border: none; padding: 10px 14px;
  border-radius: 10px; transition: color .15s, background .15s;
}
.link-ghost:hover { color: var(--ink); background: rgba(37,99,235,.05); }
.link-ghost--desktop { display: inline-flex; }

/* ═══════════════════════════════════════════════
   NAVBAR (commune à toutes les pages)
═══════════════════════════════════════════════ */
.sw-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.sw-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.sw-brand, .brand {
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
}
.sw-brand span, .brand__dot {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sw-nav__links { display: none; align-items: center; gap: 6px; }
@media (min-width: 880px) { .sw-nav__links { display: flex; } }
.sw-nav__link {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--muted);
  border-radius: 10px; transition: color .15s, background .15s;
}
.sw-nav__link:hover { color: var(--ink); background: rgba(37,99,235,.05); }
.sw-nav__link.is-active { color: var(--blue); font-weight: 600; }
.sw-nav__link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2.5px; border-radius: 2px; background: var(--grad);
}
.sw-nav__cta { display: none; }
@media (min-width: 880px) { .sw-nav__cta { display: inline-flex; padding: 11px 20px; font-size: 14px; } }

/* Burger */
.burger-btn {
  display: flex; width: 44px; height: 44px; align-items: center;
  justify-content: center; flex-direction: column; gap: 5px;
  background: rgba(37,99,235,.06); border-radius: 12px; flex-shrink: 0;
}
@media (min-width: 880px) { .burger-btn { display: none; } }
.burger-btn span { display: block; width: 22px; height: 2px; background: var(--ink); transition: .25s; border-radius: 2px; }
.burger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-open span:nth-child(2) { opacity: 0; }
.burger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger-menu {
  display: none; position: fixed; top: 84px; left: 16px; right: 16px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.burger-menu.is-open { display: flex; flex-direction: column; gap: 4px; }
.burger-menu a { padding: 13px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); font-size: 15px; }
.burger-menu a:hover { background: rgba(37,99,235,.06); color: var(--blue); }
.burger-menu .sw-btn--primary, .burger-menu .btn--primary { color: #fff !important; margin-top: 6px; }

/* ═══════════════════════════════════════════════
   EYEBROW / PASTILLES
═══════════════════════════════════════════════ */
.sw-eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--blue); background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.16);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 12px;
}
.sw-eyebrow--solid, .eyebrow--green { background: var(--grad); color: #fff; border-color: transparent; }
.eyebrow--dark { background: var(--ink); color: #fff; border-color: transparent; }

/* ═══════════════════════════════════════════════
   HERO (index.html)
═══════════════════════════════════════════════ */
.sw-hero { background: var(--bg-hero); border-bottom: 1px solid var(--line); overflow: hidden; }
.sw-hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
  padding: 56px 0 72px;
}
@media (min-width: 960px) { .sw-hero__grid { grid-template-columns: 1.05fr 0.95fr; padding: 96px 0 120px; gap: 40px; } }
.sw-hero h1 { font-size: clamp(38px,5.6vw,62px); line-height: 1.08; margin: 22px 0; }
.sw-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-hero__text { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.sw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sw-hero__proof { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.sw-hero__proof strong { color: var(--ink); }
.sw-hero__visual { position: relative; min-height: 420px; }
@media (max-width: 959px) { .sw-hero__visual { min-height: 380px; } }
.sw-shape { position: absolute; border-radius: 26px; }
.sw-shape--blue { width:46%; aspect-ratio:.82; top:0; left:8%; background:linear-gradient(160deg,#2563EB,#3B82F6 70%); box-shadow:0 24px 50px rgba(37,99,235,.30); }
.sw-shape--cyan { width:40%; aspect-ratio:.86; bottom:0; left:30%; background:linear-gradient(160deg,#22B8E4,#06B6D4); box-shadow:0 24px 50px rgba(6,182,212,.28); }
.sw-shape--white { width:34%; aspect-ratio:.78; top:14%; right:2%; background:#fff; box-shadow:var(--shadow-lg); }
@media (prefers-reduced-motion:no-preference) {
  .sw-shape--blue { animation:swFloat 7s ease-in-out infinite; }
  .sw-shape--cyan { animation:swFloat 8s ease-in-out 1.2s infinite; }
  .sw-shape--white { animation:swFloat 9s ease-in-out .6s infinite; }
  @keyframes swFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
}
.sw-match-card {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  transform: translate(-58%,-46%) rotate(-3deg);
  width: min(320px,78%);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 20px;
}
.sw-match-card__top { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.sw-match-card__avatar { width:44px; height:44px; border-radius:12px; flex-shrink:0; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:15px; }
.sw-match-card__sector { font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.sw-match-card__name { font-size:17px; font-weight:700; color:var(--ink); }
.sw-match-card__desc { font-size:13.5px; color:var(--muted); line-height:1.55; margin-bottom:14px; }
.sw-match-card__tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.sw-match-card__tag { font-size:11.5px; font-weight:500; color:#1D4ED8; background:rgba(37,99,235,.08); padding:4px 10px; border-radius:999px; }
.sw-match-card__status { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:#067647; background:#E7F6EE; border:1px solid #BFE8D2; padding:6px 12px; border-radius:999px; }
.sw-match-card__status svg { width:14px; height:14px; }

/* ═══════════════════════════════════════════════
   SECTIONS GÉNÉRIQUES
═══════════════════════════════════════════════ */
.sw-section { padding: 88px 0; }
@media (max-width:767px) { .sw-section { padding: 60px 0; } }
.sw-section__head { text-align:center; max-width:640px; margin:0 auto 56px; }
.sw-section__head h2 { font-size:clamp(28px,4vw,42px); margin:18px 0 14px; }
.sw-section__head p { color:var(--muted); font-size:17px; }

/* Features grid */
.sw-features { display:grid; grid-template-columns:1fr; gap:22px; }
@media (min-width:768px) { .sw-features { grid-template-columns:repeat(3,1fr); } }
.sw-feature { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow-sm); transition:transform .2s,box-shadow .2s; }
.sw-feature:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.sw-feature__icon { width:52px; height:52px; border-radius:14px; margin-bottom:18px; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(37,99,235,.25); }
.sw-feature__icon svg { width:24px; height:24px; }
.sw-feature h3 { font-size:19px; margin-bottom:10px; }
.sw-feature p { color:var(--muted); font-size:15px; }

/* Rows alternées */
.sw-row { display:grid; grid-template-columns:1fr; gap:36px; align-items:center; padding:44px 0; }
@media (min-width:900px) { .sw-row { grid-template-columns:1fr 1fr; gap:72px; padding:56px 0; } .sw-row--flip .sw-row__visual { order:2; } }
.sw-row h3 { font-size:clamp(24px,3vw,34px); margin:16px 0 14px; }
.sw-row>div>p { color:var(--muted); font-size:16.5px; max-width:460px; }
.sw-checks { list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:13px; }
.sw-checks li { display:flex; align-items:flex-start; gap:12px; font-size:15.5px; color:var(--ink); }
.sw-checks svg { width:20px; height:20px; flex-shrink:0; color:var(--blue); margin-top:1px; }
.sw-row__visual { position:relative; border-radius:22px; min-height:300px; box-shadow:var(--shadow-md); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.sw-row__visual--blue { background:linear-gradient(150deg,#4F46E5,#7C3AED); }
.sw-row__visual--cyan { background:linear-gradient(150deg,#2563EB,#06B6D4); }
.sw-row__visual--rose { background:linear-gradient(150deg,#E879F9,#F43F5E); }
.sw-row__visual .sw-visual-num { font-family:var(--font-display); font-weight:700; font-size:clamp(84px,12vw,140px); color:rgba(255,255,255,.28); user-select:none; }
.sw-row__visual::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 78% 18%,rgba(255,255,255,.22),transparent 42%); }

/* CTA bandeau */
.sw-cta { background:var(--grad); border-radius:24px; padding:64px 32px; text-align:center; position:relative; overflow:hidden; box-shadow:0 20px 50px rgba(37,99,235,.30); }
@media (min-width:768px) { .sw-cta { padding:84px 64px; } }
.sw-cta::before, .sw-cta::after { content:''; position:absolute; border-radius:50%; background:rgba(255,255,255,.10); }
.sw-cta::before { width:340px; height:340px; top:-160px; right:-100px; }
.sw-cta::after { width:260px; height:260px; bottom:-140px; left:-80px; }
.sw-cta h2 { position:relative; z-index:1; color:#fff; font-size:clamp(26px,4vw,42px); max-width:680px; margin:0 auto 16px; line-height:1.2; }
.sw-cta p { position:relative; z-index:1; color:rgba(255,255,255,.88); max-width:460px; margin:0 auto 34px; font-size:17px; }
.sw-cta .sw-btn { position:relative; z-index:1; }

/* Footer site vitrine */
.sw-footer { background:var(--surface); border-top:1px solid var(--line); margin-top:88px; }
.sw-footer__grid { display:grid; grid-template-columns:1fr; gap:36px; padding:56px 0 44px; }
@media (min-width:768px) { .sw-footer__grid { grid-template-columns:1.4fr 1fr 1fr; gap:24px; } }
.sw-footer__brand p { color:var(--muted); font-size:14.5px; max-width:300px; margin-top:12px; }
.sw-footer h4 { font-family:var(--font-body); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--ink); margin:0 0 16px; }
.sw-footer ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.sw-footer ul a { color:var(--muted); font-size:14.5px; transition:color .15s; }
.sw-footer ul a:hover { color:var(--blue); }
.sw-footer__bottom { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:20px 0; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }

/* Footer pages app */
.footer { display:flex; flex-direction:column; gap:16px; align-items:center; justify-content:space-between; padding:40px 0; border-top:1px solid var(--line); }
@media (min-width:640px) { .footer { flex-direction:row; } }
.footer__links { display:flex; gap:24px; font-family:var(--font-body); font-size:13.5px; color:var(--muted); }
.footer__links a:hover { color:var(--blue); }
.brand--muted { color:var(--muted); }

/* ═══════════════════════════════════════════════
   PAGES AUTH (connexion / inscription)
═══════════════════════════════════════════════ */
.sw-auth { min-height:100vh; display:grid; grid-template-columns:1fr; background:var(--bg); }
@media (min-width:960px) { .sw-auth { grid-template-columns:1fr 1fr; } }
.sw-auth__panel { display:none; position:relative; overflow:hidden; background:var(--grad); padding:56px; flex-direction:column; justify-content:space-between; }
@media (min-width:960px) { .sw-auth__panel { display:flex; } }
.sw-auth__panel .sw-brand { color:#fff; }
.sw-auth__panel .sw-brand span { background:none; color:rgba(255,255,255,.8); }
.sw-auth__panel h1 { color:#fff; font-size:clamp(30px,3vw,40px); line-height:1.18; max-width:420px; margin-bottom:16px; }
.sw-auth__panel>div>p { color:rgba(255,255,255,.85); max-width:380px; font-size:16.5px; }
.sw-auth__panel-shape { position:absolute; border-radius:28px; background:rgba(255,255,255,.12); }
.sw-auth__panel-shape--1 { width:220px; height:260px; right:-60px; top:10%; transform:rotate(12deg); }
.sw-auth__panel-shape--2 { width:160px; height:190px; right:18%; bottom:-70px; transform:rotate(-9deg); }
.sw-auth__quote { position:relative; z-index:1; color:rgba(255,255,255,.9); font-size:15px; max-width:380px; }
.sw-auth__quote strong { display:block; color:#fff; margin-top:10px; font-size:14px; }
.sw-auth__main { display:flex; align-items:center; justify-content:center; padding:48px 24px; }
.sw-auth__card { width:100%; max-width:440px; background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-md); padding:40px 36px; }
@media (max-width:479px) { .sw-auth__card { padding:32px 22px; } }
.sw-auth__card .sw-brand { display:inline-block; margin-bottom:28px; }
.sw-auth__card h2 { font-size:26px; margin:0 0 6px; }
.sw-auth__sub { color:var(--muted); font-size:15px; margin-bottom:30px; }
.sw-form { display:flex; flex-direction:column; gap:20px; }
.sw-form-row { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:480px) { .sw-form-row { grid-template-columns:1fr 1fr; } }
.sw-form-group label { display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:8px; }
.sw-form-group input { width:100%; background:#fff; border:1px solid var(--line); border-radius:12px; padding:13px 16px; font-size:15px; color:var(--ink); box-shadow:var(--shadow-sm); transition:border-color .15s,box-shadow .15s; }
.sw-form-group input::placeholder { color:#9AA7BC; }
.sw-form-group input:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.sw-form-error { font-size:13px; font-weight:500; color:#DC2626; margin:-6px 0 0; }
.sw-auth__footnote { text-align:center; color:var(--muted); font-size:14.5px; margin-top:26px; }
.sw-auth__footnote a { color:var(--blue); font-weight:600; }
.sw-auth__footnote a:hover { text-decoration:underline; }

/* ═══════════════════════════════════════════════
   FORMULAIRES (pages app)
═══════════════════════════════════════════════ */
.form, .sw-form { display:flex; flex-direction:column; gap:20px; }
.form-row { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:480px) { .form-row { grid-template-columns:1fr 1fr; } }
.form-group label { display:block; font-family:var(--font-body); font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:8px; text-transform:none; letter-spacing:0; }
.form-group input, .form-group select, .form-group textarea { width:100%; background:#fff; border:1px solid var(--line); border-radius:12px; padding:13px 16px; font-size:14px; color:var(--ink); box-shadow:var(--shadow-sm); transition:border-color .15s,box-shadow .15s; }
.form-group input::placeholder, .form-group textarea::placeholder { color:#9AA7BC; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.form-group textarea { resize:none; }
.form-group select option { background:#fff; }
.form-error, .sw-form-error { font-size:13px; font-weight:500; color:#DC2626; }

.chip-group { display:flex; flex-wrap:wrap; gap:8px; }
.chip { font-family:var(--font-body); font-size:13px; font-weight:500; padding:8px 16px; border-radius:999px; border:1px solid var(--line); color:var(--muted); transition:border-color .2s,color .2s,background .2s; }
.chip:hover { border-color:var(--blue); color:var(--blue); }
.chip.is-active { background:var(--grad); border-color:transparent; color:#fff; }

.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.tag-input-row { display:flex; gap:8px; }
.tag-input-row input { flex:1; }

/* ═══════════════════════════════════════════════
   TAGS
═══════════════════════════════════════════════ */
.tag { font-family:var(--font-body); font-size:12px; font-weight:500; background:rgba(37,99,235,.08); color:#1D4ED8; padding:4px 10px; border-radius:999px; white-space:nowrap; max-width:150px; overflow:hidden; text-overflow:ellipsis; flex-shrink:0; display:inline-block; letter-spacing:0; text-transform:none; }
.tag--dark { background:rgba(23,35,58,.08); color:var(--ink); }
.tag--removable { display:inline-flex; align-items:center; gap:6px; }
.tag--removable .icon { width:12px; height:12px; color:var(--muted); }
.tag--removable button:hover .icon { color:var(--red); }
.tag--more { cursor:pointer; background:rgba(23,35,58,.08); color:var(--ink); }
.tag--more:hover { background:rgba(23,35,58,.15); }
.tag--more-tooltip { display:none; position:fixed; background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 14px; z-index:999; min-width:160px; max-width:220px; font-size:11px; line-height:1.6; box-shadow:var(--shadow-md); }
.tag--more.is-open .tag--more-tooltip { display:block; }

/* ═══════════════════════════════════════════════
   STAMPS (remplacés par des pilules propres)
═══════════════════════════════════════════════ */
.stamp { position:absolute; display:inline-flex; align-items:center; justify-content:center; padding:6px 14px; border-radius:999px; font-family:var(--font-body); font-size:12px; font-weight:600; text-transform:none; letter-spacing:.01em; pointer-events:none; user-select:none; z-index:2; }
.stamp--green { background:var(--grad); color:#fff; box-shadow:0 8px 20px rgba(37,99,235,.25); }
.stamp--red { background:var(--red); color:#fff; }
.stamp--top-right { top:14px; right:14px; transform:none; }
.stamp--top-left { top:14px; left:14px; transform:none; }
.stamp--static { position:static; transform:none; }
.stamp--sm { padding:5px 10px; font-size:11px; }

/* ═══════════════════════════════════════════════
   CARTES JOB (matching / profil preview)
═══════════════════════════════════════════════ */
.job-card { position:relative; width:clamp(280px,88vw,380px); aspect-ratio:1/1; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-md); padding:22px; display:flex; flex-direction:column; gap:12px; user-select:none; overflow:hidden; }
.job-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; position:relative; z-index:1; overflow:hidden; height:70px; text-align:left; flex-shrink:0; }
.job-card__sector { font-family:var(--font-body); font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); display:block; height:14px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.job-card__name { font-size:19px; color:var(--ink); margin-top:4px; line-height:22px; height:44px; overflow:hidden; word-break:break-word; display:block; font-family:var(--font-display); }
.job-card__avatar { width:44px; height:44px; flex-shrink:0; border-radius:12px; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:14px; font-weight:700; }
.job-card__desc { position:relative; z-index:1; font-size:14px; color:rgba(23,35,58,.8); line-height:1.5; overflow:hidden; word-break:break-word; text-align:left; height:140px; max-height:140px; flex-shrink:0; }
.job-card__tags { position:relative; z-index:1; display:flex; flex-wrap:wrap; align-content:flex-end; align-items:flex-end; justify-content:flex-start; gap:8px; overflow:visible; margin-top:auto; }

/* ═══════════════════════════════════════════════
   NAVBAR APP MOBILE (profil / matching)
═══════════════════════════════════════════════ */
.navbar__top { display:none; align-items:center; justify-content:space-between; padding:20px 0; border-bottom:1px solid var(--line); }
@media (min-width:768px) { .navbar__top { display:flex; } }
.navbar__links { display:flex; align-items:center; gap:8px; }
.navbar__link { display:flex; align-items:center; gap:8px; padding:8px 16px; border-radius:10px; font-family:var(--font-body); font-size:14px; font-weight:500; color:var(--muted); transition:background .2s,color .2s; text-transform:none; letter-spacing:0; }
.navbar__link:hover { background:rgba(37,99,235,.05); color:var(--ink); }
.navbar__link.is-active { background:rgba(37,99,235,.08); color:var(--blue); }
.navbar__quit { display:flex; align-items:center; gap:8px; padding:8px 16px; border-radius:10px; font-family:var(--font-body); font-size:14px; font-weight:500; color:var(--muted); transition:color .2s; text-transform:none; letter-spacing:0; }
.navbar__quit:hover { color:var(--red); }

.navbar-mobile { display:flex; justify-content:space-around; position:fixed; bottom:0; left:0; right:0; z-index:30; background:rgba(255,255,255,.92); backdrop-filter:blur(20px); border-top:1px solid var(--line); padding:10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow:0 -6px 20px rgba(15,40,90,.06); }
@media (min-width:768px) { .navbar-mobile { display:none; } }
.navbar-mobile__link { display:flex; flex-direction:column; align-items:center; gap:4px; padding:4px 6px; font-family:var(--font-body); font-size:10px; font-weight:500; color:var(--muted); flex:1; min-width:0; text-transform:none; letter-spacing:0; }
.navbar-mobile__link span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.navbar-mobile__link.is-active { color:var(--blue); }

/* ═══════════════════════════════════════════════
   PAGE PROFIL
═══════════════════════════════════════════════ */
.profil-layout { display:grid; grid-template-columns:1fr; gap:24px; padding:24px 0 40px; }
@media (min-width:768px) { .profil-layout { grid-template-columns:1.2fr 1fr; gap:48px; padding:64px 0; } }
.profil-form h1 { font-size:clamp(24px,6vw,36px); margin-bottom:20px; }

/* ═══════════════════════════════════════════════
   PAGE MATCHING
═══════════════════════════════════════════════ */
.matching-content { padding:12px 0 0; text-align:center; }
@media (min-width:768px) { .matching-content { padding:20px 0 0; } }
.matching-header { max-width:600px; margin:0 auto; }
.matching-header h1 { font-size:clamp(18px,4vw,28px); margin-bottom:4px; }
.matching-subtitle { color:var(--muted); font-size:14px; margin-bottom:12px; }

.swipe-stage { position:relative; width:clamp(300px,90vw,400px); height:clamp(300px,90vw,400px); margin:0 auto; }
@media (min-width:768px) { .swipe-stage { width:500px; height:380px; } .job-card { width:440px; aspect-ratio:4/3; } }

.swipe-deck { position:absolute; inset:0; }
.swipe-deck .job-card { position:absolute; top:0; left:0; right:0; margin:0 auto; cursor:grab; touch-action:none; }
.swipe-deck .job-card:active { cursor:grabbing; }
.swipe-deck .job-card.is-back { transform:rotate(2deg) scale(0.97); opacity:.75; cursor:default; pointer-events:none; }

.swipe-empty { position:absolute; inset:0; display:none; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px; box-shadow:var(--shadow-md); }
.swipe-empty p { color:var(--muted); max-width:280px; margin-bottom:24px; }

.swipe-actions { display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:14px; }
.swipe-actions__row { display:flex; align-items:center; justify-content:center; gap:12px; }
.action-btn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:none; border-radius:16px; cursor:pointer; transition:transform .15s,opacity .15s,box-shadow .15s; font-family:var(--font-body); font-size:12px; font-weight:600; padding:14px 20px; letter-spacing:0; text-transform:none; }
.action-btn svg { width:22px; height:22px; display:block; }
.action-btn:hover { transform:translateY(-2px); }
.action-btn:active { transform:scale(0.95); }
.action-btn:disabled { opacity:.3; pointer-events:none; }
.action-btn--pass { background:#fff; color:var(--muted); border:1px solid var(--line); padding:12px 18px; }
.action-btn--pass:hover { background:var(--red); color:#fff; border-color:var(--red); }
.action-btn--apply { background:var(--grad); color:#fff; box-shadow:0 8px 22px rgba(37,99,235,.30); padding:16px 28px; }
.action-btn--apply svg { width:26px; height:26px; }
.action-btn--apply:hover { filter:brightness(1.08); transform:translateY(-2px); box-shadow:0 12px 28px rgba(37,99,235,.38); }
.action-btn--super { background:#fff; color:var(--muted); border:1px solid var(--line); }
.action-btn--super:hover { background:rgba(37,99,235,.06); color:var(--blue); border-color:rgba(37,99,235,.3); }

.swipe-compteur { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; font-family:var(--font-body); font-size:12px; color:var(--muted); letter-spacing:0; }
.compteur-swipes, .compteur-super { color:var(--ink); font-weight:600; }
.compteur-reset { color:var(--muted); opacity:.6; }
.compteur-sep { color:var(--line); }

.history { max-width:420px; margin:56px auto 60px; padding:0 24px; display:none; }
.history__label { font-family:var(--font-body); font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:12px; }
.history__list { display:flex; flex-direction:column; gap:8px; }
.history__item { display:flex; align-items:center; justify-content:space-between; background:rgba(37,99,235,.04); border:1px solid var(--line); border-radius:12px; padding:12px 16px; }
.history__item span:first-child { font-size:14px; color:var(--ink); }
.history__badge { font-family:var(--font-body); font-size:11px; font-weight:600; padding:4px 10px; border-radius:999px; }
.history__badge--green { background:rgba(37,99,235,.10); color:var(--blue); }
.history__badge--red { background:rgba(225,29,72,.10); color:var(--red); }

/* ═══════════════════════════════════════════════
   PAGE ABONNEMENT
═══════════════════════════════════════════════ */
.pricing-hero { padding:56px 0 16px; text-align:center; }
@media (min-width:768px) { .pricing-hero { padding:80px 0 24px; } }
.pricing-hero .eyebrow { margin:0 auto 16px; }
.pricing-hero h1 { font-size:clamp(28px,5vw,46px); margin:0 auto 14px; max-width:640px; }
.pricing-hero p { color:var(--muted); max-width:480px; margin:0 auto; font-size:16px; }

.pricing-grid { display:grid; grid-template-columns:1fr; gap:28px; padding:56px 0 24px; align-items:start; }
@media (min-width:900px) { .pricing-grid { grid-template-columns:repeat(3,1fr); gap:24px; padding:64px 0 24px; } }

.price-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:20px; padding:36px 28px 32px; display:flex; flex-direction:column; gap:22px; box-shadow:0 4px 16px rgba(15,40,90,.05); transition:transform .2s,box-shadow .2s; }
.price-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.price-card--featured { border:2px solid transparent; background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box; box-shadow:0 18px 44px rgba(37,99,235,.18); }
.price-card--featured:hover { transform:translateY(-6px); }
@media (min-width:900px) { .price-card--featured { transform:translateY(-10px); } @media (hover:hover) { .price-card--featured:hover { transform:translateY(-14px); } } }

.price-card__badge { position:absolute; top:-14px; left:50%; transform:translateX(-50%); font-family:var(--font-body); font-size:12px; font-weight:700; text-transform:none; letter-spacing:.01em; padding:6px 16px; border-radius:999px; white-space:nowrap; box-shadow:0 6px 16px rgba(37,99,235,.22); }
.price-card__badge--free { background:#2563EB; color:#fff; }
.price-card__badge--accent { background:var(--grad); color:#fff; }
.price-card__badge--premium { background:var(--ink); color:#fff; }

.price-card__name { font-size:22px; font-family:var(--font-display); }
.price-card__price { display:flex; align-items:baseline; gap:6px; }
.price-card__value { font-family:var(--font-display); font-size:40px; font-weight:700; line-height:1; }
.price-card__cadence { font-family:var(--font-body); font-size:13px; color:var(--muted); text-transform:none; letter-spacing:0; }
.price-card__desc { color:var(--muted); font-size:14px; min-height:40px; }
.price-card__old-price { display:block; font-size:.95rem; opacity:.5; text-decoration:line-through; margin-bottom:4px; }
.price-card__features { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.price-card__features li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:rgba(23,35,58,.85); font-family:var(--font-body); text-transform:none; letter-spacing:0; }
.price-card__features .icon { width:16px; height:16px; flex-shrink:0; margin-top:2px; color:var(--blue); }
.price-card__features li.price-card__all { font-family:var(--font-body); font-size:12px; color:var(--muted); padding-top:10px; margin-top:-2px; border-top:1px dashed var(--line); }

.pricing-note { text-align:center; color:var(--muted); font-size:13px; padding-bottom:64px; }

.billing-toggle { display:flex; justify-content:center; gap:10px; margin:2rem auto; }
.billing-btn { padding:14px 30px; border:1px solid var(--line); border-radius:999px; cursor:pointer; background:#fff; color:var(--ink); font-weight:600; font-size:15px; font-family:var(--font-display); transition:.2s; }
.billing-btn:hover { border-color:var(--blue); color:var(--blue); }
.billing-btn.active { background:var(--grad); border-color:transparent; color:#fff; box-shadow:0 8px 22px rgba(37,99,235,.28); }
.discount-badge { background:var(--blue); color:#fff; padding:2px 8px; border-radius:16px; margin-left:6px; font-size:13px; font-family:var(--font-display); }

/* ═══════════════════════════════════════════════
   PAGE LÉGALE
═══════════════════════════════════════════════ */
.legal-page { padding:40px 0 80px; }
@media (min-width:768px) { .legal-page { padding:56px 0 96px; } }
.legal-page h1 { font-size:clamp(26px,5vw,38px); max-width:640px; margin-bottom:28px; }
.legal-content { max-width:700px; }
.legal-tabs { display:flex; gap:8px; flex-wrap:wrap; position:sticky; top:72px; z-index:5; background:var(--bg); padding:12px 0 14px; margin-bottom:8px; border-bottom:1px solid var(--line); }
.legal-tab { font-family:var(--font-body); font-size:13px; font-weight:500; padding:8px 16px; border-radius:999px; border:1px solid var(--line); color:var(--muted); transition:border-color .2s,color .2s,background .2s; text-transform:none; letter-spacing:0; background:#fff; cursor:pointer; }
.legal-tab:hover { border-color:var(--blue); color:var(--blue); background:rgba(37,99,235,.05); }
.legal-section { padding-top:48px; }
.legal-section:first-of-type { padding-top:24px; }
.legal-section h2 { font-size:24px; margin-bottom:6px; }
.legal-updated { font-family:var(--font-body); font-size:12px; color:var(--muted); margin-bottom:22px; }
.legal-section h3 { font-size:16px; margin:26px 0 8px; }
.legal-section p { color:rgba(23,35,58,.75); font-size:15px; margin-bottom:12px; }
.legal-section ul { margin:0 0 14px; padding-left:20px; color:rgba(23,35,58,.75); font-size:15px; display:flex; flex-direction:column; gap:6px; }
.legal-section strong { color:var(--ink); }
.legal-note { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 18px; font-size:13px; color:var(--muted); margin:24px 0; }
.legal-note.legal-note--dashed { border-style:dashed; }

/* ═══════════════════════════════════════════════
   MODAL AUTH (index.html)
═══════════════════════════════════════════════ */
@keyframes authOverlayIn { from{opacity:0} to{opacity:1} }
@keyframes authModalIn { from{opacity:0;transform:translateY(24px) scale(0.94)} to{opacity:1;transform:translateY(0) scale(1)} }
.auth-modal-overlay { position:fixed; inset:0; z-index:50; background:rgba(15,40,90,.45); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; padding:24px; animation:authOverlayIn .25s ease; }
.auth-modal-overlay[hidden] { display:none; }
.auth-modal { position:relative; width:100%; max-width:400px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:44px 32px 36px; box-shadow:0 30px 70px -15px rgba(15,40,90,.14); text-align:center; overflow:hidden; animation:authModalIn .4s cubic-bezier(.22,1,.36,1); }
.auth-modal::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background:var(--grad); }
.auth-modal__close { position:absolute; top:18px; right:18px; z-index:2; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(23,35,58,.08); color:var(--muted); transition:background .2s,color .2s,transform .2s; }
.auth-modal__close:hover { background:var(--blue); color:#fff; transform:rotate(90deg); }
.auth-modal__title { font-size:28px; color:var(--ink); margin-bottom:12px; line-height:1.2; }
.auth-modal__text { font-size:14px; color:var(--muted); margin-bottom:28px; }
.auth-modal__actions { display:flex; flex-direction:column; gap:12px; }

/* ═══════════════════════════════════════════════
   STEPS (index.html)
═══════════════════════════════════════════════ */
.steps { padding:80px 0 96px; }
.steps__title { font-size:clamp(24px,4vw,36px); margin-bottom:56px; max-width:480px; }
.steps__list { border-top:1px solid var(--line); }
.step { display:grid; grid-template-columns:1fr; gap:10px; padding:28px 0; border-bottom:1px solid var(--line); }
@media (min-width:768px) { .step { grid-template-columns:100px 1fr; gap:40px; } }
.step__n { font-family:var(--font-body); font-size:14px; color:var(--blue); letter-spacing:.04em; font-weight:600; }
.step h3 { font-size:20px; margin-bottom:8px; }
.step p { color:var(--muted); max-width:420px; font-size:15px; }

/* CTA final (index.html compat style.css) */
.cta-final { padding:0 0 80px; }
.cta-card { position:relative; background:var(--grad); border-radius:20px; padding:56px 32px; text-align:center; overflow:hidden; box-shadow:0 18px 44px rgba(37,99,235,.30); }
@media (min-width:768px) { .cta-card { padding:80px 64px; } }
.cta-card h2 { position:relative; z-index:1; font-size:clamp(24px,6vw,44px); color:#fff; max-width:640px; margin:0 auto 20px; line-height:1.25; }
.cta-card p { position:relative; z-index:1; color:rgba(255,255,255,.85); max-width:380px; margin:0 auto 36px; font-size:16px; }
.cta-card .btn { position:relative; z-index:1; }

/* ═══════════════════════════════════════════════
   PARTENAIRES (hero & contenu)
═══════════════════════════════════════════════ */
.ink-grid { background-image:none; } /* neutralisé */
.paper-texture { display:none; }     /* neutralisé */
.deco-plus { display:none; }         /* neutralisé */

/* ═══════════════════════════════════════════════
   ACCESSIBILITÉ
═══════════════════════════════════════════════ */
:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } }

/* ═══════════════════════════════════════════════
   RESPONSIVE GLOBAL
═══════════════════════════════════════════════ */
img, video, iframe, svg { max-width:100%; height:auto; }

@media (max-width:880px) {
  .sw-nav__cta { display:none; }
  .link-ghost--desktop { display:none !important; }
  .topbar .btn--sm { display:none; }
}

@media (max-width:767px) {
  .sw-container, .container { padding-left:20px; padding-right:20px; }
  .pricing-hero { padding:36px 0 8px; }
  .steps { padding:44px 0; }
  .steps__title { margin-bottom:28px; }
  .step { padding:18px 0; }
  .price-card { padding:28px 18px 24px; }
  .price-card__value { font-size:34px; }
  .job-card { width:min(72vw,260px); }
  .swipe-stage { width:min(72vw,270px); height:min(110vw,370px); max-height:calc(100vh - 380px); min-height:300px; }
  .job-card__desc { height:auto; max-height:120px; }
  .action-btn { padding:10px 14px; font-size:11px; }
  .action-btn--apply { padding:12px 20px; }
  .action-btn svg { width:20px; height:20px; }
  .footer { padding:28px 0; }
  .burger-quit { color:var(--muted) !important; font-size:12px !important; }
}
