/* ==========================================================================
   AGENCE ARTEMIS — Design system
   Thème WordPress « Artemis » — tokens, composants, responsive
   ========================================================================== */

:root {
  /* Couleurs de marque */
  --accent: #FF5B1F;          /* Orange signal (fusée) */
  --accent-2: #FFB23F;        /* Flamme */
  --accent-ink: #0A0F1A;      /* Texte sur accent */
  --space: #060A13;           /* Ciel profond (hero) */
  --lunar: #F3EEE3;           /* Crème lunaire */

  /* Thème nuit (défaut) */
  --bg: #070B14;
  --bg-2: #0B111E;
  --surface: #0F1726;
  --surface-2: #141D30;
  --fg: #F3EEE3;
  --fg-dim: rgba(243, 238, 227, .68);
  --fg-faint: rgba(243, 238, 227, .40);
  --line: rgba(243, 238, 227, .12);
  --line-strong: rgba(243, 238, 227, .24);

  /* Typographies */
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-display-stretch: 125%;
  --f-display-weight: 800;
  --f-display-case: uppercase;
  --f-display-track: -0.015em;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Géométrie */
  --radius: 6px;
  --radius-lg: 14px;
  --pad: clamp(20px, 4.2vw, 72px);
  --maxw: 1480px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --grain: .06;
}

[data-theme="light"] {
  --bg: #F3EEE3;
  --bg-2: #ECE5D7;
  --surface: #FAF7F1;
  --surface-2: #E6DECD;
  --fg: #0A1120;
  --fg-dim: rgba(10, 17, 32, .70);
  --fg-faint: rgba(10, 17, 32, .45);
  --line: rgba(10, 17, 32, .12);
  --line-strong: rgba(10, 17, 32, .28);
  --grain: .05;
}

[data-radius="sharp"] { --radius: 0px; --radius-lg: 0px; }
[data-radius="round"] { --radius: 999px; --radius-lg: 28px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body::after { /* grain film */
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
[data-grain="off"] body::after { display: none; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typo ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: var(--f-display-stretch);
  font-weight: var(--f-display-weight);
  text-transform: var(--f-display-case);
  letter-spacing: var(--f-display-track);
  line-height: .92;
  margin: 0;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -0.01em;
}
.accent { color: var(--accent); }
.h2 { font-size: clamp(38px, 5.4vw, 92px); }
/* La serif italique pèse beaucoup moins d'encre que l'Archivo étendu en capitales :
   à taille égale elle paraît plus petite. On la grandit pour rééquilibrer les deux moitiés. */
.h2 .serif { font-size: 1.15em; }
.h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.05; }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--fg-dim); max-width: 46ch; }

.label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }
.label--plain::before { display: none; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }

