/* ==========================================================================
   CV Arthur Bianchi — design 2026
   Thème sombre par défaut, thème clair au choix (bouton en haut du profil).
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("fonts/Inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600 800; font-display: swap; src: url("fonts/PlusJakartaSans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600 800; font-display: swap; src: url("fonts/PlusJakartaSans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #08090d;
  --bg-2: #0f1117;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f5f8;
  --soft: #bcc1cc;
  --mute: #7f8594;
  --glass: rgba(15, 17, 23, 0.72);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --a1: #ff9f1c; --a2: #ff3d7f; --a3: #8b5cf6; --a4: #2f7bff;
  --grad: linear-gradient(120deg, var(--a1) 0%, var(--a2) 34%, var(--a3) 66%, var(--a4) 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 159, 28, 0.16), rgba(255, 61, 127, 0.14) 35%, rgba(139, 92, 246, 0.16) 65%, rgba(47, 123, 255, 0.16));
  --ok: #3ddc97;
  --r: 22px; --r-sm: 14px;
  --f-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f2ee;
  --bg-2: #ffffff;
  --card: rgba(255, 255, 255, 0.75);
  --card-2: #ffffff;
  --line: rgba(20, 22, 30, 0.08);
  --line-2: rgba(20, 22, 30, 0.16);
  --ink: #12141a;
  --soft: #434957;
  --mute: #737a89;
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px rgba(30, 30, 50, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--soft);
  font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: rgba(255, 61, 127, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--a3); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- fond : halos et grain ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.bg-fx span:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -160px; background: var(--a3); animation: float1 22s ease-in-out infinite; }
.bg-fx span:nth-child(2) { width: 460px; height: 460px; right: -140px; top: 30%; background: var(--a2); opacity: 0.22; animation: float2 26s ease-in-out infinite; }
.bg-fx span:nth-child(3) { width: 420px; height: 420px; left: 30%; bottom: -220px; background: var(--a4); opacity: 0.25; animation: float1 30s ease-in-out infinite reverse; }
:root[data-theme="light"] .bg-fx span { opacity: 0.16; }
.bg-fx::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
@keyframes float1 { 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(-50px, -30px) scale(0.94); } }

/* ---------- structure ---------- */
.shell { max-width: 1260px; margin: 0 auto; padding: 28px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- profil (colonne gauche) ---------- */
.profile { position: sticky; top: 28px; padding: 28px 24px 24px; text-align: center; overflow: hidden; }
.profile::before { content: ""; position: absolute; inset: 0 0 auto; height: 130px; background: var(--grad-soft); pointer-events: none; }
.profile__top { position: relative; display: flex; justify-content: flex-end; margin: -10px -6px 0; }
.theme-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 0.3s ease; }
.theme-btn:hover { transform: rotate(-14deg); }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.avatar { position: relative; width: 148px; height: 148px; margin: -6px auto 18px; border-radius: 40px; padding: 4px; background: var(--grad); box-shadow: 0 18px 50px rgba(139, 92, 246, 0.35); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; border: 4px solid var(--bg-2); }
.avatar__dot { position: absolute; right: 2px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); border: 4px solid var(--bg-2); }
.avatar__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.profile h1 { font-size: 1.75rem; }
.profile__role { margin: 6px 0 14px; font-size: 0.95rem; color: var(--soft); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 600; color: var(--ok); background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.28); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.infos { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; text-align: left; }
.infos li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.infos__ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); }
.infos small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.infos strong, .infos a { display: block; font-weight: 500; color: var(--ink); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.infos a:hover { color: var(--a2); }
.profile__actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 14px; font: 600 0.92rem var(--f-head); cursor: pointer; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--grad { border: 0; color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 12px 30px rgba(255, 61, 127, 0.28); }
.btn--grad:hover { background-position: 100% 0; box-shadow: 0 16px 38px rgba(139, 92, 246, 0.38); }
.btn--icon { width: 46px; padding: 0; }
.profile__more summary { display: none; }

/* ---------- navigation ---------- */
.content { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.nav { position: sticky; top: 16px; z-index: 50; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.nav a { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 12px; font: 600 0.9rem var(--f-head); color: var(--soft); transition: color 0.25s ease, background 0.25s ease; white-space: nowrap; }
.nav a svg { flex-shrink: 0; opacity: 0.8; }
.nav a:hover { color: var(--ink); background: var(--card-2); }
.nav a[aria-current="page"] { color: #fff; background: var(--grad); box-shadow: 0 8px 22px rgba(255, 61, 127, 0.3); }
.nav a[aria-current="page"] svg { opacity: 1; }

/* ---------- blocs de contenu ---------- */
.panel { padding: clamp(24px, 3.6vw, 40px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 0.74rem var(--f-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--a2); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.h-xl { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-lg { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.h-md { font-size: 1.15rem; }
.lead { font-size: 1.08rem; color: var(--soft); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.head-row .h-lg { margin: 0; }

/* hero À propos */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--grad); opacity: 0.12; filter: blur(40px); pointer-events: none; }
.hero .h-xl { max-width: 15ch; margin-bottom: 22px; }
.hero__text { max-width: 68ch; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-size: 0.86rem; color: var(--ink); font-weight: 500; }
.fact b { font-family: var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* compétences */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.skill { position: relative; padding: 24px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; transition: transform 0.35s ease, border-color 0.35s ease; }
.skill::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity 0.35s ease; }
.skill:hover { transform: translateY(-4px); border-color: var(--line-2); }
.skill:hover::before { opacity: 1; }
.skill > * { position: relative; }
.skill__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 16px; box-shadow: 0 10px 24px rgba(139, 92, 246, 0.3); }
.skill h3 { font-size: 1.1rem; margin-bottom: 8px; }
.skill p { margin: 0; font-size: 0.93rem; }

/* témoignages */
.quotes { position: relative; }
.quotes__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.quote__mark { font: 800 3.4rem/0.6 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; height: 22px; }
.quote blockquote { margin: 0; color: var(--ink); font-size: 0.98rem; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .ini { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 800 1rem var(--f-head); color: #fff; background: var(--grad); flex-shrink: 0; }
.quote strong { display: block; color: var(--ink); font-family: var(--f-head); font-size: 0.95rem; }
.quote small { color: var(--mute); font-size: 0.82rem; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background 0.25s ease, opacity 0.25s ease; }
.arrow:hover:not(:disabled) { background: var(--grad); color: #fff; border-color: transparent; }
.arrow:disabled { opacity: 0.3; cursor: default; }

/* créations */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.client { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); transition: transform 0.3s ease, border-color 0.3s ease; }
.client:hover { transform: translateY(-4px); border-color: var(--line-2); }
.client__logo { height: 64px; border-radius: 10px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.client__logo img { width: 100%; height: 100%; object-fit: contain; }
.client__logo--mono { background: var(--grad); color: #fff; font: 800 1.2rem var(--f-head); letter-spacing: 0.08em; }
.client span { font-size: 0.84rem; color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; gap: 6px; }
.client span i { font-style: normal; color: var(--mute); }

/* bandeau d'appel */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--grad-soft), var(--card); }
.cta h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.cta p { margin: 0; }

/* ---------- parcours ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tl-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.tl-title .skill__ico { margin: 0; width: 44px; height: 44px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--a2), var(--a3), var(--a4)); opacity: 0.55; }
.timeline li { position: relative; padding: 0 0 26px 14px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--a2); box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.12); }
.when { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 8px; font: 700 0.74rem var(--f-head); letter-spacing: 0.04em; color: var(--ink); background: var(--card-2); border: 1px solid var(--line); }
.timeline h3 { font-size: 1.02rem; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: 0.92rem; }
.timeline a { color: var(--a4); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
:root[data-theme="dark"] .timeline a, :root:not([data-theme]) .timeline a { color: #8fb3ff; }

.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.bar__head { display: flex; justify-content: space-between; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; margin-bottom: 9px; }
.bar__head span:last-child { color: var(--mute); font-weight: 700; }
.bar__track { height: 10px; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 99px; background: var(--grad); background-size: 200% 100%; transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.bars.is-in .bar__fill { width: var(--w); }

/* ---------- outils ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--soft); font: 600 0.86rem var(--f-head); cursor: pointer; transition: all 0.25s ease; }
.chip b { font-size: 0.72rem; padding: 1px 7px; border-radius: 6px; background: var(--card); color: var(--mute); }
.chip:hover { color: var(--ink); }
.chip.is-on { color: #fff; background: var(--grad); border-color: transparent; }
.chip.is-on b { background: rgba(255, 255, 255, 0.22); color: #fff; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tool { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease; }
.tool:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tool.is-hidden { display: none; }
.tool__logo { aspect-ratio: 16 / 10; background: #fff; display: grid; place-items: center; overflow: hidden; }
.tool__logo img { width: 100%; height: 100%; object-fit: contain; }
.tool__logo--mono { background: var(--grad); color: #fff; font: 800 1.35rem var(--f-head); letter-spacing: 0.02em; }
.tool__body { padding: 14px 16px 16px; }
.tool h3 { font-size: 0.98rem; margin-bottom: 4px; }
.tool p { margin: 0; font-size: 0.84rem; color: var(--mute); }
.tool__cat { display: inline-block; margin-top: 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--a2); }

/* ---------- projets (journal) ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.post:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.post h3 { font-size: 1.12rem; }
.post p { margin: 0; font-size: 0.92rem; }
.post__more { margin-top: auto; padding-top: 8px; font: 700 0.86rem var(--f-head); color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.post__more .grad-text { font-size: 1rem; }
.badge-soon { padding: 3px 9px; border-radius: 8px; font: 700 0.7rem var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--a1); background: rgba(255, 159, 28, 0.12); border: 1px solid rgba(255, 159, 28, 0.3); }
.post--soon { cursor: default; }
.post--soon .post__img img { filter: saturate(0.6) brightness(0.8); }
.post-link { position: absolute; inset: 0; z-index: 1; }

/* ---------- article ---------- */
.article-hero { padding: 0; overflow: hidden; }
.article-hero__img { aspect-ratio: 21 / 9; overflow: hidden; }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__text { padding: clamp(24px, 3.6vw, 40px); }
.back { display: inline-flex; align-items: center; gap: 8px; font: 600 0.88rem var(--f-head); color: var(--soft); margin-bottom: 16px; }
.back:hover { color: var(--ink); }
.prose { max-width: 72ch; color: var(--soft); font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 0.6em; }
.prose p strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.pull { margin: 1.8em 0; padding: 22px 24px; border-radius: 18px; background: var(--grad-soft), var(--card-2); border: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
.pull footer { margin-top: 10px; font-size: 0.86rem; color: var(--mute); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.6em 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.gallery--one { grid-template-columns: 1fr; }
.gallery--one img { aspect-ratio: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6em 0; }
.stat { padding: 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.stat b { display: block; font: 800 1.7rem var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.85rem; color: var(--mute); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.map { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.map:hover img { transform: scale(1.04); }
.map__label { position: absolute; left: 14px; bottom: 14px; padding: 9px 14px; border-radius: 12px; background: var(--glass); backdrop-filter: blur(10px); color: var(--ink); font: 600 0.88rem var(--f-head); border: 1px solid var(--line); }
.channels { display: grid; gap: 10px; margin-top: 16px; }
.channel { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); transition: border-color 0.25s ease, transform 0.25s ease; }
.channel:hover { border-color: var(--line-2); transform: translateX(4px); }
.channel small { display: block; color: var(--mute); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.channel strong { color: var(--ink); font-weight: 600; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 0.86rem var(--f-head); color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--a3); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- pied de page ---------- */
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 6px 0; font-size: 0.84rem; color: var(--mute); }

/* ---------- apparitions ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .bar__fill { width: var(--w); }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shell { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; padding: 20px; }
  .nav a span { display: none; }
  .nav a { padding: 12px; }
}
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; padding: 14px 14px 104px; }
  .profile { position: relative; top: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; text-align: left; padding: 18px; }
  .profile::before { height: 100%; opacity: 0.6; }
  .profile__top { position: absolute; right: 14px; top: 14px; margin: 0; }
  .avatar { width: 92px; height: 92px; border-radius: 28px; margin: 0; grid-row: span 3; align-self: center; }
  .avatar img { border-radius: 24px; }
  .avatar__dot { width: 18px; height: 18px; }
  .profile h1 { font-size: 1.35rem; align-self: end; padding-right: 44px; }
  .profile__role { margin: 2px 0 8px; font-size: 0.88rem; }
  .status { justify-self: start; font-size: 0.74rem; padding: 5px 11px; }
  .profile__more { grid-column: 1 / -1; margin-top: 14px; }
  .profile__more summary { list-style: none; display: flex; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); font: 600 0.86rem var(--f-head); color: var(--ink); background: var(--glass); }
  .profile__more summary::-webkit-details-marker { display: none; }
  .profile__more[open] summary svg { transform: rotate(180deg); }
  .profile__more .infos { margin-top: 14px; }
  .nav { position: fixed; left: 10px; right: 10px; top: auto; bottom: max(10px, env(safe-area-inset-bottom)); padding: 6px; border-radius: 20px; }
  .nav a { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 0.68rem; }
  .nav a span { display: block; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .skills-grid, .posts, .bars { grid-template-columns: 1fr; }
  .quote { flex-basis: 88%; }
  .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .tools { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tool__body { padding: 12px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .article-hero__img { aspect-ratio: 16 / 10; }
}
@media print {
  .bg-fx, .nav, .theme-btn, .arrows { display: none !important; }
  body { background: #fff; color: #222; }
  .shell { display: block; }
  .card { border: 1px solid #ddd; backdrop-filter: none; break-inside: avoid; margin-bottom: 16px; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   Animations et section Abweb (ajout du 23/09/2026)
   ========================================================================== */

/* transitions entre les pages (navigateurs compatibles) */
@media (min-width: 981px) and (hover: hover) { @view-transition { navigation: auto; } }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* barre de progression de lecture */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(255, 61, 127, 0.6); }

/* halo qui suit la souris sur les cartes */
.card, .skill, .post, .tool, .mission, .result, .mini, .client, .pf { --mx: 50%; --my: 50%; }
.card { position: relative; }
.card::after, .skill::after, .post::after, .tool::after, .mission::after, .result::after, .mini::after, .pf::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 45%);
  transition: opacity 0.35s ease;
}
:root[data-theme="light"] .card::after, :root[data-theme="light"] .skill::after, :root[data-theme="light"] .post::after,
:root[data-theme="light"] .tool::after, :root[data-theme="light"] .mission::after, :root[data-theme="light"] .result::after,
:root[data-theme="light"] .mini::after, :root[data-theme="light"] .pf::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139, 92, 246, 0.08), transparent 45%); }
.card:hover::after, .skill:hover::after, .post:hover::after, .tool:hover::after, .mission:hover::after, .result:hover::after, .mini:hover::after, .pf:hover::after { opacity: 1; }
.post, .tool { position: relative; }

/* inclinaison 3D */
.tilt, .post, .tool { transform-style: preserve-3d; will-change: transform; }
.is-tilting { transition: transform 0.08s linear !important; }

/* anneau animé autour de la photo */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.avatar { background: conic-gradient(from var(--ang), var(--a1), var(--a2), var(--a3), var(--a4), var(--a1)); animation: spin-ring 6s linear infinite; }
@keyframes spin-ring { to { --ang: 360deg; } }
.avatar img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.avatar:hover img { transform: scale(1.05); }
.profile__role strong { color: var(--ink); }
.profile__tags { display: flex; justify-content: center; gap: 6px; margin: -6px 0 14px; }
.profile__tags span { padding: 3px 9px; border-radius: 8px; font: 700 0.7rem var(--f-head); letter-spacing: 0.06em; color: var(--ink); background: var(--card-2); border: 1px solid var(--line); }

/* texte dégradé qui scintille */
.shimmer { background-size: 220% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* titre découpé en mots qui montent */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); filter: blur(6px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease; transition-delay: calc(var(--i) * 70ms + 0.15s); }
.split.is-split.go .w { opacity: 1; transform: none; filter: none; }

/* rôles tapés au clavier */
.typer { font: 600 clamp(1.05rem, 2vw, 1.3rem) var(--f-head); color: var(--ink); margin: -6px 0 22px; min-height: 1.6em; }
.typer__word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer__caret { display: inline-block; width: 3px; height: 1.1em; margin-left: 3px; vertical-align: -0.15em; border-radius: 2px; background: var(--a2); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* boutons magnétiques */
.magnet { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-position 0.4s ease; }

/* ---------- section Abweb ---------- */
.abweb { overflow: hidden; }
.abweb::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: var(--a4); opacity: 0.12; filter: blur(60px); pointer-events: none; }
.abweb__links { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-title { margin: 30px 0 14px; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.counter { padding: 18px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.counter b { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter > span { font-size: 0.85rem; color: var(--mute); }
.mq { position: relative; margin-top: 22px; overflow: hidden; border-radius: 16px; background: #fff; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq__track { display: flex; gap: 46px; width: max-content; animation: mq 38s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
.mq__item img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(0.85); transition: filter 0.3s ease; }
.mq__item:hover img { filter: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mission { position: relative; padding: 20px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); transition: border-color 0.3s ease; }
.mission:hover { border-color: var(--line-2); }
.mission__ico, .mini__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 12px; box-shadow: 0 8px 20px rgba(139, 92, 246, 0.28); }
.mission h4, .mini h3 { font-size: 1rem; margin-bottom: 6px; }
.mission p, .mini p { margin: 0; font-size: 0.88rem; }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.result { position: relative; padding: 20px; border-radius: 18px; background: var(--grad-soft), var(--card-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.result b { font: 800 2.2rem/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.result strong { color: var(--ink); font-family: var(--f-head); font-size: 0.95rem; }
.result > span { font-size: 0.82rem; color: var(--mute); }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 10px; padding: 14px 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); transition: transform 0.25s ease, border-color 0.25s ease; }
.pf:hover { transform: translateX(4px); border-color: var(--line-2); }
.pf strong { color: var(--ink); font-family: var(--f-head); font-size: 0.93rem; }
.pf span { grid-column: 1; font-size: 0.8rem; color: var(--mute); }
.pf i { grid-row: 1 / span 2; grid-column: 2; color: var(--mute); font-style: normal; transition: color 0.25s ease, transform 0.25s ease; }
.pf:hover i { color: var(--a2); transform: translate(2px, -2px); }

/* ---------- bloc Stride-up ---------- */
.stride { overflow: hidden; border-color: rgba(255, 61, 127, 0.28); background: var(--grad-soft), var(--card); }
.stride__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.mini { position: relative; padding: 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.stride__note { margin: 0; font-size: 0.95rem; color: var(--soft); }
.stride__note em { color: var(--ink); }

/* frise qui se dessine */
.timeline::before { transform-origin: top; transform: scaleY(0); transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.is-in .timeline::before, .timeline.is-in::before { transform: scaleY(1); }
.timeline li::before { transition: transform 0.5s ease 0.4s; }

/* barres de compétences : reflet qui passe */
.bar__fill { position: relative; overflow: hidden; }
.bar__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-100%); animation: sheen 2.8s ease-in-out 1.6s infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }

/* navigation : léger rebond de l'onglet actif */
.nav a[aria-current="page"] { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop { from { transform: scale(0.9); } }

@media (max-width: 1100px) {
  .missions { grid-template-columns: repeat(2, 1fr); }
  .stride__grid, .counters, .results { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .missions, .portfolio { grid-template-columns: 1fr; }
  .stride__grid { grid-template-columns: 1fr; }
  .counter b, .result b { font-size: 1.7rem; }
  .profile__tags { justify-content: flex-start; margin: 0 0 8px; }
}
@media (max-width: 980px) {
  .profile__tags { justify-content: flex-start; margin: 0 0 8px; }
  .avatar { grid-row: span 4; }
}
@media (prefers-reduced-motion: reduce) {
  .split .w { opacity: 1; transform: none; filter: none; }
  .timeline::before { transform: none; }
}

/* ==========================================================================
   Vague 2 (24/09/2026) : intro, constellation, curseur, vidéo, grands chiffres,
   créations avec aperçu, tous les avis
   ========================================================================== */

/* ---------- écran d'intro (1re visite de la session) ---------- */
.intro { display: none; }
.intro-on .intro {
  display: grid; place-content: center; justify-items: center; gap: 14px;
  position: fixed; inset: 0; z-index: 200; background: #07080b;
  animation: intro-out 0.7s cubic-bezier(0.7, 0, 0.2, 1) 1.5s forwards;
}
.intro__mark { font: 800 4.4rem/1 var(--f-head); background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: intro-mark 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, shimmer 2s ease-in-out infinite; }
.intro__name { font: 600 0.95rem var(--f-head); letter-spacing: 0.4em; text-transform: uppercase; color: #cfd3dc; animation: intro-name 1s ease 0.3s both; }
.intro__bar { width: 160px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.intro__bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; animation: intro-bar 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both; }
@keyframes intro-mark { from { opacity: 0; transform: scale(0.6) rotate(-8deg); filter: blur(12px); } }
@keyframes intro-name { from { opacity: 0; letter-spacing: 1.2em; } }
@keyframes intro-bar { from { transform: scaleX(0); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro-on .shell { animation: shell-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.7s backwards; }
@keyframes shell-in { from { opacity: 0; transform: translateY(24px) scale(0.985); } }

/* ---------- constellation interactive en fond ---------- */
.stars { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
:root[data-theme="light"] .stars { opacity: 0.35; }

/* ---------- curseur personnalisé (souris uniquement) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor .cursor { display: block; }
  .cursor span { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; transform: translate3d(-100px, -100px, 0); }
  .cursor__dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #fff; mix-blend-mode: difference; }
  .cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(255, 255, 255, 0.55); transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
  :root[data-theme="light"] .cursor__ring { border-color: rgba(20, 20, 30, 0.45); }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 61, 127, 0.12); border-color: rgba(255, 61, 127, 0.7); }
  .cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
}

/* ---------- hero avec vidéo dans le coin ---------- */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.phone { position: relative; margin: 0; width: 176px; transform: rotate(4deg); animation: phone-float 6s ease-in-out infinite; }
@keyframes phone-float { 50% { transform: rotate(2deg) translateY(-10px); } }
.phone__glow { position: absolute; inset: -18px; border-radius: 48px; background: var(--grad); filter: blur(34px); opacity: 0.45; z-index: -1; animation: glow-pulse 4s ease-in-out infinite; }
@keyframes glow-pulse { 50% { opacity: 0.25; transform: scale(0.96); } }
.phone__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; padding: 6px; background: linear-gradient(145deg, #2a2d36, #0d0e12); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12); overflow: hidden; }
.phone__frame::before { content: ""; position: absolute; top: 12px; left: 50%; width: 46px; height: 12px; margin-left: -23px; border-radius: 10px; background: #000; z-index: 2; }
.phone__video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: #0d0e12; }
.phone__chip { position: absolute; left: -22px; bottom: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 11px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); color: var(--ink); font: 700 0.74rem var(--f-head); transform: rotate(-4deg); box-shadow: var(--shadow); }
.phone__chip svg { color: var(--a1); }

/* ---------- bandeau de mots géants ---------- */
.words { overflow: hidden; padding: 4px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.words__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: mq 40s linear infinite; }
.words span { font: 800 clamp(2rem, 4.5vw, 3.4rem)/1.1 var(--f-head); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); transition: color 0.3s ease; white-space: nowrap; }
.words span:hover { color: var(--ink); -webkit-text-stroke-color: transparent; }
.words i { font-style: normal; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.words:hover .words__track { animation-play-state: paused; }

/* ---------- grands chiffres ---------- */
.big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.big__item { position: relative; padding: 24px 22px; border-radius: 20px; background: var(--card-2); isolation: isolate; overflow: hidden; }
.big__item::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--ang), transparent 0 55%, var(--a2), var(--a3), var(--a4), transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-ring 5s linear infinite; z-index: -1; }
.big__item:nth-child(2n)::before { animation-duration: 6.5s; animation-direction: reverse; }
.big__item b { display: block; font: 800 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--f-head); letter-spacing: -0.04em; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s ease-in-out infinite; filter: drop-shadow(0 6px 22px rgba(255, 61, 127, 0.25)); }
.big__item strong { display: block; margin-top: 10px; font: 700 1rem var(--f-head); color: var(--ink); }
.big__item > span { font-size: 0.85rem; color: var(--mute); }

/* ---------- créations : liste + aperçu flottant ---------- */
.hint { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--mute); }
.creations { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crea { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.crea::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; z-index: 0; }
.crea:hover { border-color: transparent; transform: translateX(6px); }
.crea:hover::before { opacity: 0.14; transform: scaleX(1); }
.crea > * { position: relative; z-index: 1; }
.crea__num { font: 800 1.35rem var(--f-head); color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color 0.3s ease; min-width: 32px; }
.crea:hover .crea__num { color: var(--a2); -webkit-text-stroke-color: transparent; }
.crea__thumb { display: none; }
.crea__txt strong { display: block; color: var(--ink); font-family: var(--f-head); font-size: 1rem; }
.crea__txt span { font-size: 0.84rem; color: var(--mute); }
.crea__go { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--mute); border: 1px solid var(--line); transition: all 0.3s ease; }
.crea:hover .crea__go { color: #fff; background: var(--grad); border-color: transparent; transform: rotate(45deg); }
.peek { position: fixed; left: 0; top: 0; z-index: 150; width: 340px; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0) scale(0.85) rotate(-4deg); transition: opacity 0.25s ease, scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); border-radius: 16px; overflow: hidden; background: #111; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.peek.is-on { opacity: 1; }
.peek__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #1b1d23; }
.peek__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.peek__bar i:nth-child(2) { background: #febc2e; } .peek__bar i:nth-child(3) { background: #28c840; }
.peek__bar span { margin-left: 8px; flex: 1; height: 14px; border-radius: 7px; background: #2a2d35; color: #9aa0ad; font: 600 0.62rem/14px var(--f-body); padding: 0 8px; overflow: hidden; white-space: nowrap; }
.peek img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@media (hover: none), (max-width: 980px) {
  .hint { display: none; }
  .creations { grid-template-columns: 1fr 1fr; }
  .crea { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .crea__num, .crea__go { display: none; }
  .crea__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
  .crea__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .crea__txt { padding: 12px 14px 14px; }
  .peek { display: none; }
}

/* ---------- avis ---------- */
.rating { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; vertical-align: middle; font: 600 0.82rem var(--f-body); letter-spacing: 0; }
.rating__stars, .quote__stars { color: #ffc53d; letter-spacing: 1px; text-shadow: 0 0 12px rgba(255, 197, 61, 0.45); }
.rating a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.quotes__count { align-self: center; margin-right: 6px; font-size: 0.85rem; color: var(--mute); white-space: nowrap; }
.quote { flex-basis: calc((100% - 32px) / 3); }
.quote__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.quote__src { padding: 3px 9px; border-radius: 8px; font: 700 0.68rem var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); background: var(--card); border: 1px solid var(--line); }
.quote__src a { color: inherit; }
.quote__src--google { color: #8fb3ff; border-color: rgba(47, 123, 255, 0.35); }
.quote__mark { display: none; }

/* texte brouillé (effet de décodage) */
.scramble .sc { color: var(--a3); }

@media (max-width: 1100px) {
  .big { grid-template-columns: repeat(2, 1fr); }
  .quote { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phone { width: 140px; justify-self: end; margin: -8px 6px 6px 0; }
}
@media (max-width: 680px) {
  .big { grid-template-columns: 1fr 1fr; gap: 10px; }
  .big__item { padding: 18px 14px; }
  .big__item b { font-size: 2.1rem; }
  .creations { grid-template-columns: 1fr; }
  .quote { flex-basis: 88%; }
  .rating { display: flex; margin: 8px 0 0; }
  .hero__grid { position: relative; }
  .phone { position: absolute; right: -4px; top: -6px; width: 92px; margin: 0; }
  .phone__chip { display: none; }
  .hero .h-xl { padding-right: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .phone, .phone__glow, .words__track { animation: none; }
}

.fact b svg { color: var(--a2); vertical-align: -2px; }
.quote { min-width: 0; }
.quote__top { flex-wrap: wrap; }

.tool__logo--mono[style*="--brand"] { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 60%), var(--brand); }
.tool__logo--mono { text-align: center; padding: 0 14px; line-height: 1.15; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.prose .caption { margin-top: -0.6em; font-size: 0.8rem; color: var(--mute); }

/* ---------- mobile : en-tête de profil qui ne déborde jamais (24/09/2026) ---------- */
@media (max-width: 980px) {
  .profile { grid-template-columns: auto minmax(0, 1fr); }
  .profile h1, .profile__role, .status { min-width: 0; overflow-wrap: anywhere; }
  .profile__tags { flex-wrap: wrap; }
  .status { white-space: normal; }
  .nav { padding-bottom: calc(6px + env(safe-area-inset-bottom) * 0.4); }
}
@media (max-width: 380px) {
  .profile { gap: 0 12px; padding: 14px; }
  .avatar { width: 72px; height: 72px; border-radius: 22px; padding: 3px; }
  .avatar img { border-radius: 19px; border-width: 3px; }
  .avatar__dot { width: 15px; height: 15px; border-width: 3px; }
  .profile h1 { font-size: 1.15rem; padding-right: 40px; }
  .profile__role { font-size: 0.8rem; }
  .profile__tags span { font-size: 0.62rem; padding: 2px 7px; }
  .theme-btn { width: 34px; height: 34px; }
  .nav a { font-size: 0.62rem; padding: 8px 2px; }
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__main { min-width: 0; } }
@media (max-width: 380px) {
  .hero .h-xl { padding-right: 0; font-size: 1.8rem; }
  .phone { position: relative; right: auto; top: auto; width: 120px; justify-self: center; margin: 4px 0 8px; }
  .typer { font-size: 1rem; }
}

/* ---------- mobile : navigation fluide (24/09/2026) ----------
   Sur téléphone : pas de flou derrière les cartes (le GPU recalculait le flou de la constellation
   animée sous chaque carte), pas de constellation, fonds figés, et pas de transition entre pages
   (elle emportait la barre d'onglets fixe avec la capture de la page). */
@media (max-width: 980px), (hover: none) {
  .card, .map__label, .phone__chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card { background: #10121a; }
  :root[data-theme="light"] .card { background: #fff; }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 13, 19, 0.96); transform: translateZ(0); }
  :root[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.97); }
  .stars { display: none; }
  .bg-fx span { animation: none !important; }
  .tilt, .post, .tool { will-change: auto; }
}
