@font-face {
  font-family: 'IBM VGA 8x16';
  src: url('assets/fonts/WebPlus_IBM_VGA_8x16.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* =========================================================
   BENOIST.ORG — feuille de style unique
   Direction artistique : "cute-alism" (kawaii + néo-brutalisme)
   Aucune dépendance. ~1 fichier CSS, 1 fichier JS.
   ========================================================= */

:root {
  /* Couleurs */
  --ink: #141024;
  --ink-soft: #3B3550;
  --paper: #FFFCF2;
  --white: #FFFFFF;
  --pink: #FF2E88;
  --violet: #6E1FE0;
  --violet-deep: #5A18E0;
  --cyan: #00E1FF;
  --yellow: #FFD426;
  --orange: #FF6A1F;
  --green: #17D97F;
  --green-pi: #0E7A4F;
  --blue: #2B4CFF;

  /* Typo */
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --font-retro: 'IBM VGA 8x16', 'Space Mono', ui-monospace, monospace;

  /* Traits & ombres (le "découpé au ciseaux") */
  --bd: 3px solid var(--ink);
  --bd-4: 4px solid var(--ink);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 34px;
  --r-pill: 999px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --sticker-cut: 0 0 0 5px var(--paper), 0 0 0 9px var(--ink), 16px 18px 0 rgba(20, 16, 36, .18);

  /* Parallax souris (pilotées par main.js, -1 → 1) */
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--pink); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.mono { font-family: var(--font-mono); }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--pink { background: var(--pink); } .dot--yellow { background: var(--yellow); } .dot--green { background: var(--green); }
.accent--green { color: var(--green); } .accent--yellow { color: var(--yellow); }
.accent--pink { color: var(--pink); } .accent--cyan { color: var(--cyan); }
.c-cyan { color: var(--cyan); font-style: normal; }
.c-yellow { color: var(--yellow); font-style: normal; }
.c-pink { color: var(--pink); font-style: normal; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill);
}
.skip-link:focus { left: 12px; color: var(--paper); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  border: var(--bd); border-radius: var(--r-pill);
  padding: 15px 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  background: var(--paper); color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink); }
.btn--contact { background: var(--pink); color: var(--paper); padding: 13px 26px; }
.btn--contact:hover { background: var(--violet); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--cyan); }
.btn--ink:hover { color: var(--paper); box-shadow: 9px 9px 0 var(--cyan); }
.btn--onColor { border-color: var(--paper); box-shadow: 6px 6px 0 var(--yellow); }
.btn--onColor:hover { box-shadow: 9px 9px 0 var(--yellow); }
.btn--paper { box-shadow: 6px 6px 0 var(--pink); }
.btn--paper:hover { box-shadow: 9px 9px 0 var(--pink); }
.btn--green { background: var(--green); border-color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.btn--green:hover { box-shadow: 9px 9px 0 var(--paper); }
.btn--cyan { background: var(--cyan); border-color: var(--paper); padding: 12px 22px; font-size: 15px; box-shadow: none; }
.btn--cyan:hover { background: var(--yellow); box-shadow: none; }
.btn--block { width: 100%; justify-content: center; }
.btn--huge {
  margin-top: 34px; border: var(--bd-4); padding: 19px 34px;
  font-size: clamp(16px, 2vw, 24px); box-shadow: 8px 8px 0 var(--yellow);
}
.btn--huge:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 13px 13px 0 var(--yellow); background: var(--cyan); }
.btn--send { background: var(--ink); color: var(--paper); padding: 17px 32px; font-size: 18px; box-shadow: 7px 7px 0 var(--pink); }
.btn--send:hover { color: var(--paper); box-shadow: 11px 11px 0 var(--pink); }
.btn--send:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: 4px 4px 0 var(--pink); }