/* ---------- Boutons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 8px 0 26px;
  border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  background: var(--accent); color: var(--accent-ink);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lunar);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__icon {
  width: 42px; height: 42px; border-radius: calc(var(--radius) * .75);
  display: grid; place-items: center; background: var(--accent-ink); color: var(--lunar); overflow: hidden;
}
[data-radius="round"] .btn__icon { border-radius: 50%; }
.btn__icon svg { width: 18px; height: 18px; transition: transform .55s var(--ease); }
.btn:hover .btn__icon svg { animation: liftoff .7s var(--ease); }
@keyframes liftoff { 0%{transform:translate(0,0)} 45%{transform:translate(160%,-160%)} 46%{transform:translate(-160%,160%)} 100%{transform:translate(0,0)} }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); padding-right: 26px; }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 46px; padding-left: 18px; font-size: 12px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.hero .btn--ghost { color: var(--lunar); box-shadow: inset 0 0 0 1px rgba(243,238,227,.3); }
.hero .btn--ghost::before { background: var(--lunar); }
.hero .btn--ghost:hover { color: var(--space); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
  color: var(--lunar);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  color: var(--fg);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__name {
  font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 800;
  font-size: 17px; letter-spacing: .04em; line-height: 1; text-transform: uppercase;
}
.brand__name small { display: block; font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; font-size: 9.5px; letter-spacing: .32em; opacity: .6; margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 14px; font-weight: 500; opacity: .82; transition: opacity .2s;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-clock { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; opacity: .7; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.header-clock i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 10px #3DDC84; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--space); color: var(--lunar);
  padding: 120px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu a { font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: var(--f-display-weight); text-transform: var(--f-display-case); font-size: clamp(34px, 9vw, 64px); line-height: 1.1; border-bottom: 1px solid rgba(243,238,227,.1); padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; }
.mobile-menu a span { font-family: var(--f-mono); font-size: 12px; opacity: .5; letter-spacing: .1em; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1300px;
  background: var(--space); color: var(--lunar); overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,10,19,.72) 0%, rgba(6,10,19,.25) 42%, rgba(6,10,19,0) 60%),
    linear-gradient(0deg, rgba(6,10,19,.85) 0%, rgba(6,10,19,0) 26%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(88px, 12vh, 150px);
}
.hero__content .container { display: grid; gap: 30px; }
.hero__kicker { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; color: rgba(243,238,227,.8); font-weight: 400; margin: 0 0 22px; }
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 { margin: 0; font-size: inherit; font-weight: inherit; }
.hero__title { display: block; font-size: clamp(44px, 5.9vw, 108px); }
.hero__title .line > span { white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__title .serif { font-size: 1.08em; line-height: .8; color: var(--accent); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__sub { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; }
.hero__lead { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.25vw, 19px); color: rgba(243,238,227,.78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready .fade-up { opacity: 1; transform: none; }
.is-ready .fade-up.d1 { transition-delay: .35s; } .is-ready .fade-up.d2 { transition-delay: .5s; } .is-ready .fade-up.d3 { transition-delay: .65s; }

.hud { position: absolute; top: 104px; left: 0; right: 0; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.62); }
.hud .container { display: flex; justify-content: space-between; gap: 20px; }
.hud__block { display: grid; gap: 6px; }
.hud__row { display: flex; gap: 14px; }
.hud__row b { color: var(--lunar); font-weight: 500; min-width: 10ch; display: inline-block; }
.hud__status b { color: var(--accent); }
.hud__corner { width: 14px; height: 14px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; margin-bottom: 8px; }
.hud__block--right { text-align: right; justify-items: end; }
.hud__block--right .hud__corner { border-left: 0; border-right: 1px solid currentColor; }
.hud__clock { font-size: 26px; letter-spacing: .04em; color: var(--lunar); font-weight: 300; }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 26px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.55); }
.hero__foot .container { display: flex; justify-content: space-between; align-items: center; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 34px; background: rgba(243,238,227,.2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.replay { pointer-events: auto; display: inline-flex; gap: 10px; align-items: center; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 8px 12px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(243,238,227,.18); transition: color .2s, box-shadow .2s; }
.replay:hover { color: var(--lunar); box-shadow: inset 0 0 0 1px var(--accent); }
.replay svg { width: 14px; height: 14px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); padding-block: 26px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: var(--f-display-weight); text-transform: var(--f-display-case); font-size: clamp(26px, 3vw, 44px); letter-spacing: var(--f-display-track); white-space: nowrap; line-height: 1; }
.marquee__item.serif { color: var(--accent); font-size: clamp(30px, 3.4vw, 50px); }
.marquee__star { width: 22px; height: 22px; color: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 190px); }
.section--tight { padding-block: clamp(72px, 9vw, 130px); }
.section--alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 32px var(--pad); align-items: start; margin-bottom: clamp(48px, 7vw, 100px); }
.section-head__meta { display: grid; gap: 12px; padding-top: 12px; }
.section-head__meta .mono { font-size: 11px; color: var(--fg-faint); letter-spacing: .1em; }
.section-head__main { display: grid; gap: 28px; }
.section-head__row { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: end; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-motion="reduced"] [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 32px var(--pad); }
.manifesto__text { font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: 600; letter-spacing: -0.025em; font-size: clamp(28px, 3.3vw, 56px); line-height: 1.12; margin: 0; }
.manifesto__text .w { opacity: .16; transition: opacity .4s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .serif { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: var(--f-display-weight); font-size: clamp(40px, 4.4vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.stat__num sup { font-size: .4em; color: var(--accent); vertical-align: top; margin-left: 4px; font-family: var(--f-mono); letter-spacing: 0; }
.stat p { margin: 0; color: var(--fg-dim); font-size: 15px; max-width: 26ch; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--bg); padding: clamp(28px, 2.8vw, 44px);
  /* Les 4 lignes (icône, titre, texte, étiquettes) sont partagées par les cartes d'une même rangée :
     titres, textes et étiquettes restent alignés quelle que soit la longueur des titres. */
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; align-content: start; overflow: hidden; isolation: isolate;
}
.section--alt .service { background: var(--bg-2); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.service:hover::before { opacity: 1; }
.service__top { display: flex; justify-content: space-between; align-items: start; margin-bottom: clamp(36px, 5vw, 84px); }
.service__num { font-family: var(--f-mono); font-size: 12px; color: var(--fg-faint); letter-spacing: .1em; }
.service__icon { width: 64px; height: 64px; color: var(--fg); transition: color .4s, transform .8s var(--ease); }
.service:hover .service__icon { color: var(--accent); transform: rotate(-12deg) scale(1.06); }
.service h3 { margin: 0; align-self: start; }
.service .tags { align-self: start; }
.service p { margin: 0; color: var(--fg-dim); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--fg-dim); }
.service__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.service:hover .service__bar { transform: scaleX(1); }

/* ---------- Projets ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 16px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--fg-dim);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip sup { font-size: 9px; margin-left: 3px; opacity: .6; }

.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.2vw, 36px); }
.project { grid-column: span 6; display: grid; gap: 18px; cursor: pointer; }
.projects--featured .project:nth-child(4n+1), .projects--featured .project:nth-child(4n+4) { grid-column: span 7; }
.projects--featured .project:nth-child(4n+2), .projects--featured .project:nth-child(4n+3) { grid-column: span 5; }
.projects--featured .project:nth-child(4n+2) { margin-top: clamp(40px, 8vw, 140px); }
.projects--all .project { grid-column: span 4; }
.projects--all .project:nth-child(5n+1) { grid-column: span 8; }
.project.is-hidden { display: none; }
.project__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.project__cursor {
  position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; text-align: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
  transform: scale(0); transition: transform .6s var(--ease); pointer-events: none; z-index: 3;
}
.project:hover .project__cursor, .project:focus-visible .project__cursor { transform: scale(1); }
.project__meta { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.project__title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.project__sub { margin: 6px 0 0; font-size: 14.5px; color: var(--fg-dim); }
.project__year { font-family: var(--f-mono); font-size: 12px; color: var(--fg-faint); white-space: nowrap; padding-top: 5px; }
.badge-demo { position: absolute; bottom: 12px; left: 12px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius); background: rgba(6,10,19,.7); color: var(--lunar); backdrop-filter: blur(6px); }
.badge-demo--live { background: var(--accent); color: var(--accent-ink); }

/* Maquette navigateur générée en CSS */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--m-bg); color: var(--m-fg); }
.mock__bar { flex: none; height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: color-mix(in srgb, var(--m-bg) 86%, #000); border-bottom: 1px solid color-mix(in srgb, var(--m-fg) 10%, transparent); }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--m-fg) 22%, transparent); }
.mock__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 9.5px; opacity: .5; }
.mock__viewport { position: relative; flex: 1; overflow: hidden; }
.mock__page { position: absolute; inset: 0 0 auto; padding: 5% 7%; display: grid; gap: 18px; transition: transform 2.8s cubic-bezier(.45,0,.25,1); }
.project:hover .mock__page { transform: translateY(calc(-100% + var(--vh, 280px))); }
.mock__nav { display: flex; justify-content: space-between; align-items: center; }
.mock__logo { width: 18%; height: 9px; border-radius: 2px; background: var(--m-fg); }
.mock__links { display: flex; gap: 8px; } .mock__links i { width: 26px; height: 5px; border-radius: 2px; background: color-mix(in srgb, var(--m-fg) 40%, transparent); }
.mock__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; min-height: 58%; padding-block: 4%; }
.mock__hero--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.mock__h { font-family: var(--m-font, var(--f-display)); font-weight: 700; font-size: clamp(16px, 2.3vw, 34px); line-height: .95; letter-spacing: -0.03em; margin: 0; }
.mock__p { display: grid; gap: 5px; margin-top: 10px; width: 100%; } .mock__p i { height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--m-fg) 28%, transparent); } .mock__p i:last-child { width: 60%; }
.mock__hero--center .mock__p { justify-items: center; } .mock__hero--center .mock__p i { width: 70%; }
.mock__btn { margin-top: 12px; width: 70px; height: 18px; border-radius: 3px; background: var(--m-accent); }
.mock__img { aspect-ratio: 4/5; border-radius: 4px; background: var(--m-img); }
.mock__img, .mock__band, .mock__grid div:nth-child(2) { background-size: cover; background-position: center; }
.mock__band { height: 64px; border-radius: 4px; background: var(--m-img); }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__grid div { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--m-fg) 9%, transparent); position: relative; overflow: hidden; }
.mock__grid div::after { content: ""; position: absolute; inset: auto 10% 10%; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--m-fg) 35%, transparent); }
.mock__grid div:nth-child(2) { background: var(--m-img); }
.mock__foot { height: 90px; border-radius: 4px; background: color-mix(in srgb, var(--m-fg) 7%, transparent); }

