/* ============================================================
   SILVERSUNCORP v2 — Ethereal Glass / argent + or solaire
   Clash Display · Satoshi · JetBrains Mono
   ============================================================ */

:root {
  --bg: #050608;
  --bg-raise: #0b0d12;
  --shell: rgba(255, 255, 255, 0.04);
  --core: #0a0c11;
  --hairline: rgba(220, 225, 235, 0.09);
  --hairline-strong: rgba(220, 225, 235, 0.18);

  --silver: #aab2bf;
  --text: #d8dde6;
  --text-muted: #7a8290;

  --accent: #8d97a6;
  --accent-light: #b4bdcb;
  --accent-deep: #4d5563;
  --accent-glow: rgba(140, 152, 170, 0.28);
  --warm-sun: #f0b429;
  --tech: #7fb3c2;
  --tech-deep: #4a6f7a;

  --font-head: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-shell: 1.75rem;
  --r-core: calc(1.75rem - 0.45rem);
  --container: 1240px;

  --z-nav: 100;
  --z-menu: 200;
  --z-preloader: 300;
}

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

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

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

::selection { background: var(--accent); color: #0a0e14; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(24px, 4vw);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: calc(var(--z-preloader) + 1);
  background: var(--accent);
  color: #0a0e14;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============ COUCHES DE FOND ============ */

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(ellipse 640px 480px at 78% -8%, rgba(210, 218, 230, 0.085), transparent 70%),
    radial-gradient(ellipse 560px 560px at 8% 38%, rgba(200, 204, 212, 0.045), transparent 70%),
    radial-gradient(ellipse 700px 520px at 92% 88%, rgba(160, 170, 185, 0.05), transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(200, 204, 212, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 204, 212, 0.026) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 25%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 25%, transparent 92%);
}

.terminal-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: flex;
  justify-content: space-between;
  padding: 0 4vw;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.38;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.terminal-bg__col {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 2.15;
  color: rgba(200, 204, 212, 0.065);
  white-space: pre;
  width: 30%;
}

.terminal-bg__col .t-gold { color: rgba(210, 218, 230, 0.09); }
.terminal-bg__col .t-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: rgba(210, 218, 230, 0.22);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 218, 230, 0.05) 0%, transparent 62%);
  pointer-events: none;
  transform: translate(40vw, 30vh);
}

@media (hover: none) { .cursor-glow { display: none; } }

/* ============ COQUILLE DOUBLE-BEZEL ============ */

.cardshell {
  background: var(--shell);
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: 0.45rem;
  box-shadow: 0 24px 60px -24px rgba(2, 4, 10, 0.85);
}

.cardshell > * {
  border-radius: var(--r-core);
}

/* ============ TERMINAL (fenêtres) ============ */

.tbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--hairline);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }

.tbar__title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ============ PRELOADER ============ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__shell {
  width: min(540px, 90vw);
  background: var(--shell);
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: 0.45rem;
}

.preloader__terminal {
  background: var(--core);
  border-radius: var(--r-core);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.preloader__body {
  padding: 20px 18px;
  min-height: 158px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--silver);
}

.preloader__body .ok { color: #28c840; }
.preloader__body .gold { color: var(--tech); }

.preloader__progress { height: 3px; background: rgba(255, 255, 255, 0.05); }

.preloader__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-light));
  transition: width 0.3s var(--ease);
}

/* ============ NAV : PILL FLOTTANTE ============ */

.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
  pointer-events: none;
}

.navpill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 9px 9px 9px 22px;
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.62);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.07),
    0 18px 44px -16px rgba(2, 4, 10, 0.9);
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.navpill.is-scrolled { border-color: var(--hairline-strong); }

.navpill__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navpill__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(140, 152, 170, 0.25));
}

.navpill__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.13em;
  color: var(--silver);
}

.navpill__name em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navpill__links { display: flex; gap: 2px; }

.navpill__links a {
  position: relative;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}