/* ---------- Stickers & tags ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: var(--bd); border-radius: var(--r-pill);
  padding: 10px 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 5px 5px 0 var(--green);
}
.sticker--dashed { border-style: dashed; box-shadow: none; font-family: var(--font-display); font-size: 16px; text-transform: none; letter-spacing: 0; padding: 13px 22px; }
.sticker--cyan { background: var(--cyan); box-shadow: none; transform: rotate(-2deg); letter-spacing: .14em; }
.sticker--yellow { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); letter-spacing: .14em; margin: 0; }
.sticker--tilt { position: absolute; right: -4px; bottom: -6px; transform: rotate(-8deg); box-shadow: 4px 4px 0 var(--ink); text-transform: none; letter-spacing: 0; font-family: var(--font-retro); font-weight: 400; }
.tag {
  display: inline-block; margin: 0;
  border: var(--bd); border-radius: var(--r-pill); padding: 5px 13px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em;
}
.tag--green { background: var(--green); } .tag--yellow { background: var(--yellow); }
.tag--ink { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.chips--dark li { color: var(--cyan); border: 2px solid #2C2748; }
.chips--light li { color: var(--ink); background: var(--paper); border: 2px solid var(--ink); }
.chips--sticker { gap: 10px; }
.chips--sticker li {
  background: var(--paper); border: var(--bd); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px clamp(12px, 3vw, 32px);
  background: rgba(255, 252, 242, .86);
  backdrop-filter: blur(10px);
  border-bottom: var(--bd);
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); border: var(--bd); border-radius: var(--r-pill);
  padding: 11px 18px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(12px, 1.25vw, 16px);
  letter-spacing: -.01em; color: var(--ink);
  transition: transform .18s, box-shadow .18s;
}
.logo:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.logo__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }

.nav__right { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px); }
.nav__link {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  border-bottom: 3px solid var(--cyan); padding-bottom: 2px;
}
.nav__link:hover { color: var(--pink); border-bottom-color: var(--pink); }

.lang { display: flex; align-items: center; background: var(--paper); border: var(--bd); border-radius: var(--r-pill); padding: 3px; box-shadow: 3px 3px 0 var(--ink); }
.lang--block { box-shadow: none; }
.lang__btn { border: 0; background: transparent; cursor: pointer; border-radius: var(--r-pill); padding: 6px 11px; font-family: var(--font-mono); font-weight: 700; font-size: 12px; }
.lang__btn.is-active { background: var(--ink); color: var(--paper); }
.lang--block { width: 100%; }
.lang--block .lang__btn { flex: 1; padding: 10px; }

.magnet { display: inline-block; transition: transform .12s ease-out; }

.burger { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; width: 52px; height: 46px; background: var(--cyan); border: var(--bd); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; flex: none; }
.burger span { width: 22px; height: 3px; background: var(--ink); border-radius: 2px; }
/* Barre mobile : un seul drapeau (bascule FR ⇄ EN) + burger */
.nav__mobile { display: none; align-items: center; gap: 8px; flex: none; }
.lang-compact {
  display: flex; align-items: center; gap: 5px; height: 46px; padding: 0 12px;
  background: var(--paper); border: var(--bd); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
}

.mobile-menu {
  position: sticky; top: 71px; z-index: 59;
  margin: 10px clamp(12px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: var(--bd); border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink); padding: 16px;
  animation: pop .25s ease both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 90px) clamp(16px, 4vw, 56px) clamp(30px, 4vw, 60px);
  background-image: radial-gradient(var(--ink) 1.6px, transparent 1.6px);
  background-size: 26px 26px; background-position: -4px -4px;
  overflow: hidden;
}
.hero__inner { position: relative; max-width: 1280px; margin: 0 auto; }
.hero__blob { position: absolute; pointer-events: none; }
.hero__blob--cyan { top: 6%; left: -90px; width: 320px; height: 320px; border-radius: 50%; background: var(--cyan); opacity: .35; filter: blur(6px); }
.hero__blob--yellow { bottom: -60px; right: -70px; width: 280px; height: 280px; border-radius: 44% 56% 62% 38% / 48% 40% 60% 52%; background: var(--yellow); opacity: .6; }

.kicker {
  display: block; width: fit-content; margin: 0 auto clamp(10px, 2vw, 22px);
  transform: rotate(-2deg);
  background: var(--ink); color: var(--paper); border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--font-mono); font-size: clamp(10px, 1.1vw, 13px); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}

.word {
  margin: 0; display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(1px, .4vw, 8px);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(58px, 16.4vw, 248px); line-height: .82; letter-spacing: -.045em;
}
.letter { display: inline-block; transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * .7px), 0); }
/* Extrusion continue (empilement de 1 px) : donne une ombre grasse sans
   laisser de trait détaché dans les contre-formes du E et du T. */