/* ---------- Méthode (séquence de lancement) ---------- */
.sequence { display: grid; grid-template-columns: 5fr 7fr; gap: var(--pad); align-items: start; }
.sequence__sticky { position: sticky; top: 130px; display: grid; gap: 28px; }
.sequence__steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; }
.sequence__rail { position: absolute; left: 18px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.sequence__fill { position: absolute; left: 0; top: 0; width: 1px; height: var(--p, 0%); background: linear-gradient(var(--accent-2), var(--accent)); box-shadow: 0 0 12px var(--accent); }
.sequence__rocket { position: absolute; left: -11px; top: calc(var(--p, 0%) - 12px); width: 23px; height: 23px; color: var(--accent); transform: rotate(180deg); }
.step { position: relative; padding-block: 34px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 88px 1fr; gap: 8px 28px; }
.step:first-child { padding-top: 0; }
.step::before { content: ""; position: absolute; left: -51px; top: 42px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-strong); transition: background-color .4s, box-shadow .4s; }
.step:first-child::before { top: 8px; }
.step.is-active::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.step__t { font-family: var(--f-mono); font-size: 13px; color: var(--accent); letter-spacing: .06em; padding-top: 6px; }
.step h3 { margin: 0; }
.step p { margin: 6px 0 0; color: var(--fg-dim); grid-column: 2; font-size: 16px; max-width: 52ch; }
.step .tags { grid-column: 2; margin-top: 10px; }

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 2.6vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.plan--hot { background: var(--space); color: var(--lunar); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan--hot::after { content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent), transparent 65%); pointer-events: none; }
.plan__orbit { width: 54px; height: 54px; }
.plan__name { font-size: clamp(24px, 2.2vw, 34px); }
.plan__for { font-size: 15px; color: var(--fg-dim); margin: -8px 0 0; }
.plan--hot .plan__for, .plan--hot li { color: rgba(243,238,227,.72); }
.plan__price { display: flex; align-items: baseline; gap: 10px; padding-block: 18px; border-block: 1px solid var(--line); }
.plan--hot .plan__price { border-color: rgba(243,238,227,.14); }
.plan__price b { font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: var(--f-display-weight); font-size: 30px; letter-spacing: -0.02em; }
.plan__price span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--fg-dim); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan__flag { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); z-index: 1; }

