/* ==========================================================================
   Alpha2b — Design system "Atelier d'ingénierie"
   Encre & cuivre · Bricolage Grotesque / Instrument Sans / IBM Plex Mono
   ========================================================================== */

/* --------------------------------------------------------------------------
   Polices auto-hébergées (RGPD + performance : zéro requête tierce)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('../assets/fonts/bricolage-grotesque-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-var.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-italic.woff2') format('woff2');
}

:root {
  /* Couleurs */
  --ink: #070b14;
  --ink-raised: #0a1020;
  --panel: #0c1322;
  --panel-2: #101a2e;
  --line: rgba(151, 166, 198, 0.14);
  --line-strong: rgba(151, 166, 198, 0.30);
  --copper: #e0a458;
  --copper-bright: #f0be7c;
  --copper-soft: rgba(224, 164, 88, 0.12);
  --glacier: #8fb8ff;
  --text: #eaeff9;
  --muted: #98a2b8;
  --faint: #75819c; /* ≥ 4.5:1 sur fond encre */

  /* Typo */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', monospace;

  /* Layout */
  --nav-height: 76px;
  --container-max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;

  /* Mouvement */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s ease;
  --t-smooth: 0.5s var(--ease-out);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Trame blueprint discrète sur tout le fond */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 75%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--muted); font-size: 1.06rem; }

a, button { touch-action: manipulation; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); cursor: pointer; }

img, video { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

strong { color: var(--text); font-weight: 600; }

::selection { background: var(--copper); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section { padding: 7rem 0; border-top: 1px solid var(--line); }
.section--flush { border-top: none; }

.accent { color: var(--copper); }
.text-center { text-align: center; }

/* Bandeau d'erreur formulaire */
.form-alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #c0564f;
  border-radius: var(--radius-sm);
  background: rgba(192, 86, 79, 0.12);
  color: #f0a8a2;
  font-size: 0.95rem;
}

/* Eyebrow — commentaire de code */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.eyebrow .slashes { color: var(--faint); margin-right: 0.5em; }

.section-head { max-width: 640px; margin-bottom: 4rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn-solid {
  background: var(--copper);
  color: #14100a;
  border-color: var(--copper);
}
.btn-solid:hover {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-fast);
}
.navbar.scrolled { border-bottom-color: var(--line-strong); }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo .cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  background: var(--copper);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

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

.nav-menu { display: flex; gap: 2.25rem; align-items: center; }

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0;
  width: 100%; height: 2px;
  background: var(--copper);
  border-radius: 2px;
}
.nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.25rem; font-size: 0.9rem; }

.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 6px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: calc(var(--nav-height) + 5.5rem) 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 4rem;
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.5rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy .lead { font-size: 1.15rem; max-width: 44ch; margin-bottom: 2.5rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Bandeau stack technique */
.stack-strip {
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--faint);
}
.stack-strip span { white-space: nowrap; }

/* Scène code → produit */
.hero-stage { position: relative; min-height: 480px; }

.code-window,
.preview-window {
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.75);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.window-dots { display: flex; gap: 6px; }
.window-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.window-dots i:first-child { background: var(--copper); }
.window-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
}

.code-window {
  position: relative;
  z-index: 2;
  width: 78%;
}
.code-body {
  padding: 1.4rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.75;
  min-height: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}
.code-body .caret {
  display: inline-block;
  width: 8px; height: 1.05em;
  background: var(--copper);
  vertical-align: text-bottom;
  animation: blink 0.9s steps(1) infinite;
}

/* Coloration syntaxique — deux accents seulement */
.tok-kw { color: var(--copper); }
.tok-fn { color: var(--glacier); }
.tok-str { color: var(--copper-bright); }
.tok-num { color: var(--glacier); }
.tok-cmt { color: var(--faint); font-style: italic; }
.tok-pln { color: var(--text); }

.preview-window {
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  z-index: 3;
  width: 52%;
  min-width: 260px;
}
.preview-body { padding: 1.25rem; min-height: 190px; }

/* Éléments d'aperçu qui se matérialisent */
.pv-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.pv-item.on { opacity: 1; transform: none; }

.pv-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.pv-logo { width: 12px; height: 12px; border-radius: 3px; background: var(--copper); }
.pv-navlines { display: flex; gap: 0.5rem; margin-left: auto; }
.pv-navlines i { width: 26px; height: 5px; border-radius: 3px; background: var(--line-strong); }

.pv-h1 { height: 12px; width: 82%; border-radius: 4px; background: var(--text); opacity: 0.9; margin-bottom: 0.6rem; }
.pv-h1.pv-h1--copper { width: 56%; background: var(--copper); opacity: 1; }
.pv-text { height: 6px; border-radius: 3px; background: var(--line-strong); margin-bottom: 0.5rem; }
.pv-text.w60 { width: 60%; }
.pv-text.w80 { width: 80%; }

.pv-badges { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.pv-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--muted);
}
.pv-badge b { color: var(--copper); font-weight: 600; }

.pv-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.pv-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px var(--copper);
}

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: transform var(--t-smooth), border-color var(--t-smooth);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--copper-soft);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.card h3 { margin-bottom: 0.8rem; }
.card p { font-size: 0.98rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, var(--panel) 0%, var(--panel-2) 100%);
}
.card--wide p { max-width: 62ch; }

