/* Campus Dekkak — page de liste d'attente. Thème clair : fond blanc, violet (IA) en accent unique, vraies captures. */

@font-face { font-family: 'Bricolage'; src: url(/assets/fonts/bricolage-latin.woff2) format('woff2'); font-weight: 500 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage'; src: url(/assets/fonts/bricolage-latin-ext.woff2) format('woff2'); font-weight: 500 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --bg-tint: #f3f0fe;
  --line: #ebe8f2;
  --line-2: #dcd7e8;
  --ink: #15111f;
  --text-2: #3f3a50;
  --muted: #6b6580;
  --faint: #8d87a0;
  --violet: #6a47e0;
  --violet-2: #5636c8;
  --violet-soft: #efeafe;
  --amber-soft: #fff4e2;
  --ok: #138a52;
  --ok-soft: #e5f6ed;
  --danger: #c0352b;
  --grad: linear-gradient(100deg, #6a47e0 0%, #9157f0 45%, #e0629a 80%, #f08a4b 100%);
  --radius: 20px;
  --shadow-1: 0 1px 2px rgba(21, 17, 31, .05), 0 1px 1px rgba(21, 17, 31, .03);
  --shadow-2: 0 12px 32px -14px rgba(36, 22, 90, .22), 0 2px 6px rgba(21, 17, 31, .05);
  --shadow-3: 0 30px 60px -24px rgba(36, 22, 90, .32), 0 8px 18px -8px rgba(21, 17, 31, .12);
  --display: 'Bricolage', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(106, 71, 224, .2); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 760px) { .wrap { padding-inline: 32px; } }

/* ---------- Typo ---------- */
.h1, .h2, h3, .pane-title { font-family: var(--display); font-weight: 750; letter-spacing: -.03em; margin: 0; color: var(--ink); }
.h1 { font-size: clamp(44px, 9.6vw, 88px); line-height: .96; letter-spacing: -.04em; font-weight: 800; }
.h2 { font-size: clamp(32px, 5.6vw, 54px); line-height: 1.04; letter-spacing: -.035em; }
.h2.xl { font-size: clamp(38px, 7.4vw, 78px); line-height: 1; }
h3 { font-size: 21px; line-height: 1.22; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 650 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--violet); }
.lead { font-size: clamp(17px, 2.1vw, 19.5px); color: var(--text-2); max-width: 36em; margin: 22px 0 0; }
.lead strong { color: var(--ink); font-weight: 650; }
.sub { color: var(--text-2); font-size: clamp(16px, 2vw, 18px); max-width: 40em; margin: 16px 0 0; }
.note { color: var(--muted); font-size: 14.5px; margin: 28px auto 0; text-align: center; max-width: 52em; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; background: var(--violet); color: #fff; font: 650 16px/1.1 var(--sans);
  text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(106, 71, 224, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.btn:hover { background: var(--violet-2); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(106, 71, 224, 1); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-xl { padding: 17px 26px; font-size: 16.5px; }
.btn-sm { padding: 10px 16px; font-size: 14.5px; box-shadow: none; }
.btn-block { display: flex; width: 100%; padding: 16px 22px; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn-soft { background: var(--bg-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-soft:hover { background: var(--violet-soft); }
.btn-wa { background: #1f9d55; box-shadow: 0 10px 22px -12px rgba(31, 157, 85, .9); }
.btn-wa:hover { background: #18834a; }
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px 16px; border: 0; background: none; color: var(--text-2); font-weight: 600; cursor: pointer; text-decoration: none; border-radius: 12px; width: 100%; }
.ghost-btn:hover { color: var(--ink); background: var(--bg-soft); }
.ghost-btn svg { width: 18px; height: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; flex: none; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn.solid { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 22px; padding: 0 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
@media (min-width: 760px) { .top { padding-inline: 32px; } }
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(21, 17, 31, .25); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark { width: 28px; height: 28px; color: var(--violet); }
.brand-name { font: 600 18px/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.brand-name b { font-weight: 800; color: var(--violet); }
.top-nav { display: none; gap: 24px; }
.top-nav a { text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 550; }
.top-nav a:hover { color: var(--violet); }
@media (min-width: 980px) { .top-nav { display: flex; } }

/* ---------- Héros ---------- */
.hero { position: relative; padding: calc(var(--top-h) + 34px) 0 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 10%, rgba(106, 71, 224, .10), transparent 70%), radial-gradient(50% 50% at 5% 0%, rgba(240, 138, 75, .07), transparent 70%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(106, 71, 224, .16) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.hero-grid { display: grid; gap: 10px; align-items: end; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 28px; } .hero-copy { align-self: center; padding-bottom: 56px; position: relative; z-index: 3; } }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); font-weight: 550; box-shadow: var(--shadow-1); }
.pill-more { white-space: nowrap; }
@media (max-width: 520px) { .pill-more { display: none; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1fae63; box-shadow: 0 0 0 0 rgba(31, 174, 99, .5); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 99, .5); } 70% { box-shadow: 0 0 0 9px rgba(31, 174, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 99, 0); } }
.proofs { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proofs li { display: block; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--text-2); box-shadow: var(--shadow-1); }
.proofs li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--violet); vertical-align: 1px; }
.proofs b { color: var(--ink); font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.micro { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.counter { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: 15px; color: var(--text-2); }
.counter b { color: var(--ink); font: 750 18px/1 var(--display); }
.counter.center { justify-content: center; width: 100%; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #1fae63; animation: ping 2s infinite; }

.hero .reveal { animation: rise .8s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .06s; }
.hero .reveal:nth-child(3) { animation-delay: .12s; }
.hero .reveal:nth-child(4) { animation-delay: .18s; }
.hero .reveal:nth-child(5) { animation-delay: .24s; }
.hero .reveal:nth-child(6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; width: 100%; max-width: 500px; margin: 4px auto 0; aspect-ratio: 720 / 778; }
@media (min-width: 980px) { .hero-visual { margin: 0 0 0 auto; } }
.hv-disc { position: absolute; left: 50%; bottom: 0; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, #ffffff 0%, var(--bg-tint) 55%, #e6dffd 100%); box-shadow: inset 0 0 0 1px rgba(106, 71, 224, .12); }
.portrait { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 30px rgba(36, 22, 90, .22)); animation: portrait-in 1s var(--ease) both .1s; }
@keyframes portrait-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hv-window { position: absolute; z-index: 1; left: 0; top: 14%; width: 50%; margin: 0; border-radius: 12px; overflow: hidden; background: #1b1610; box-shadow: var(--shadow-3); transform: rotate(-4deg); animation: float 8s ease-in-out infinite; }
.hv-window img { width: 100%; }
.hv-phone { position: absolute; z-index: 3; left: -4%; bottom: 6%; width: 30%; margin: 0; border-radius: 22px; overflow: hidden; border: 5px solid #1d1830; background: #fff; box-shadow: var(--shadow-3); transform: rotate(-6deg); animation: float 7s ease-in-out infinite -2s; }
.hv-tag { position: absolute; z-index: 4; display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hv-tag svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }
.hv-tag-1 { left: 4%; top: 4%; }
.hv-tag-2 { left: 18%; bottom: 0; }
@media (max-width: 520px) { .hv-tag { font-size: 11px; padding: 6px 9px; } .hv-tag-1 { left: 0; top: 2%; } .hv-tag-2 { left: 26%; bottom: 1%; } .hv-window { left: -4%; top: 10%; width: 50%; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.win-dots { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #f4f2f8; border-bottom: 1px solid var(--line); }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.win-dots i:nth-child(2) { background: #febc2e; } .win-dots i:nth-child(3) { background: #28c840; }
.win-dots em { margin-left: 8px; font: 500 11.5px/1 var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bande des savoir-faire */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); margin-top: 8px; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding-block: 18px; }
.strip span { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; color: var(--text-2); display: inline-flex; align-items: center; gap: 10px; }
.strip span::before { content: ''; width: 8px; height: 8px; background: var(--violet); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 84px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.reveal-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-js .reveal.in { opacity: 1; transform: none; }
.reveal-js .hero .reveal { opacity: 1; transform: none; transition: none; }

.card { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* Réalisations */
.work { background: linear-gradient(180deg, #fff, var(--bg-soft) 12%, var(--bg-soft) 88%, #fff); }
.prod { display: grid; gap: 28px; align-items: center; padding: 26px; margin-bottom: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
@media (min-width: 960px) { .prod { grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 40px; } .prod-rev { grid-template-columns: .85fr 1.15fr; } .prod-rev .prod-visual { order: 2; } }
.prod-visual { position: relative; min-width: 0; }
.frame { margin: 0; display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-3); }
.frame img { width: 100%; }
.frame-offset { width: 72%; margin: -16% 0 0 auto; position: relative; }
.phones { display: flex; justify-content: center; align-items: flex-end; padding: 6px 0; }
.frame-phone { width: 34%; max-width: 210px; border-radius: 26px; border: 5px solid #1d1830; box-shadow: var(--shadow-3); }
.phones .frame-phone:nth-child(1) { transform: rotate(-5deg) translate(14%, 4%); z-index: 1; }
.phones .frame-phone:nth-child(2) { z-index: 2; width: 38%; }
.phones .frame-phone:nth-child(3) { transform: rotate(5deg) translate(-14%, 4%); z-index: 1; }
.prod-name { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 750 15px/1 var(--sans); color: var(--text-2); letter-spacing: .01em; }
.prod-name span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 800 15px/1 var(--display); color: #fff; }
.prod-name span svg { width: 17px; height: 17px; stroke-width: 2.1; }
.logo-k { background: #241c14; color: #f3e6d2 !important; }
.logo-m { background: var(--violet); }
.logo-s { background: linear-gradient(135deg, #6d4aff, #e0479e); }
.logo-c { background: #10151f; }
.logo-o { background: #0e8a8a; }
.prod-body h3 { font-size: clamp(23px, 2.6vw, 30px); margin: 6px 0 16px; letter-spacing: -.03em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.ticks svg { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }
.prod-meta { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.prod-meta a { color: var(--violet); font-weight: 600; text-decoration: none; }
.prod-meta a:hover { text-decoration: underline; }
.prod-campus { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--violet-soft); color: var(--text-2); font-size: 14.5px; }
.prod-campus svg { width: 18px; height: 18px; margin-top: 2px; color: var(--violet); }
.prod-campus b { color: var(--violet-2); }
.mini-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.mini { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.mini .frame { margin-bottom: 18px; box-shadow: var(--shadow-2); }
.mini .frame img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.mini h3 { margin: 4px 0 8px; font-size: 21px; }
.mini > p:not(.prod-name) { margin: 0; color: var(--text-2); font-size: 15px; }

/* Sites de A à Z */
.az { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .az { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .az { grid-template-columns: repeat(4, 1fr); } }
.az li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.az-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--violet-soft); color: var(--violet-2); font: 800 16px/1 var(--display); }
.az li:first-child .az-n, .az li:last-child .az-n { background: var(--violet); color: #fff; }
.az h3 { font-size: 16.5px; margin: 6px 0 4px; letter-spacing: -.015em; }
.az p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.gallery { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.g-item { margin: 0; }
.g-item .frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.g-item figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); text-align: center; }

/* Programme */
.program { background: var(--bg-soft); }
.mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .mods { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .mods { grid-template-columns: repeat(5, 1fr); } }
.mod { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.mod h3 { margin: 14px 0 8px; font-size: 19px; }
.mod > p:not(.tag):not(.out) { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.mod .out { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--text-2); }
.mod .out b { color: var(--ink); }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-2); background: var(--violet-soft); }
.tag svg { width: 13px; height: 13px; }
.tag-free { color: #7a4a00; background: #ffe7b8; }
.tag-amber { color: #8a4f00; background: var(--amber-soft); }
.tools { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tools li { padding: 4px 9px; border-radius: 8px; font-size: 12.5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-2); }

/* La différence */
.compare { border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
@media (min-width: 760px) { .cmp-row { grid-template-columns: 170px 1fr 1.4fr; gap: 18px; align-items: center; padding: 18px 26px; } }
.cmp-head { background: var(--bg-soft); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmp-head span:last-child { color: var(--violet); }
@media (max-width: 759px) { .cmp-head { display: none; } }
.cmp-row [role="rowheader"] { font: 700 16px/1.3 var(--display); color: var(--ink); }
.cmp-row [role="cell"]:nth-child(2) { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(141, 135, 160, .5); font-size: 15px; }
.cmp-row [role="cell"]:nth-child(3) { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.cmp-row [role="cell"] svg { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--violet); color: #fff; stroke-width: 3; }

/* Équipe */
.team-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.person { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.person-photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-soft); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: linear-gradient(135deg, var(--bg-tint), #fff); }
.person-mosaic img { border-radius: 10px; border: 1px solid var(--line-2); object-position: top; box-shadow: var(--shadow-1); min-height: 0; }
.person-mosaic img:nth-child(1) { grid-row: 1; grid-column: 1; }
.person-mosaic img:nth-child(2) { grid-row: 2; grid-column: 1; }
.person-mosaic img:nth-child(3), .person-mosaic img:nth-child(4) { grid-column: 2; border-radius: 14px; border: 4px solid #1d1830; }
.person-mosaic img:nth-child(3) { grid-row: 1; } .person-mosaic img:nth-child(4) { grid-row: 2; }
.person-body { padding: 24px; }
.role { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.person h3 { font-size: 27px; margin: 0 0 10px; }
.person-body > p:not(.role) { margin: 0; color: var(--text-2); }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.5; }
.facts svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); margin-top: -3px; }

/* Étapes, questions */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--violet); color: #fff; font: 800 19px/1 var(--display); }
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; gap: 14px; margin: 0; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.qa { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
.qa dt { font: 700 18px/1.3 var(--display); letter-spacing: -.015em; margin-bottom: 8px; }
.qa dd { margin: 0; color: var(--text-2); }

/* Appel final */
.final { text-align: center; padding: 110px 0 120px; background: radial-gradient(60% 70% at 50% 100%, rgba(106, 71, 224, .12), transparent 70%); }
.final-inner { display: grid; justify-items: center; }
.final .sub { margin-inline: auto; }
.final .btn { margin-top: 30px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; background: #fff; }
.foot-inner { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-inner { grid-template-columns: 1.3fr 1fr auto; align-items: center; } }
.foot-brand p { margin: 12px 0 0; }
.foot-brand a:not(.brand) { color: var(--text-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot-links a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.foot-links a:hover { color: var(--violet); }
.foot-copy { margin: 0; }

/* Barre d'appel collante (mobile) */
.sticky-cta { position: fixed; inset: auto 0 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 40%); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
@media (min-width: 980px) { .sticky-cta { display: none; } }

/* ---------- Fenêtre d'inscription ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; justify-items: center; }
@media (min-width: 680px) { .sheet { align-items: center; padding: 24px; } }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(21, 17, 31, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel { position: relative; width: 100%; max-width: 540px; max-height: min(94svh, 820px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px -20px rgba(21, 17, 31, .35); animation: sheet-up .4s var(--ease) both; outline: none; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 680px) { .sheet-panel { border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(36, 22, 90, .45); } }
@keyframes sheet-up { from { transform: translateY(36px); opacity: 0; } }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.progress { flex: 1; height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.progress i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad); transition: width .5s var(--ease); }
.step-count { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sheet-body { padding: 24px 22px 28px; }
.pane { animation: pane-in .4s var(--ease) both; }
.pane.back { animation-name: pane-back; }
@keyframes pane-in { from { opacity: 0; transform: translateX(22px); } }
@keyframes pane-back { from { opacity: 0; transform: translateX(-22px); } }
.pane-title { font-size: clamp(25px, 6vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.pane-sub { margin: 10px 0 0; color: var(--text-2); }
.pane-center { text-align: center; }
.pane-center .pane-sub { margin-inline: auto; max-width: 26em; }
.choices { display: grid; gap: 10px; margin: 22px 0 18px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; cursor: pointer; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .15s, background .15s, transform .12s; }
.choice:hover { border-color: rgba(106, 71, 224, .55); background: #fcfbff; }
.choice:active { transform: scale(.99); }
.choice > svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--bg-soft); color: var(--violet); }
.choice span { display: grid; gap: 2px; flex: 1; }
.choice b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.choice small { color: var(--muted); font-size: 13px; }
.choice .tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-2); flex: none; }
.choice .tick svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; color: #fff; }
.choice.on, .choice[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); }
.choice.on > svg, .choice[aria-pressed="true"] > svg { background: var(--violet); color: #fff; }
.choice[aria-pressed="true"] .tick { background: var(--violet); border-color: var(--violet); }
.choice[aria-pressed="true"] .tick svg { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips .choice { width: auto; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.form { display: grid; gap: 4px; margin-top: 22px; }
.field { display: grid; gap: 7px; margin-top: 10px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field em { font-style: normal; font-weight: 500; color: var(--faint); margin-left: 4px; }
input[type="text"], input[type="tel"], input[type="email"], select { width: 100%; height: 52px; padding: 0 15px; border-radius: 13px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 500 16px/1 var(--sans); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
input::placeholder { color: #a39db5; }
input:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106, 71, 224, .16); }
input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192, 53, 43, .1); }
select { padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6580' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; cursor: pointer; }
.phone-row { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); cursor: pointer; }
.consent a { color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin: 0; color: var(--danger); font-size: 14px; }
.err:empty { display: none; }
.err:not(:empty) { margin-top: 6px; }
.form .btn-block { margin-top: 18px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.fine svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.fine a { color: var(--text-2); }
.btn.loading { pointer-events: none; }
.btn.loading::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.4px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-rank { display: grid; place-items: center; width: 76px; height: 76px; margin: 2px auto 16px; border-radius: 24px; background: var(--violet); box-shadow: 0 16px 36px -12px rgba(106, 71, 224, .8); animation: pop .6s var(--ease) both; }
.badge-rank svg { width: 42px; height: 42px; color: #fff; stroke-width: 1.6; }
@keyframes pop { 0% { transform: scale(.5) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.06) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.rank-line { margin: 12px 0 0; font-size: 17px; color: var(--text-2); }
.rank { font: 800 30px/1 var(--display); letter-spacing: -.03em; color: var(--violet); padding: 0 2px; }
.pane-center .btn-block { margin-top: 24px; }
.boost { margin: 24px 0 0; padding: 18px; border-radius: 18px; text-align: left; background: var(--bg-soft); border: 1px solid var(--line); }
.boost-title { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 18px/1.2 var(--display); }
.boost-title svg { width: 20px; height: 20px; color: var(--violet); stroke-width: 2.2; }
.boost-sub { margin: 8px 0 14px; color: var(--text-2); font-size: 14.5px; }
.boost-sub b { color: var(--ink); }
.ref-box { display: flex; gap: 8px; }
.ref-box input { height: 46px; font: 500 14px/1 var(--mono); color: var(--violet-2); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.share-row .btn { padding: 13px 14px; font-size: 15px; }

/* Confettis, message bref, consentement */
.confetti { position: fixed; inset: 0; z-index: 200; pointer-events: none; width: 100%; height: 100%; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 250; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-3); transition: opacity .3s, translate .3s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }
.consent-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: 12px; max-width: 560px; margin-inline: auto; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-3); font-size: 14px; color: var(--text-2); }
.consent-bar p { margin: 0; }
.consent-bar div { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Pages simples (confidentialité, mentions, désinscription, 404) ---------- */
.doc-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ghost { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.ghost:hover { color: var(--violet); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font: 800 clamp(34px, 6vw, 50px)/1.04 var(--display); letter-spacing: -.04em; margin: 0 0 12px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font: 700 22px/1.25 var(--display); letter-spacing: -.02em; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--violet); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc .box { padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-soft); margin: 22px 0; }
.doc .center { text-align: center; }
.doc .btn { margin-top: 10px; }
.doc-404 { min-height: 70svh; display: grid; place-content: center; text-align: center; }
.doc-404 .num404 { font: 800 clamp(90px, 22vw, 170px)/.9 var(--display); letter-spacing: -.06em; color: var(--violet); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-js .reveal { opacity: 1; transform: none; }
}