/* Formules : survol — la carte avance, un reflet « miroir » la traverse, l'orbite pivote */
.plan__orbit { transition: transform .8s var(--ease); }
.plan::before {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.05) 42%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.05) 58%, transparent 68%);
  transform: translateX(-110%); opacity: 0;
}
@media (hover: hover) {
  .plan.is-in, .plan:not([data-reveal]) { transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1.1s var(--ease); transition-delay: 0s; }
  .plan:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 34px 70px -28px rgba(0,0,0,.75), 0 0 60px -18px color-mix(in srgb, var(--accent) 45%, transparent);
  }
  .plan:hover::before { opacity: 1; transform: translateX(110%); transition: transform 1.1s var(--ease), opacity .2s; }
  .plan:hover .plan__orbit { transform: rotate(-14deg) scale(1.08); }
}
/* ---------- Pour qui ---------- */
.audience { border-top: 1px solid var(--line); }
.aud { display: grid; grid-template-columns: 80px 1fr 1.1fr 60px; gap: 24px; align-items: center; padding-block: clamp(26px, 3vw, 44px); border-bottom: 1px solid var(--line); position: relative; }
.aud::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.aud { isolation: isolate; transition: color .4s; }
.aud:hover { color: var(--accent-ink); }
.aud:hover::before { transform: scaleY(1); }
.aud__n { font-family: var(--f-mono); font-size: 13px; opacity: .6; padding-left: 8px; }
.aud__title { font-size: clamp(28px, 3.6vw, 58px); }
.aud p { margin: 0; font-size: 16px; opacity: .78; max-width: 48ch; }
.aud__arrow { width: 44px; height: 44px; transition: transform .6s var(--ease); justify-self: end; margin-right: 8px; }
.aud:hover .aud__arrow { transform: rotate(-45deg); }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 5fr 7fr; gap: var(--pad); align-items: center; }
.zone__cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.zone__cities a, .zone__cities span { display: inline-block; font-size: 14px; padding: 8px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .3s, color .3s; }
/* Ville sans page dédiée : même pastille, mais ni lien ni interaction. */
.zone__cities span { color: var(--fg-faint); box-shadow: inset 0 0 0 1px var(--line); }
.zone__cities a:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 720px; justify-self: end; border-radius: 50%; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 34%, transparent), transparent 22%); animation: sweep 6s linear infinite; mask: radial-gradient(circle closest-side, #000 90.5%, transparent 91%); -webkit-mask: radial-gradient(circle closest-side, #000 90.5%, transparent 91%); opacity: .5; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar text { font-family: var(--f-mono); fill: var(--fg-dim); font-size: 4.2px; letter-spacing: .04em; }
.radar .town circle { fill: var(--fg); }
.radar .town--main circle { fill: var(--accent); }
.radar .town--main text { fill: var(--fg); font-size: 5.6px; font-weight: 600; }
.radar .ping { fill: none; stroke: var(--accent); stroke-width: .5; animation: ping 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.radar .town--capital circle:not(.ping) { fill: var(--accent); }
.radar .town--capital text { fill: var(--fg); font-size: 7.2px; font-weight: 700; letter-spacing: .08em; }
.radar .ping--capital { animation-delay: -1.2s; stroke-width: .7; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 32px var(--pad); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 40px; gap: 20px; align-items: center; padding-block: 28px; font-size: clamp(19px, 1.6vw, 25px); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 40px; height: 40px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-strong); position: relative; transition: background-color .3s, transform .5s var(--ease); }
[data-radius="round"] .faq summary i { border-radius: 50%; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: -8px 0 30px; color: var(--fg-dim); max-width: 70ch; }

/* ---------- Contact / CTA ---------- */
.launch { position: relative; background: var(--space); color: var(--lunar); overflow: hidden; isolation: isolate; }
.launch__moon { position: absolute; left: 50%; bottom: -132vw; width: 150vw; height: 150vw; margin-left: -75vw; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 50% 8%, #FFFDF7 0%, #DAD3C4 12%, #7E786E 32%, #2A2C33 48%, var(--space) 60%);
  box-shadow: 0 -40px 160px -20px color-mix(in srgb, var(--accent) 35%, transparent);
  opacity: .7;
}
.launch__stars { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 38% 40%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 88% 48%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 22% 62%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 58% 8%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 94% 28%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 5% 45%, #fff 50%, transparent 52%); opacity: .7; }
.launch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: start; }
.launch__title { font-size: clamp(48px, 7vw, 120px); }
.launch__title .serif { color: var(--accent); }
.contact-lines { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid rgba(243,238,227,.14); }
.contact-lines a, .contact-lines div { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid rgba(243,238,227,.14); font-size: 17px; }
.contact-lines span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; padding-top: 5px; }
.contact-lines a:hover { color: var(--accent); }

.form { background: rgba(10, 16, 30, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(243,238,227,.14); padding: clamp(24px, 3vw, 44px); display: grid; gap: 22px; }
.form__head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; padding-bottom: 18px; border-bottom: 1px dashed rgba(243,238,227,.2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.6); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--lunar); background: transparent; border: 0; border-bottom: 1px solid rgba(243,238,227,.22);
  padding: 10px 0; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,238,227,.3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-block; font-size: 14px; padding: 8px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(243,238,227,.22); transition: all .25s; }