.navpill__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.navpill__burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  cursor: pointer;
}

.navpill__burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.8px;
  background: var(--silver);
  transition: transform 0.45s var(--ease);
}

.navpill__burger span:nth-child(1) { top: 17px; }
.navpill__burger span:nth-child(2) { top: 23px; }

.navpill__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.navpill__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============ MENU PLEIN ÉCRAN ============ */

.menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(4, 5, 8, 0.86);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px max(24px, 7vw) 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.menu.is-open { opacity: 1; visibility: visible; }

.menu__links { display: flex; flex-direction: column; gap: 4px; }

.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 7vw, 58px);
  letter-spacing: -0.02em;
  color: var(--silver);
  padding: 6px 0;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}

.menu.is-open .menu__links a { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.26s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.32s; }

.menu__links a:hover { color: var(--accent); }

.menu__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.menu__meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.menu__meta a:hover { color: var(--accent); }

/* ============ BOUTONS PILL ============ */

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}

.pill-btn__orb {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
}

.pill-btn__orb svg { width: 15px; height: 15px; }

.pill-btn--accent {
  background: linear-gradient(140deg, var(--accent-light), var(--accent-deep));
  color: #0d1218;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 14px 36px -12px var(--accent-glow);
}

.pill-btn--accent .pill-btn__orb {
  background: rgba(10, 7, 0, 0.16);
  color: #0d1218;
}

.pill-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 20px 48px -12px var(--accent-glow);
}

.pill-btn--accent:hover .pill-btn__orb { transform: translate(2px, -1px) scale(1.06); }
.pill-btn--accent:active { transform: scale(0.97); }

.pill-btn--ghost {
  padding: 14px 28px;
  border-color: var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver);
}

.pill-btn--ghost:hover {
  border-color: rgba(210, 218, 230, 0.5);
  color: var(--accent);
  transform: translateY(-2px);
}

.pill-btn--ghost:active { transform: scale(0.97); }

.pill-btn--nav { padding: 6px 6px 6px 18px; font-size: 13px; }
.pill-btn--nav .pill-btn__orb { width: 30px; height: 30px; }
.pill-btn--lg { padding: 10px 10px 10px 32px; font-size: 16.5px; }
.pill-btn--lg .pill-btn__orb { width: 42px; height: 42px; }
.pill-btn--full { width: 100%; justify-content: space-between; }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  overflow: hidden;
}

.hero__particles { position: absolute; inset: 0; z-index: 0; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--tech);
  margin-bottom: 34px;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3rem, 8.4vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin-bottom: 30px;
  text-wrap: balance;
}

.hero__title-accent {
  background: linear-gradient(96deg, var(--accent-light) 0%, var(--silver) 50%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 58ch;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--text-muted);
  margin-bottom: 44px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============ MARQUEE ============ */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee__track span {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  color: var(--accent);
  font-size: 9px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */

.section { padding: clamp(110px, 13vw, 190px) 0; position: relative; }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }

.section__cmd {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--tech);
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.section__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============ BENTO SERVICES ============ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

.bento .cardshell {
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.bento .cardshell:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 218, 230, 0.3);
  box-shadow: 0 30px 70px -24px rgba(2, 4, 10, 0.95), 0 0 50px -18px var(--accent-glow);
}