.letter__glyph {
  display: inline-block;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    1px 1px 0 var(--ink), 2px 2px 0 var(--ink), 3px 3px 0 var(--ink),
    4px 4px 0 var(--ink), 5px 5px 0 var(--ink), 6px 6px 0 var(--ink),
    7px 7px 0 var(--ink), 8px 8px 0 var(--ink), 9px 9px 0 var(--ink),
    10px 10px 0 var(--ink);
}
.letter__glyph--pink { color: var(--pink); transform: rotate(-4deg); }
.letter__glyph--cyan { color: var(--cyan); transform: rotate(3deg); }
.letter__glyph--yellow { color: var(--yellow); transform: rotate(-2deg); }
.letter__glyph--violet { color: var(--violet); transform: rotate(4deg); }
.letter__glyph--orange { color: var(--orange); transform: rotate(-5deg); }
.letter__glyph--green { color: var(--green); transform: rotate(2deg); }
.letter__glyph--blue { color: var(--blue); transform: rotate(-3deg); }

.hero__line { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 26px); align-items: center; justify-content: center; margin-top: clamp(22px, 3.5vw, 44px); }
.tagline { margin: 0; max-width: 16em; text-align: center; text-wrap: balance; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 42px); line-height: 1.1; letter-spacing: -.02em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(24px, 3vw, 40px); }

.smiley {
  position: absolute; top: 14%; right: clamp(8px, 5vw, 90px);
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--green); border: var(--bd); box-shadow: var(--shadow-hard);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.smiley__eye { width: 11px; height: 16px; border-radius: 50%; background: var(--ink); transform: translate(calc(var(--mx) * 6px), calc(var(--my) * 5px)); }
.star {
  position: absolute; bottom: 12%; left: clamp(6px, 4vw, 70px); width: 64px; height: 64px; background: var(--orange);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); border-top: var(--bd); border-bottom: var(--bd); padding: 14px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 96s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__group span { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; font-family: var(--font-retro); font-weight: 400; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: .04em; color: var(--paper); }
.marquee__group span::after { content: '✦'; color: var(--yellow); }