.pills input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot small { font-size: 12.5px; opacity: .55; max-width: 34ch; }
.form.is-sent .btn { background: #3DDC84; }

/* ---------- Footer ---------- */
.site-footer { background: var(--space); color: var(--lunar); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; border-top: 1px solid rgba(243,238,227,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; }
.footer-grid h2, .footer-grid h3 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .5; margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
/* Cible tactile d'au moins 24 px (WCAG 2.2, critère 2.5.8) : le texte fait 20 px de haut. */
.footer-grid ul a { opacity: .8; transition: opacity .2s, color .2s; display: inline-block; padding-block: 3px; }
.footer-grid ul a:hover { opacity: 1; color: var(--accent); }
.footer-grid p { margin: 18px 0 0; font-size: 15px; opacity: .65; max-width: 34ch; }
.footer-word { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 900; font-size: 17.6vw; line-height: .76; letter-spacing: -0.04em; text-transform: uppercase; margin: 0 0 0 -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243,238,227,.2); user-select: none; position: relative; }
.footer-word span { position: absolute; inset: 0; color: var(--accent); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease); }
.site-footer:hover .footer-word span { clip-path: inset(0 0 0 0); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-block: 26px; border-top: 1px solid rgba(243,238,227,.1); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; opacity: .6; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
/* Même règle de cible tactile : ces liens n'étaient hauts que de 18 px. */
/* min-width : « CGV » ne fait que 23 px de large sans ça, soit 1 px sous la norme. */
.footer-bottom nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; min-width: 24px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Page Réalisations ---------- */
.page-hero { position: relative; background: var(--space); color: var(--lunar); padding: clamp(160px, 20vw, 260px) 0 clamp(70px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero__title { font-size: clamp(52px, 9vw, 160px); }
.page-hero__title .serif { color: var(--accent); }
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; margin-top: 40px; }
.page-hero__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.breadcrumb { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 28px; display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--accent); }
.toolbar { position: sticky; top: 84px; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.toolbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }

dialog.case { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--bg); color: var(--fg); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
dialog.case::backdrop { background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
dialog.case[open] { animation: caseIn .7s var(--ease); }
@keyframes caseIn { from { opacity: 0; transform: translateY(40px) scale(.98); } }
.case__media { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.case__media .mock__page { transition-duration: 6s; }
.case__media:hover .mock__page { transform: translateY(calc(-100% + var(--vh, 400px))); }
.case__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(24px, 3.5vw, 52px); }
.case__body h2 { font-size: clamp(30px, 3.4vw, 52px); margin: 10px 0 18px; }
.case__body p { color: var(--fg-dim); margin: 0; }
.case__specs { display: grid; gap: 0; border-top: 1px solid var(--line); align-self: start; }
.case__specs div { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.case__specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); padding-top: 4px; }
.case__specs dd { margin: 0; text-align: right; }
.case__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 48px; height: 48px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.case__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-clock { display: none; }
  .burger { display: block; margin-left: auto; }
  .site-header .btn { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .aud { grid-template-columns: 50px 1fr 50px; }
  .aud p { grid-column: 2; }
  .aud__arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 900px) {
  .section-head, .manifesto, .faq, .sequence, .zone, .launch__grid, .case__body { grid-template-columns: 1fr; }
  .sequence__sticky { position: static; }
  .radar { justify-self: center; }
  .projects .project, .projects--featured .project:nth-child(n), .projects--all .project:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .hud__block--left { display: none; }
  .hud { top: 92px; }
  .hero__shade { background: linear-gradient(0deg, rgba(6,10,19,.96) 0%, rgba(6,10,19,.8) 38%, rgba(6,10,19,0) 62%); }
  .hero__content { bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .service__top { margin-bottom: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 22px 12px 22px 0; border-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step p, .step .tags { grid-column: 1; }
  .sequence__steps { padding-left: 44px; }
  .sequence__rail { left: 8px; }
  .step::before { left: -41px; }
  .hud__clock { font-size: 18px; }
  .hero__foot .scroll-cue { display: none; }
  .hero__foot .container { justify-content: flex-end; }
  .btn { --h: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.sequence__list { list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .hero__title { max-width: none; font-size: clamp(34px, 10vw, 72px); } .hero__title .line > span { white-space: normal; } }
html, body { overflow-x: clip; }
.display { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 640px) {
  .h2 { font-size: clamp(26px, 8vw, 40px); }
  .aud { grid-template-columns: 34px 1fr; gap: 10px 14px; }
  .aud__arrow { display: none; }
  .aud__title { font-size: clamp(22px, 7vw, 30px); }
  .plan__name { font-size: 24px; }
  .launch__title { font-size: clamp(38px, 12vw, 56px); }
  .page-hero__title { font-size: clamp(40px, 13vw, 64px); }
  .hud { top: 88px; }
  .hud__row { gap: 8px; }
  .manifesto__text { font-size: clamp(24px, 7vw, 32px); }
  .faq summary { font-size: 18px; }
}
@media (max-width: 640px) {
  .hud__block--right .hud__row:not(.hud__status) { display: none; }
  .hud__block--right .hud__corner { display: none; }
  .hud { top: 86px; font-size: 10px; }
  .hud__clock { font-size: 15px; }
  .hero__content { bottom: 72px; }
  .hero__kicker { margin-bottom: 14px; font-size: 11px; }
  .hero__lead { font-size: 15px; }
  .hero__sub { gap: 20px; }
  .hero__actions .btn--ghost { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(6,10,19,.97) 0%, rgba(6,10,19,.85) 40%, rgba(6,10,19,0) 54%); }
}

/* ==========================================================================
   THÈME WORDPRESS — compléments
   ========================================================================== */

/* Barre d'administration WordPress */
.admin-bar .site-header { top: 32px; }
.admin-bar .toolbar { top: calc(84px + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .toolbar { top: calc(84px + 46px); }
}
@media (max-width: 600px) { .admin-bar .site-header.is-scrolled { top: 0; } }

h2.label { margin: 0; font-weight: 400; }
.launch__label { color: rgba(243,238,227,.7); }
/* Signature d'article : le lecteur doit voir qui écrit, et pouvoir le vérifier. */
.launch__label .signature { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(243,238,227,.22); }
.launch__label .signature a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.launch__label .signature a:hover { color: var(--accent); }
.launch__lead { color: rgba(243,238,227,.72); margin-top: 28px; }
.launch__center { text-align: center; display: grid; justify-items: center; gap: 34px; }
.launch--cta { padding-block: clamp(110px, 14vw, 200px); }
.page-hero__lead { color: rgba(243,238,227,.75); }

/* Cartes réalisations (liens) */
a.project { color: inherit; }

/* Capture réelle dans un cadre navigateur */
.shot { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface); --m-bg: #0F1726; --m-fg: #F3EEE3; }
.shot__img { position: relative; flex: 1; overflow: hidden; }
/* Capture pleine page : on montre le haut du site, puis il défile jusqu'en bas au survol */
.shot__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: object-position 5s cubic-bezier(.45,0,.25,1); }
.project:hover .shot__img img, .case__media--page:hover .shot__img img { object-position: center bottom; }

/* Carte « prochaine mission » */
.project--cta .project__media { background: transparent; box-shadow: none; border: 1px dashed var(--line-strong); transition: border-color .4s; }
.project--cta:hover .project__media { border-color: var(--accent); }
.cta-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.cta-card__orbit { width: clamp(80px, 9vw, 120px); height: auto; color: var(--fg-faint); animation: cta-orbit 14s linear infinite; }
@keyframes cta-orbit { to { transform: rotate(360deg); } }
.cta-card__title { font-size: clamp(30px, 3.4vw, 54px); }
.cta-card__title .serif { font-size: 1.08em; }

/* En-têtes de pages intérieures */
.page-hero--compact { padding-bottom: clamp(56px, 6vw, 90px); }
.page-hero__title--case { font-size: clamp(40px, 6.4vw, 112px); }
.page-hero--case .launch__label, .page-hero--compact .launch__label { margin-bottom: 22px; }
.page-hero--404 { min-height: 100vh; min-height: 100svh; display: grid; align-content: end; }

/* Fiche réalisation */
.case__media--page { aspect-ratio: 16 / 8.5; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.case__media--page .mock__page { transition-duration: 6s; }
.case__body--page { padding: 0; margin-top: clamp(40px, 5vw, 72px); gap: clamp(32px, 5vw, 80px); }
.case__body--page .case__actions { margin-top: 36px; }
.case-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 7vw, 100px); padding-top: 28px; border-top: 1px solid var(--line); }
.case-nav a { display: grid; gap: 6px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; transition: color .3s; }
.case-nav a:hover { color: var(--accent); }
.case-nav span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); }
.case-nav__next { margin-left: auto; text-align: right; }

/* Contenu éditorial (Gutenberg) */
.prose { color: var(--fg-dim); font-size: 17px; line-height: 1.7; }
.prose--page { max-width: 860px; }
.prose > * { margin-block: 0 1.1em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); font-family: var(--f-display); font-stretch: var(--f-display-stretch); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; }
.prose h3 { font-size: clamp(19px, 1.6vw, 23px); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose > p:first-child { color: var(--fg); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.prose ul li::before { content: ""; width: 9px; height: 9px; margin-top: .6em; border: 1px solid var(--accent); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; }
.prose ol li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--accent); padding-top: .3em; }
.prose blockquote { margin-inline: 0; padding-left: 22px; border-left: 2px solid var(--accent); font-family: var(--f-serif); font-style: italic; font-size: 1.35em; color: var(--fg); }
.prose img { border-radius: var(--radius-lg); height: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--fg-faint); margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .wp-block-button__link { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.post-card { display: grid; gap: 14px; align-content: start; }
.post-card__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1200 / 630; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__title { margin: 0; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.2; transition: color .3s; }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card p { margin: 0; color: var(--fg-dim); font-size: 15.5px; }
.post-cover { margin: 0 0 clamp(40px, 5vw, 72px); border-radius: var(--radius-lg); overflow: hidden; }
.post-cover img { width: 100%; height: auto; }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { font-family: var(--f-mono); font-size: 13px; min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pagination .page-numbers.current { background: var(--fg); color: var(--bg); box-shadow: none; }

/* FAQ : réponse */
.faq__answer { padding-bottom: 30px; }
.faq details .faq__answer p { margin: -8px 0 12px; }
.faq details .faq__answer p:last-child { margin-bottom: 0; }

/* Contact : formulaire de repli (sans WPForms) */
.form__fallback { margin: 0; font-size: 17px; color: rgba(243,238,227,.8); }
.form__admin-note { margin: 0; font-size: 13px; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--lunar); }

/* Contact : WPForms habillé aux couleurs du thème
   (WPForms → Réglages → Général → « Inclure le style des formulaires » : Aucun style) */
.form--wpforms .wpforms-container { margin: 0 !important; }
.form--wpforms .wpforms-form { display: grid; gap: 22px; }
.form--wpforms .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form--wpforms .wpforms-field { grid-column: 1 / -1; display: grid; gap: 8px; padding: 0; margin: 0; border: 0; min-width: 0; }
.form--wpforms .wpforms-field.wpforms-one-half { grid-column: auto; }
.form--wpforms .wpforms-field-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.6); font-weight: 400; padding: 0; margin: 0; }
.form--wpforms .wpforms-required-label { color: var(--accent); margin-left: 3px; }
.form--wpforms input[type="text"], .form--wpforms input[type="email"], .form--wpforms input[type="tel"], .form--wpforms input[type="url"], .form--wpforms input[type="number"], .form--wpforms textarea, .form--wpforms select {
  width: 100%; max-width: none; font: inherit; font-size: 16px; color: var(--lunar); background: transparent; border: 0; border-bottom: 1px solid rgba(243,238,227,.22); border-radius: 0; padding: 10px 0; box-shadow: none; transition: border-color .3s;
}
.form--wpforms select option { background: var(--space); }
.form--wpforms textarea { resize: vertical; min-height: 96px; height: auto; }
.form--wpforms input:focus, .form--wpforms textarea:focus, .form--wpforms select:focus { outline: none; border-color: var(--accent); }
.form--wpforms ::placeholder { color: rgba(243,238,227,.3); }
.form--wpforms .wpforms-field-description { font-size: 12.5px; opacity: .55; }
/* Boutons radio / cases à cocher en « pilules » */
.form--wpforms .wpforms-field-radio ul, .form--wpforms .wpforms-field-checkbox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form--wpforms .wpforms-field-radio li, .form--wpforms .wpforms-field-checkbox li { position: relative; margin: 0; padding: 0; }
.form--wpforms .wpforms-field-radio li input, .form--wpforms .wpforms-field-checkbox li input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.form--wpforms .wpforms-field-label-inline { display: inline-block; font-size: 14px; padding: 8px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(243,238,227,.22); transition: all .25s; }
.form--wpforms li input:checked + .wpforms-field-label-inline, .form--wpforms li.wpforms-selected .wpforms-field-label-inline { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.form--wpforms li input:focus-visible + .wpforms-field-label-inline { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Groupes de choix (fieldset WPForms) sans cadre */
.form--wpforms fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.form--wpforms legend { padding: 0; margin-bottom: 8px; }
.form--wpforms .wpforms-label-hide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Case de consentement : vraie case à cocher (champ RGPD ou classe « artemis-consent ») */
.form--wpforms .wpforms-field-gdpr-checkbox li, .form--wpforms .artemis-consent li { display: flex; gap: 10px; align-items: start; }
/* 24 px au minimum : c'est une case de consentement, elle doit se cocher du pouce (WCAG 2.2, critère 2.5.8). */
.form--wpforms .wpforms-field-gdpr-checkbox li input, .form--wpforms .artemis-consent li input { position: static; width: 24px; height: 24px; opacity: 1; accent-color: var(--accent); flex: none; margin-top: 0; }
.form--wpforms .wpforms-field-gdpr-checkbox .wpforms-field-label-inline, .form--wpforms .artemis-consent .wpforms-field-label-inline,
.form--wpforms .artemis-consent li input:checked + .wpforms-field-label-inline { padding: 0; box-shadow: none; background: none; color: rgba(243,238,227,.7); font-size: 13px; }
/* Envoi */
.form--wpforms .wpforms-submit-container { display: flex; justify-content: flex-end; align-items: center; padding: 0; margin: 0; }
.form--wpforms button.wpforms-submit { height: 58px; padding: 0 28px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s; }
.form--wpforms button.wpforms-submit:hover { background: var(--lunar); }
.form--wpforms .wpforms-submit-spinner { margin-left: 12px; }
/* Erreurs, confirmation, anti-spam */
.form--wpforms label.wpforms-error, .form--wpforms em.wpforms-error, .form--wpforms .wpforms-error-container { color: #FF8A65; font-size: 12.5px; font-style: normal; }
.form--wpforms input.wpforms-error, .form--wpforms textarea.wpforms-error { border-color: #FF8A65; }
.form--wpforms .wpforms-confirmation-container-full { background: color-mix(in srgb, #3DDC84 14%, transparent); border: 1px solid #3DDC84; color: var(--lunar); border-radius: var(--radius); padding: 18px 20px; margin: 0; }
.form--wpforms .wpforms-confirmation-container-full p { margin: 0; }
.wpforms-field-hp, .form--wpforms .wpforms-hidden { display: none !important; }
.form--wpforms .wpforms-screen-reader-element { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Politique de cookies (Complianz) : tableaux aux couleurs du site */
.prose .cmplz-dropdown { background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; }
.prose .cmplz-dropdown * { background-color: transparent !important; }
.prose .cmplz-dropdown summary { background: var(--surface-2) !important; padding: 14px 18px !important; cursor: pointer; }
.prose .cmplz-dropdown summary > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prose .cmplz-dropdown summary h3 { margin: 0; font-size: 17px; text-transform: none; color: var(--fg); }
.prose .cmplz-dropdown summary p { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.prose .cmplz-dropdown h4, .prose .cmplz-dropdown h5 { margin: 0 0 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.prose .cmplz-dropdown p, .prose .cmplz-dropdown div { color: var(--fg-dim); font-size: 15px; border-color: var(--line) !important; }
.prose .cmplz-service-description, .prose .cmplz-sharing-data { padding: 16px 18px !important; }
.prose .cookies-per-purpose { border-top: 1px solid var(--line) !important; margin: 0 18px 18px !important; }
.prose .cookies-per-purpose > div { padding: 10px 8px !important; border-bottom: 1px solid var(--line) !important; font-size: 14px !important; }
.prose .cmplz-dropdown a { color: var(--accent); }

@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .case__media--page { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .form--wpforms .wpforms-field-container { grid-template-columns: 1fr; }
  .form--wpforms .wpforms-field.wpforms-one-half { grid-column: 1 / -1; }
  .form--wpforms .wpforms-submit-container, .form--wpforms button.wpforms-submit { width: 100%; }
  .case-nav { flex-direction: column; }
  .case-nav__next { margin-left: 0; text-align: left; }
  .page-hero__title--case { font-size: clamp(32px, 10vw, 52px); }
}

/* ---------- Visionneuse d'images (galeries) ---------- */
.prose .wp-block-gallery img.is-zoomable, .prose img.artemis-zoom.is-zoomable { cursor: zoom-in; transition: transform .6s var(--ease), box-shadow .4s; }
.prose .wp-block-gallery img.is-zoomable:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: clamp(16px, 3vw, 40px);
  border: 0; background: transparent; color: var(--lunar); overflow: hidden;
  display: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 24px);
}
.lightbox[open] { display: grid; animation: lightboxIn .4s var(--ease); }
.lightbox::backdrop { background: rgba(4, 6, 12, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes lightboxIn { from { opacity: 0; transform: scale(.985); } }
.lightbox__figure { margin: 0; display: grid; gap: 14px; justify-items: center; min-width: 0; }
.lightbox__scroll { max-height: 82vh; max-width: min(1100px, 100%); overflow: auto; border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0,0,0,.6); scrollbar-width: thin; }
.lightbox__scroll img { display: block; width: 100%; height: auto; }
.lightbox__caption { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: center; text-align: center; }
.lightbox__count { font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.lightbox__legend { font-size: 14px; color: rgba(243,238,227,.75); max-width: 70ch; }
.lightbox__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--lunar);
  background: rgba(243,238,227,.08); box-shadow: inset 0 0 0 1px rgba(243,238,227,.22); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.lightbox__nav--prev:hover { transform: translateX(-3px); }
.lightbox__nav--next:hover { transform: translateX(3px); }
.lightbox__close { position: absolute; top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); z-index: 2; }
.lightbox.is-single .lightbox__nav { visibility: hidden; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-top: 72px; }
  .lightbox__scroll { max-height: 66vh; }
  .lightbox__nav { position: fixed; bottom: 22px; }
  .lightbox__nav--prev { left: 22px; } .lightbox__nav--next { right: 22px; }
}

/* Indice « le site défile au survol » sur les visuels de réalisation */
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.75), 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; transition: opacity .3s var(--ease), transform .4s var(--ease); pointer-events: none;
  animation: hint-pulse 2.6s var(--ease) infinite;
}
.scroll-hint svg { width: 15px; height: 15px; animation: hint-bob 1.6s var(--ease) infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes hint-pulse { 0%, 100% { box-shadow: 0 14px 30px -12px rgba(0,0,0,.75), 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); } 50% { box-shadow: 0 14px 30px -12px rgba(0,0,0,.75), 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); } }
.project:hover .scroll-hint, .project:focus-visible .scroll-hint, .case__media--page:hover .scroll-hint { opacity: 0; transform: translateX(-50%) translateY(10px); }
.project--cta .scroll-hint { display: none; }
@media (max-width: 640px) { .scroll-hint { font-size: 11px; padding: 9px 14px; } }
@media (hover: none) { .scroll-hint { display: none; } }

/* Illustration d'une page ville : cadre et respiration */
.prose .artemis-illustration img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.prose .artemis-illustration { margin-bottom: 2em; }

/* ==========================================================================
   PAGES INTÉRIEURES — mise en page éditoriale (article, page ville)
   ========================================================================== */

/* Fond : mêmes halos que l'accueil, pour ne pas tomber dans le tout-blanc/tout-noir */
.section--article {
  background:
    radial-gradient(1100px 560px at 10% -8%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    radial-gradient(900px 620px at 102% 26%, color-mix(in srgb, var(--accent-2) 6%, transparent), transparent 72%);
}

/* Texte + colonne latérale : le texte respire, la page ne reste pas une bande verticale */
.article-layout { display: grid; gap: clamp(40px, 4vw, 76px); align-items: start; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 1099px) {
  .article-aside { order: -1; }
  .article-aside .side-card { display: none; }
}

.article-aside { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1100px) { .article-aside { position: sticky; top: 112px; } }

.toc { border-left: 1px solid var(--line); padding-left: 20px; }
.toc__label { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; counter-reset: t; }
/* min-height : cible tactile d'au moins 24 px (WCAG 2.2, critère 2.5.8). */
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 10px; min-height: 24px; align-content: center; font-size: 14.5px; line-height: 1.35; color: var(--fg-dim); text-decoration: none; transition: color .3s; }
.toc a::before { counter-increment: t; content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--fg-faint); padding-top: 3px; transition: color .3s; }
.toc a:hover, .toc a.is-current { color: var(--fg); }
.toc a:hover::before, .toc a.is-current::before { color: var(--accent); }

.side-card {
  display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 66%);
}
.side-card__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.2; }
.side-card p { margin: 0; font-size: 14.5px; color: var(--fg-dim); }