.card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--core);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(210, 218, 230, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.cardshell:hover .card::before { opacity: 1; }

.card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(210, 218, 230, 0.07);
  border: 1px solid rgba(210, 218, 230, 0.18);
  color: var(--accent);
  flex-shrink: 0;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.card__icon svg { width: 23px; height: 23px; }

.cardshell:hover .card__icon {
  box-shadow: 0 0 26px var(--accent-glow);
  transform: scale(1.05);
}

.card > .card__icon { margin-bottom: 20px; }

.card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.card > .card__title { margin-bottom: 10px; }

.card__text {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.card__log {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.card__log-line.ok { color: rgba(40, 200, 64, 0.75); }
.card__log-line:first-child { color: var(--tech); }

.card__uptime {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.card__uptime-bars { display: flex; gap: 3px; flex: 1; }

.card__uptime-bars i {
  flex: 1;
  height: 16px;
  border-radius: 2px;
  background: rgba(40, 200, 64, 0.45);
}

.card__uptime-bars i:nth-child(11) { background: rgba(254, 188, 46, 0.55); }

.card__uptime-val { color: rgba(40, 200, 64, 0.85); }

/* ============ MANIFESTO ============ */

.manifesto { padding: clamp(60px, 8vw, 120px) 0; }

.manifesto__text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 24ch;
  text-wrap: balance;
}

.manifesto__text .w { opacity: 0.12; }

/* ============ PROCESSUS ============ */

.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.process__sticky {
  position: sticky;
  top: 130px;
}

.process__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.pstep {
  display: flex;
  gap: 28px;
  padding: 34px 6px;
  border-top: 1px solid var(--hairline);
}

.pstep:last-child { border-bottom: 1px solid var(--hairline); }

.pstep__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 7px;
  flex-shrink: 0;
}

.pstep__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.pstep__text {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 50ch;
  text-wrap: pretty;
}

/* ============ À PROPOS ============ */

.about {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

.about__lead {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 54ch;
  text-wrap: pretty;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.about__list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.terminal-window {
  background: var(--core);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.terminal-window__body {
  padding: 24px 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 2.05;
  min-height: 330px;
  color: var(--silver);
}

.terminal-window__body .t-prompt { color: var(--tech); }
.terminal-window__body .t-ok { color: #28c840; }
.terminal-window__body .t-dim { color: var(--text-muted); }
.terminal-window__body .t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}

/* ============ CTA ============ */

.cta {
  padding: clamp(110px, 14vw, 200px) 0;
  background: radial-gradient(ellipse 65% 110% at 50% 115%, rgba(210, 218, 230, 0.1), transparent 62%);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.cta__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: 22px;
}

/* ============ CONTACT ============ */

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  background: var(--shell);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}

a.contact__card:hover {
  border-color: rgba(210, 218, 230, 0.38);
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(6px);
}

.contact__card > svg {
  width: 23px;
  height: 23px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact__card div { display: flex; flex-direction: column; gap: 1px; }

.contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
}

.contact__form {
  background: var(--core);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--silver);
}

.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #07090d;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  resize: vertical;
}

.field select { cursor: pointer; }
.field select option { background: #11141a; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 218, 230, 0.14);
}

.field.is-error input,
.field.is-error textarea { border-color: #ff5f57; }

.field__error { font-size: 12.5px; color: #ff8a82; }

.contact__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-align: center;
  min-height: 18px;
}

/* ============ FOOTER ============ */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 36px;
  background: rgba(255, 255, 255, 0.012);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 44px;
}

.footer__brand { display: flex; flex-direction: column; gap: 12px; }

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.footer__nav, .footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); }

.footer__base {
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ RÉVÉLATIONS ============ */

.reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Focus clavier */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .span-2, .span-3, .span-4 { grid-column: span 3; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .about { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .navpill__links, .pill-btn--nav { display: none; }
  .navpill__burger { display: block; }
  .navpill { gap: 16px; padding: 8px 8px 8px 18px; }
}

@media (max-width: 720px) {
  .span-2, .span-3, .span-4 { grid-column: span 6; }
  .hero { padding-top: 120px; }
  .hero__actions { width: 100%; }
  .hero__actions .pill-btn { width: 100%; justify-content: space-between; }
  .terminal-bg__col:nth-child(2) { display: none; }
  .marquee__track { gap: 28px; }
  .footer__inner { flex-direction: column; }
}

/* ============ MOUVEMENT RÉDUIT ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .preloader { display: none; }
  .terminal-bg, .hero__particles, .cursor-glow { display: none; }
  .marquee__track { animation: none; }
}