/* --------------------------------------------------------------------------
   Processus — séquence numérotée
   -------------------------------------------------------------------------- */

.process { max-width: 860px; margin: 0 auto; }

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--copper);
}
.process-num::after { content: ' /'; color: var(--faint); }

.process-step h3 { margin-bottom: 0.6rem; }
.process-step p { max-width: 56ch; }

/* --------------------------------------------------------------------------
   Témoignages
   -------------------------------------------------------------------------- */

.quote-card { display: flex; flex-direction: column; gap: 1.75rem; }
.quote-card blockquote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}
.quote-card blockquote::before { content: '« '; color: var(--copper); }
.quote-card blockquote::after { content: ' »'; color: var(--copper); }
.quote-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.quote-meta b { color: var(--text); font-weight: 600; display: block; }

/* --------------------------------------------------------------------------
   Bande CTA — repères blueprint
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  text-align: center;
  padding: 5rem 2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}
.cta-band::before, .cta-band::after,
.cta-band .tick::before, .cta-band .tick::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--copper);
  border-style: solid;
}
.cta-band::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.cta-band::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.cta-band .tick::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.cta-band .tick::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.cta-band h2 { max-width: 20ch; margin: 0 auto 1.25rem; }
.cta-band p { max-width: 48ch; margin: 0 auto 2.25rem; }

/* --------------------------------------------------------------------------
   En-tête de page interne
   -------------------------------------------------------------------------- */

.page-header {
  padding: calc(var(--nav-height) + 6rem) 0 5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header h1 { margin-bottom: 1.25rem; }
.page-header p { max-width: 54ch; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Offres (solutions)
   -------------------------------------------------------------------------- */

.offer-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.offer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}
.offer--featured {
  border-color: var(--copper);
  background: linear-gradient(130deg, var(--panel) 30%, rgba(224, 164, 88, 0.07) 100%);
}

.offer-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.9rem;
}
.offer h3 { font-size: 1.9rem; margin-bottom: 0.75rem; }
.offer .offer-desc { margin-bottom: 2rem; }

.offer-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.offer-note {
  font-size: 0.9rem;
  color: var(--faint);
  display: block;
  margin-bottom: 2rem;
}

.offer-features {
  padding-left: 2.5rem;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}
.offer-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--text);
  font-size: 0.98rem;
}
.offer-features svg { color: var(--copper); flex-shrink: 0; margin-top: 3px; }

/* --------------------------------------------------------------------------
   Équipe
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.member { text-align: center; padding: 3rem 2rem; }
.member-photo {
  width: 116px; height: 116px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  outline: 1px solid var(--copper);
  outline-offset: 5px;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: 0.4rem; }
.member-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.member p { font-size: 0.95rem; }
.member-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.member-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1060px;
  margin: 0 auto;
  align-items: start;
}

.contact-aside h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.contact-aside > p { margin-bottom: 2.5rem; }

.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line svg { color: var(--copper); flex-shrink: 0; }
.contact-line a:hover { color: var(--copper); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.4rem;
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control::placeholder { color: var(--faint); }
.form-control:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-soft);
}
textarea.form-control { min-height: 150px; resize: vertical; }

.form-privacy { font-size: 0.82rem; color: var(--faint); margin-top: 1rem; }
.form-privacy a { color: var(--muted); text-decoration: underline; }

/* Honeypot — invisible pour les humains */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Lien d'évitement — visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: var(--copper);
  color: #14100a;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

.pv-gap { margin-top: 0.9rem; }

/* --------------------------------------------------------------------------
   Page légale
   -------------------------------------------------------------------------- */

.legal { max-width: 780px; margin: 0 auto; }
.legal h2 {
  font-size: 1.35rem;
  margin: 3rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.legal p { margin-bottom: 1rem; }
.legal a { color: var(--glacier); }
.legal a:hover { color: var(--copper); }
.legal ul { padding-left: 1.25rem; list-style: disc; color: var(--muted); }
.legal li { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  background: var(--ink-raised);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.25rem;
}
.footer-brand { font-family: var(--font-mono); font-size: 1.1rem; color: var(--text); margin-bottom: 0.75rem; }
.footer-col p { font-size: 0.92rem; max-width: 30ch; }

.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--copper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Animations d'apparition
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stage { min-height: 0; padding-bottom: 3rem; }
  .code-window { width: 100%; }
  .preview-window { position: relative; bottom: auto; margin: -2.5rem 0 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height); left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform var(--t-smooth);
  }
  .nav-menu.open { transform: none; }
  .nav-link { font-size: 1.2rem; }
  .mobile-menu-btn { display: flex; }
  .nav-cta { display: none; }

  .grid-3 { grid-template-columns: 1fr; }

  .offer { grid-template-columns: 1fr; gap: 2rem; }
  .offer-features {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-grid { grid-template-columns: 1fr; }

  .process-step { grid-template-columns: 56px 1fr; gap: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { justify-content: center; text-align: center; }

  .stack-strip { gap: 0.5rem 1.1rem; }
}

/* --------------------------------------------------------------------------
   Accessibilité — 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, .pv-item { opacity: 1; transform: none; }
}