/* Titres de section : filet orange de la marque */
.prose--page h2 { position: relative; padding-top: 26px; scroll-margin-top: 110px; }
.prose--page h2::before { content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 3px; border-radius: 2px; background: var(--accent); }

/* Chapeau : la serif de l'accueil, filet orange */
.prose .artemis-chapeau {
  margin-bottom: 1.7em; padding-left: clamp(18px, 2vw, 26px); border-left: 2px solid var(--accent);
  color: var(--fg); font-family: var(--f-serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.45;
}

/* Encadré « En résumé » */
.prose .artemis-resume {
  margin-block: 2.6em; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 13%, transparent), color-mix(in srgb, var(--accent) 3%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.prose .artemis-resume h2 { margin-top: 0; padding-top: 0; color: var(--accent); }
.prose .artemis-resume > *:last-child { margin-bottom: 0; }
.prose .artemis-resume p { color: var(--fg); }

/* Appel à l'action en carte, en bas de contenu */
.prose .artemis-cta {
  display: grid; gap: 16px; justify-items: start; margin-top: 2.8em; padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  background-image: radial-gradient(circle at 94% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
}
.prose .artemis-cta h2 { margin-top: 0; padding-top: 0; }
.prose .artemis-cta > * { margin-bottom: 0; }
.prose .artemis-resume h2::before, .prose .artemis-cta h2::before { display: none; }

/* Villes voisines : discret, en pied de contenu */
.prose .artemis-voisines { margin-top: 2.6em; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg-faint); }
.prose .artemis-voisines a { color: var(--fg-dim); text-decoration-color: var(--line-strong); }
.prose .artemis-voisines a:hover { color: var(--accent); }

/* ==========================================================================
   JOURNAL — liste des articles
   ========================================================================== */

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 4vw, 60px); }
.blog-filters .chip { text-decoration: none; }
.blog-filters .chip.is-active { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.chip span { margin-left: 7px; font-size: 10px; opacity: .55; }

.post-card__body { display: grid; gap: 11px; align-content: start; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); }
.post-card__meta em { font-style: normal; color: var(--accent); }
.post-card__cat {
  padding: 5px 10px; border-radius: 999px; color: var(--accent); letter-spacing: .1em;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); transition: color .3s, gap .3s var(--ease); }
.post-card__more svg { width: 13px; height: 13px; }
.post-card:hover .post-card__more { color: var(--accent); gap: 12px; }

/* Article « à la une » : pleine largeur, image à gauche */
.post-card--feature { grid-column: 1 / -1; align-items: center; gap: clamp(24px, 3vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); margin-bottom: clamp(4px, 1vw, 12px); border-bottom: 1px solid var(--line); }
@media (min-width: 901px) { .post-card--feature { grid-template-columns: 1.1fr 1fr; } }
.post-card--feature .post-card__title { font-size: clamp(26px, 2.6vw, 40px); }
.post-card--feature .post-card__body p { font-size: 17px; }

/* Adresse e-mail reconstituée par le navigateur (protection anti-collecte) */
.contact-lines .mail-protege__adresse,
.mail-protege__adresse { font-family: var(--f-body); font-size: inherit; letter-spacing: normal; text-transform: none; opacity: 1; padding-top: 0; }
.mail-protege noscript { display: none; }
.mail-protege[href="#"] { cursor: default; }