/* ---------- Projets ---------- */
.projects { padding: clamp(48px, 7vw, 110px) clamp(14px, 4vw, 56px); }
.projects__head { max-width: 1200px; margin: 0 auto clamp(26px, 4vw, 52px); display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 6vw, 80px); line-height: .9; letter-spacing: -.04em; }
.h2--sm { font-size: clamp(28px, 4.4vw, 58px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.h2 .dot { color: var(--pink); width: auto; height: auto; }
/* Étoile rose tournante en fin de titre « MES TRUCS / MY STUFF » */
.star-dot {
  display: inline-block; width: .42em; height: .42em; margin-left: .12em;
  background: var(--pink);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: spin 9s linear infinite;
}
.projects__sub { margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.6; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.projects__list { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(34px, 5vw, 70px); }

.card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  border: var(--bd-4); border-radius: var(--r-lg); box-shadow: var(--sticker-cut);
  padding: clamp(20px, 3vw, 44px);
  transition: transform .3s cubic-bezier(.2, .9, .2, 1);
}
.card__body { position: relative; min-width: 0; }
.card__title { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6.4vw, 84px); line-height: .88; letter-spacing: -.04em; }
.card__title--shadow { font-size: clamp(30px, 5.2vw, 66px); line-height: .9; color: var(--paper); text-shadow: 5px 5px 0 rgba(20, 16, 36, .55); }
.card__desc { margin: 16px 0 0; max-width: 38ch; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.55; }
.card__desc--light { color: #FFF4FB; }
.card .btn { margin-top: 26px; }

.card--zfx { transform: rotate(-1.1deg); background: var(--ink) repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 5px); }
.card--zfx:hover { transform: rotate(-.3deg) translateY(-6px); }
.card--zfx .card__title { color: var(--paper); }
.card--zfx .card__desc { color: #D9D4E8; }

.card--fb { transform: rotate(.9deg); background: linear-gradient(135deg, var(--pink) 0%, var(--violet) 62%, var(--blue) 100%); }
.card--fb:hover { transform: rotate(.2deg) translateY(-6px); }
.card__ring { position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 3px dashed rgba(255, 252, 242, .45); }

.card--sh { transform: rotate(-.6deg); background: var(--yellow); }
.card--sh:hover { transform: rotate(0deg) translateY(-6px); }
.card--sh .card__body { padding-top: 10px; }
.hazard { position: absolute; top: 0; left: 0; right: 0; height: 16px; background: repeating-linear-gradient(45deg, var(--ink) 0 14px, var(--yellow) 14px 28px); }

/* Terminal ZFX */
.terminal { min-width: 0; background: #0B0916; border: 3px solid #2C2748; border-radius: var(--r-md); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1B1730; border-bottom: 3px solid #2C2748; }
.terminal__path { margin-left: 8px; font-family: var(--font-retro); font-size: 11px; color: #7D76A0; }
.terminal__body { margin: 0; padding: 18px; font-family: var(--font-retro); font-size: clamp(11px, 1.15vw, 13.5px); line-height: 1.85; color: var(--green); white-space: pre-wrap; word-break: break-word; }
.caret { font-style: normal; animation: blink 1.1s steps(1) infinite; }

/* Téléphone FranceBlock */
.phone-wrap { position: relative; display: flex; justify-content: center; min-width: 0; }
.phone { width: min(260px, 72vw); background: var(--paper); border: var(--bd-4); border-radius: var(--r-lg); padding: 12px 12px 18px; box-shadow: 12px 14px 0 rgba(20, 16, 36, .35); transform: rotate(-3deg); }
.phone__notch { display: block; width: 52px; height: 6px; background: var(--ink); border-radius: var(--r-pill); margin: 2px auto 14px; }
.phone__call { border: var(--bd); border-radius: var(--r-md); padding: 14px; background: #FFF0F7; }
.phone__label { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--violet); }
.phone__number { margin: 8px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.phone__sub { margin: 4px 0 0; font-size: 12.5px; color: #5A5375; }
.phone__actions { display: flex; gap: 8px; margin-top: 14px; }
.phone__decline { flex: 1; text-align: center; background: var(--ink); color: var(--paper); border-radius: var(--r-sm); padding: 9px 0; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.phone__block { flex: 2; text-align: center; background: var(--pink); color: var(--paper); border: var(--bd); border-radius: var(--r-sm); padding: 7px 0; font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.phone__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 0 4px; font-size: 10px; font-weight: 700; color: #5A5375; }
.phone__led { width: 26px; height: 26px; border: var(--bd); border-radius: 50%; background: var(--green); }
.stamp { position: absolute; top: -6px; right: -2px; transform: rotate(13deg); background: var(--yellow); border: var(--bd); border-radius: var(--r-sm); padding: 8px 12px; font-family: var(--font-display); font-weight: 800; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }

/* Chantier Shantee */
.progress { margin-top: 22px; max-width: 340px; }
.progress__head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.progress__track { height: 22px; border: var(--bd); border-radius: var(--r-pill); background: var(--paper); overflow: hidden; }
.progress__bar { height: 100%; width: 38%; background: repeating-linear-gradient(45deg, var(--pink) 0 10px, var(--violet) 10px 20px); animation: grow 1.6s cubic-bezier(.2, .9, .2, 1) both; }
.cones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 14px; min-height: 200px; min-width: 0; }
.cone { position: relative; }
.cone__body { display: block; width: 0; height: 0; border-left: 52px solid transparent; border-right: 52px solid transparent; border-bottom: 104px solid var(--orange); }
.cone__stripe { position: absolute; left: 26px; top: 46px; width: 52px; height: 12px; background: var(--paper); border-radius: 2px; }
.cone__eyes { position: absolute; left: 34px; top: 66px; display: flex; gap: 12px; }
.cone__eyes i { width: 10px; height: 14px; background: var(--ink); border-radius: 50%; animation: blinkeye 5s infinite; }
.cone__base { position: absolute; left: 20px; top: 104px; width: 64px; height: 12px; background: var(--ink); border-radius: 4px; }
.cone--small .cone__body { border-left-width: 34px; border-right-width: 34px; border-bottom: 68px solid var(--pink); }
.cone--small .cone__stripe { left: 17px; top: 30px; width: 34px; height: 9px; }
.cone--small .cone__base { left: 12px; top: 68px; width: 44px; height: 10px; }
.wip { position: absolute; top: 6px; right: 0; transform: rotate(9deg); background: var(--ink); color: var(--yellow); border-radius: 14px; padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; box-shadow: 5px 5px 0 rgba(20, 16, 36, .25); }
.tape { position: absolute; bottom: -6px; left: 0; width: 120px; height: 14px; border-radius: var(--r-pill); background: repeating-linear-gradient(90deg, var(--ink) 0 16px, transparent 16px 32px); background-size: 32px 14px; animation: dash 1.8s linear infinite; }

/* ---------- Raspberry Pi ---------- */
.pi { padding: clamp(40px, 6vw, 96px) clamp(14px, 4vw, 56px); }
.pi__card {
  position: relative; overflow: hidden;
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 52px); align-items: center;
  background: var(--cyan); border: var(--bd-4); border-radius: 40px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 9px var(--ink), 18px 20px 0 rgba(20, 16, 36, .16);
  padding: clamp(24px, 4vw, 56px);
}
.pi__card::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(20, 16, 36, .14) 1.5px, transparent 1.5px); background-size: 22px 22px; pointer-events: none; }
.pi__body { position: relative; }
.pi__desc { margin: 16px 0 0; max-width: 38ch; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.6; }
.pi__art { position: relative; display: flex; justify-content: center; }

.board { position: relative; width: min(260px, 74vw); height: 172px; background: var(--green-pi); border: var(--bd-4); border-radius: 26px; box-shadow: 10px 12px 0 rgba(20, 16, 36, .3); }
.board__led { position: absolute; top: 16px; left: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); animation: led 2.2s ease-in-out infinite; }
.board__chips { position: absolute; top: 16px; right: 18px; display: flex; gap: 5px; }
.board__chips i { width: 8px; height: 8px; background: #0B5D3B; border: 2px solid #0A4E31; border-radius: 2px; }
.board__eyes { position: absolute; top: 52px; left: 0; right: 0; display: flex; justify-content: center; gap: 34px; }
.eye { position: relative; width: 42px; height: 46px; background: var(--paper); border: var(--bd); border-radius: 50%; overflow: hidden; animation: blinkeye 6s infinite; }
.pupil { position: absolute; left: 12px; top: 14px; width: 17px; height: 19px; background: var(--ink); border-radius: 50%; transform: translate(calc(var(--mx) * 6px), calc(var(--my) * 5px)); }
.board__blush { position: absolute; top: 74px; width: 22px; height: 12px; background: #FF9BC4; border-radius: var(--r-pill); opacity: .9; }
.board__blush--l { left: 16px; } .board__blush--r { right: 16px; }
.board__mouth { position: absolute; bottom: 26px; left: 50%; margin-left: -13px; width: 26px; height: 14px; background: var(--pink); border: var(--bd); border-top: 0; border-radius: 0 0 var(--r-pill) var(--r-pill); }
.board__port { position: absolute; bottom: -4px; left: 22px; width: 44px; height: 9px; background: var(--ink); border-radius: var(--r-pill); }
.board__gpio { position: absolute; top: -13px; right: 26px; width: 56px; height: 12px; background: var(--ink); border-radius: 4px; }
.board__berry { position: absolute; top: -9px; left: -13px; font-size: 26px; }
.board__legs { position: absolute; bottom: -38px; left: 34px; display: flex; gap: 26px; }
.board__legs i { width: 16px; height: 30px; background: var(--ink); border-radius: 0 0 8px 8px; }
.board__cable { position: absolute; top: -6px; right: -70px; width: 78px; height: 60px; border-top: 6px solid var(--yellow); border-right: 6px solid var(--yellow); border-radius: 0 26px 0 0; }
.board__plug { position: absolute; top: 48px; right: -84px; width: 26px; height: 20px; background: var(--yellow); border: var(--bd); border-radius: 4px; }

/* ---------- Section Benoist ---------- */
.benoist { position: relative; overflow: hidden; background: var(--violet-deep); border-top: var(--bd-4); border-bottom: var(--bd-4); padding: clamp(48px, 7vw, 110px) clamp(14px, 4vw, 56px); }
.benoist__blob { position: absolute; top: -40px; left: -30px; width: 220px; height: 220px; border-radius: 50%; background: var(--pink); opacity: .5; }
.benoist__ring { position: absolute; bottom: -70px; right: -40px; width: 260px; height: 260px; border-radius: 50%; border: 14px solid var(--yellow); opacity: .55; }
.benoist__inner { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }
.benoist__title { margin: 22px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 7.4vw, 104px); line-height: .86; letter-spacing: -.045em; color: var(--paper); text-shadow: 6px 6px 0 rgba(20, 16, 36, .75); text-wrap: balance; }
.benoist__body { margin: 26px auto 0; max-width: 44ch; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.6; color: #F0E7FF; }
.benoist__note { margin: 20px 0 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #C3AEF5; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(34px, 5vw, 64px) clamp(14px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.footer__logo { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 62px); line-height: .9; letter-spacing: -.04em; }
.footer__note { margin: 10px 0 0; font-size: 12px; letter-spacing: .08em; color: #9C95BE; }
.footer__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__link { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--paper); border-bottom: 2px solid; }
.footer__link--green { border-color: var(--green); } .footer__link--green:hover { color: var(--green); }
.footer__link--pink { border-color: var(--pink); } .footer__link--pink:hover { color: var(--pink); }
.footer__pi { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: #9C95BE; }
.footer__board { width: 30px; height: 22px; background: var(--green-pi); border: 2px solid var(--paper); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.footer__board i { width: 5px; height: 6px; background: var(--paper); border-radius: 50%; }

/* ---------- Modale contact ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: clamp(12px, 3vw, 48px); overflow-y: auto; background: rgba(20, 16, 36, .72); backdrop-filter: blur(7px); animation: fadein .2s ease both; }
.modal[hidden] { display: none; }
.modal__panel { position: relative; width: min(640px, 100%); background: var(--paper); border: var(--bd-4); border-radius: 32px; box-shadow: 0 0 0 5px var(--yellow), 0 0 0 9px var(--ink), 20px 22px 0 rgba(0, 0, 0, .35); padding: clamp(20px, 3.4vw, 40px); animation: pop .3s cubic-bezier(.2, .9, .2, 1) both; }
.modal__close { position: absolute; top: -18px; right: -14px; width: 52px; height: 52px; border-radius: 50%; background: var(--pink); color: var(--paper); border: var(--bd-4); cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 20px; box-shadow: 4px 4px 0 var(--ink); }
.modal__close:hover { background: var(--ink); }
.form__title { margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: .92; letter-spacing: -.04em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.form__row .field { margin-top: 0; }
.field__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field__input { border: var(--bd); border-radius: 14px; padding: 13px 14px; background: var(--white); font-size: 16px; outline: none; transition: box-shadow .15s, border-color .15s; }
textarea.field__input { border-radius: 16px; line-height: 1.5; resize: vertical; }
.field__input:focus { border-color: var(--violet); box-shadow: 4px 4px 0 var(--violet); }
.field__input--cyan:focus { border-color: #00A8C4; box-shadow: 4px 4px 0 var(--cyan); }
.field__input--pink:focus { border-color: var(--pink); box-shadow: 4px 4px 0 var(--pink); }
.field__input--green:focus { border-color: var(--green); box-shadow: 4px 4px 0 var(--green); }
.field__input[aria-invalid='true'] { border-color: var(--pink); box-shadow: 4px 4px 0 var(--pink); }
.form__website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.turnstile { max-width: 300px; }
.turnstile__note { margin: 8px 0 0; font-size: 10.5px; line-height: 1.4; color: #5A5375; }
.form__status { margin: 18px 0 0; padding: 11px 13px; border: 2px solid var(--pink); border-radius: var(--r-sm); background: #FFF0F7; color: var(--ink); font-size: 14px; font-weight: 700; }
.form__status[hidden] { display: none; }
.sent { text-align: center; padding: 26px 0; }
.sent[hidden] { display: none; }
.sent__emoji { font-size: 56px; margin: 0; }
.sent__body { margin: 12px 0 0; color: var(--ink-soft); }
.sent .btn { margin-top: 24px; }

/* ---------- Apparition au scroll (CSS natif + repli JS) ---------- */
.reveal { animation: rise linear both; }
@supports (animation-timeline: view()) {
  .reveal { animation-timeline: view(); animation-range: entry 4% cover 26%; }
}
@supports not (animation-timeline: view()) {
  .reveal { animation: none; opacity: 0; transform: translateY(70px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .2, 1); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes led { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 46, 136, .7); } 50% { opacity: .45; box-shadow: 0 0 0 10px rgba(255, 46, 136, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes blinkeye { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes dash { to { background-position: 80px 0; } }
@keyframes grow { from { width: 6%; } to { width: 38%; } }

.float { animation: float 5.5s ease-in-out infinite; }
.float--delay { animation-duration: 4.4s; animation-delay: -1.4s; }
.spin { animation: spin 22s linear infinite; }
.sticker--wobble { animation: wobble 5s ease-in-out infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__mobile { display: flex; }
  .nav__right { display: none; }
  .card, .pi__card { grid-template-columns: 1fr; }
  .card__title { font-size: clamp(34px, 10vw, 56px); }
  .smiley { top: 6%; width: 58px; height: 58px; }
  .star { width: 46px; height: 46px; }
  .sticker--tilt { position: static; margin-top: 18px; transform: rotate(-3deg); }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .projects__head { flex-direction: column; align-items: flex-start; }
  .hero__ctas .btn, .btn--huge { width: 100%; justify-content: center; }
  .modal__panel { border-radius: 24px; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .letter, .pupil, .smiley__eye { transform: none !important; }
}
