/* GUNGE Tech : feuille de style unique. Jetons clair par défaut, sombre selon l'appareil. */

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/satoshi-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f2f7f6;
  --surface: #ffffff;
  --line: #e0e8ea;
  --ink: #141e2c;
  --ink-2: #3a4757;
  --muted: #586676;
  --accent: #0a7458;
  --lit-from: #079a72;
  --lit-to: #0a8c88;
  --mint: #00e0a4;
  --mint-2: #00ccc6;
  --danger: #cf3535;
  --danger-soft: #fde9e9;
  --box: #f3e0bb;
  --ill-soft: #d9f8ec;
  --ill-line: #c4d0d6;
  --ill-accent: #00c48f;
  --ill-accent-ink: #0a8c6a;
  --navy: #141e2c;
  --urgent-line: rgb(255 255 255 / .06);
  --btn-bg: #141e2c;
  --btn-ink: #ffffff;
  --ring: rgb(0 224 164 / .45);
  --focus: #0a7458;
  --tag-ink: #ffffff;
  --shadow: 0 1px 2px rgb(20 30 44 / .05), 0 10px 30px -8px rgb(20 30 44 / .12);
  --radius: 24px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b111a;
    --bg-soft: #121c29;
    --surface: #141e2c;
    --line: #243246;
    --ink: #eaf0f5;
    --ink-2: #c3cdd8;
    --muted: #97a5b6;
    --accent: #3fe9bd;
    --lit-from: #29f0b8;
    --lit-to: #2fd9d4;
    --danger: #ff6b6b;
    --danger-soft: #3b1d24;
    --box: #7a6340;
    --ill-soft: #173a33;
    --ill-line: #3a4a60;
    --ill-accent: #2ee8b6;
    --ill-accent-ink: #3fe9bd;
    --navy: #1a2537;
    --urgent-line: rgb(255 107 107 / .35);
    --btn-bg: #00e0a4;
    --btn-ink: #08111a;
    --focus: #3fe9bd;
    --tag-ink: #08111a;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 34px -10px rgb(0 0 0 / .5);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 1.0625rem/1.65 "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 780; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: .65em;
  font-size: .8125rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: box-shadow .2s, transform .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { box-shadow: 0 0 0 5px var(--ring); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--mint); }
.dot-red { background: var(--danger); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; border-radius: 10px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 650; font-size: .975rem; color: var(--ink-2);
  transition: background-color .15s, color .15s;
}
.nav a:not(.btn):hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.btn-urgent { min-height: 44px; padding: 0 18px; margin-left: 10px; background: var(--surface); color: var(--ink); border-color: var(--line); font-size: .95rem; }
.btn-urgent:hover { border-color: var(--danger); }
.icon-btn {
  display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0;
}
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .icon-btn { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgb(0 0 0 / .25);
  }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.125rem; border-radius: 14px; }
  .btn-urgent { margin: 8px 0 0; min-height: 50px; }
}

/* Accueil : accroche */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at 76% 48%, rgb(0 224 164 / .13), transparent 70%),
    radial-gradient(420px 320px at 8% 0%, rgb(0 204 198 / .08), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 820; letter-spacing: -.038em; line-height: 1.02; }
.lit {
  background: linear-gradient(95deg, var(--lit-from), var(--lit-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.125rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: relative; }
.orbit { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }

.o-outer { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 9; }
.o-track { fill: none; stroke: var(--line); stroke-width: 2; }
.o-draw { fill: none; stroke: url(#g-anneau); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1231.5; stroke-dashoffset: 0; }
.spokes { fill: none; stroke: var(--ill-line); stroke-width: 1.5; stroke-dasharray: 3 7; }
.pulse { fill: var(--mint); opacity: 0; }
.sat { fill: var(--mint); }
.sat-2 { fill: var(--mint-2); }
.o-spin { transform-origin: 280px 280px; }
.pb-halo { transform-box: fill-box; transform-origin: center; }
.pb-ring { stroke-dasharray: 402.2; stroke-dashoffset: 0; }
.n-disc { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.node { color: var(--ink); transform-box: fill-box; transform-origin: 50% 35%; }
.node text {
  font: 700 19px/1 "Satoshi", system-ui, sans-serif; text-anchor: middle; fill: var(--ink-2);
  paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .js .o-draw { stroke-dashoffset: 1231.5; animation: draw 1.8s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
  .js .pb-ring { stroke-dashoffset: 402.2; animation: draw 1s .35s ease-out forwards; }
  .js .pb-halo { opacity: 0; animation: halo 1.6s 1.1s ease-out forwards; }
  .js .node { opacity: 0; animation: pop .7s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(.85s + var(--n) * .12s); }
  .o-spin { animation: spin 24s linear infinite; }
  .o-spin-2 { animation-duration: 38s; animation-direction: reverse; }
  .pulse { animation: travel 3.6s ease-in-out infinite; animation-delay: calc(2.2s + var(--p) * .6s); }
  .hero:not(.is-visible) .o-spin, .hero:not(.is-visible) .pulse { animation-play-state: paused; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes halo { from { opacity: 0; transform: scale(.55); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { 0% { opacity: 0; transform: translateY(0); } 20%, 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-58px); } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(24px, 4vw, 48px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 780px; }
.section-head h2 { margin-top: 16px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.032em; }
.section-head > p:not(.kicker) { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 40em; }

/* Le constat */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.scene {
  display: flex; flex-direction: column;
  padding: 18px 18px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.scene-art { width: 100%; height: auto; aspect-ratio: 280 / 180; border-radius: 16px; background: var(--bg-soft); color: var(--ink); }
.scene h3 { margin: 24px 6px 0; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.scene .when { display: block; margin-bottom: 4px; font-size: .9rem; font-weight: 750; letter-spacing: .02em; color: var(--accent); }
.scene p { margin: 10px 6px 0; color: var(--ink-2); }
.art-tag { font: 800 11px/1 "Satoshi", system-ui, sans-serif; letter-spacing: .12em; fill: var(--tag-ink); text-anchor: middle; }
.art-q { font: 800 28px/1 "Satoshi", system-ui, sans-serif; fill: var(--danger); text-anchor: middle; }
.art-cal { font: 800 15px/1 "Satoshi", system-ui, sans-serif; letter-spacing: .06em; fill: currentColor; text-anchor: middle; }
.art-badge { font: 800 14px/1 "Satoshi", system-ui, sans-serif; fill: #08111a; text-anchor: middle; }
.punch { margin-top: 52px; max-width: 32em; font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }

@media (prefers-reduced-motion: no-preference) {
  .scene.is-in .glitch { animation: glitch 3.2s steps(1) 3 1s; }
  .scene.is-in .blink { animation: blink 1.2s ease-in-out 6; }
  .scene.is-in .bob { animation: bob 2.6s ease-in-out 3; }
  .skull { transform-box: fill-box; transform-origin: center; }
  .scene.is-in .skull { animation: wobble 3.2s ease-in-out 3 1s; }
}
@keyframes glitch { 0%, 70%, 100% { transform: none; } 72% { transform: translateX(-6px); } 76% { transform: translateX(5px); } 80% { transform: translateX(-2px); } }
@keyframes blink { 50% { opacity: .15; } }
@keyframes bob { 50% { transform: translateY(-4px); } }
@keyframes wobble { 0%, 60%, 100% { transform: none; } 66% { transform: rotate(-6deg); } 72% { transform: rotate(5deg); } 78% { transform: rotate(-2deg); } }

/* Métiers : couches du câble au cloud, sécurité et formation en travers */
.ico { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; background: var(--bg-soft); color: var(--ink); }
.ico svg { width: 44px; height: 44px; }
.stack { margin-top: 56px; }
.cap {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 20px;
  padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.cap-top { margin-bottom: 14px; }
.cap-bottom { margin-top: 14px; }
.stack-body { position: relative; }
.layers { position: relative; display: grid; gap: 10px; list-style: none; margin-right: 492px; }
.layers::before {
  content: ""; position: absolute; left: 47px; top: -14px; bottom: -14px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--mint-2), var(--mint) 45%, var(--ink));
}
.layer {
  position: relative; display: flex; align-items: center; gap: 20px;
  min-height: 104px; padding: 16px 24px 16px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.layer:hover { border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); box-shadow: var(--shadow); }
.layer .ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.layer .ico svg { width: 40px; height: 40px; }
.layer h3 { font-size: 1.18rem; letter-spacing: -.015em; }
.layer h3 a, .band h3 a { text-decoration: none; }
.layer h3 a::after, .band h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.layer:has(a:focus-visible), .band:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.layer a:focus-visible, .band a:focus-visible { outline: none; }
.layer h3 a::before, .band h3 a::before {
  content: "→"; position: absolute; right: 22px; top: 50%; margin-top: -.6em; font-weight: 700; color: var(--accent);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s;
}
.band h3 a::before { top: 28px; margin-top: 0; }
.layer:hover h3 a::before, .band:hover h3 a::before { opacity: 1; transform: none; }
.band { cursor: pointer; transition: box-shadow .2s, transform .2s; }
.band:hover { transform: translateY(-2px); }
.layer p { margin-top: 4px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.bands {
  position: absolute; top: 0; bottom: 0; right: 0;
  display: grid; grid-template-columns: 228px 228px; gap: 16px;
}
.band {
  display: flex; flex-direction: column; justify-content: center; padding: 24px 22px; border-radius: 22px;
  background: var(--surface); border: 2px solid color-mix(in srgb, var(--mint) 60%, var(--line));
  box-shadow: var(--shadow);
}
.band { position: relative; background: linear-gradient(180deg, var(--surface) 55%, color-mix(in srgb, var(--mint) 9%, var(--surface))); }
.rivets { position: absolute; inset: -2px; pointer-events: none; }
.rivets i {
  position: absolute; left: -7px; width: 14px; height: 14px; margin-top: -7px;
  top: calc((100% - 30px) * (var(--j) + .5) / 4 + var(--j) * 10px);
  border-radius: 50%; background: var(--mint); border: 3px solid var(--surface);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--mint) 60%, var(--line));
}
.rivets i::before {
  content: ""; position: absolute; right: calc(100% + 3px); top: 50%; height: 2px; margin-top: -1px;
  width: calc(var(--gap, 20px) - 5px); background: color-mix(in srgb, var(--mint) 70%, var(--line));
}
.band + .band { --gap: 16px; }
.band .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-soft); }
.band .ico svg { width: 40px; height: 40px; }
.band h3 { margin-top: 18px; font-size: 1.25rem; letter-spacing: -.02em; }
.band p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.band-foot {
  display: flex; align-items: center; gap: 8px; margin-top: 16px !important;
  font-size: .875rem !important; font-weight: 750; color: var(--accent) !important;
}
.band-foot::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.formule { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.formule-k {
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink);
  font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.formule h3 { margin-top: 18px; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.formule p:not(.formule-k) { margin-top: 10px; color: var(--ink-2); }

/* Sur le terrain */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.story { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story-top { display: flex; align-items: center; gap: 14px; }
.story .ico { width: 56px; height: 56px; border-radius: 16px; }
.story .ico svg { width: 38px; height: 38px; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.story h3 { margin-top: 22px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; }
.timeline { position: relative; margin-top: 28px; list-style: none; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 30px; width: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(var(--mint), var(--mint-2)); transform-origin: top; }
.timeline li { position: relative; padding: 0 0 24px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--mint);
}
.timeline time, .t-when { display: block; font-size: .95rem; font-weight: 780; color: var(--accent); }
.timeline p { margin-top: 4px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .timeline::after { transform: scaleY(0); transition: transform 1.8s cubic-bezier(.65, 0, .35, 1) .2s; }
  .js .timeline li::before { background: var(--surface); box-shadow: 0 0 0 2px var(--line); transition: background-color .3s, box-shadow .3s; transition-delay: calc(.3s + var(--i) * .45s); }
  .js .is-in .timeline::after { transform: none; }
  .js .is-in .timeline li::before { background: var(--mint); box-shadow: 0 0 0 2px var(--mint); }
}

/* Méthode */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 60px; list-style: none; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 35px; left: 84px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ill-line) 0 6px, transparent 6px 13px);
}
.step .ico { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.step .ico svg { width: 42px; height: 42px; }
.num {
  position: absolute; top: -4px; left: 54px; z-index: 2;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-ink); font-size: .8rem; font-weight: 800;
}
.step h3 { margin-top: 22px; font-size: 1.25rem; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--ink-2); }

/* Urgence */
.urgent {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px 48px;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px;
  background: var(--navy); color: #eaf0f5; border: 1px solid var(--urgent-line);
}
.urgent::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; z-index: -1;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 224 164 / .22), transparent);
}
.urgent h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; }
.urgent p:not(.status) { margin-top: 16px; color: #c3cdd8; font-size: 1.1rem; }
.urgent .tip { padding: 16px 18px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); font-size: 1rem !important; }
.urgent .tip strong { color: #fff; }
.urgent-more { margin-top: 18px !important; font-size: 1rem !important; }
.urgent-more a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-underline-offset: 4px; }
.urgent-more svg { width: 18px; height: 18px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; font-size: .8125rem; color: #ffb3b3; }
.urgent-actions { display: grid; gap: 12px; }
.btn-mint { background: #00e0a4; color: #08111a; font-size: 1.125rem; min-height: 58px; }
.btn-mint:hover { box-shadow: 0 0 0 5px rgb(0 224 164 / .3); }
.btn-line { color: #fff; border-color: rgb(255 255 255 / .28); min-height: 58px; }
.btn-line:hover { border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .dot-red:not(.dot-still) { animation: ping 2.2s ease-out infinite; }
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(207 53 53 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(207 53 53 / 0); } }

/* Contact */
.contact .section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); max-width: 15em; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mint) 60%, var(--line)); box-shadow: var(--shadow); }
.contact-card svg { width: 28px; height: 28px; margin-bottom: 12px; color: var(--accent); }
.contact-card .label { font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card .value { font-size: 1.1rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }

/* Pied de page */
.site-footer { padding-block: 56px 32px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.footer-brand { max-width: 260px; }
.footer-brand img { height: 30px; width: auto; }
.footer-title { margin: 0 0 6px; font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-brand p { margin-top: 14px; color: var(--muted); font-weight: 550; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-nav a, .footer-contact a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { display: grid; gap: 0; font-style: normal; color: var(--muted); align-content: start; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.legal a { color: var(--ink-2); }

/* Pages intérieures */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px 360px at 82% 50%, rgb(0 224 164 / .12), transparent 70%);
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.page-hero .contact-grid { margin-top: 40px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 820; letter-spacing: -.035em; line-height: 1.04; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--accent); }
.page-art { width: 100%; max-width: 340px; margin-inline: auto; color: var(--ink); }
.pa-ring { fill: none; stroke: url(#g-pa); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 703.7; }
.pa-track { fill: none; stroke: var(--line); stroke-width: 2; }
.pa-outer { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 9; }
.pa-disc { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.pa-spin { transform-origin: 160px 160px; }
.pa-sat { fill: var(--mint); }
@media (prefers-reduced-motion: no-preference) {
  .js .pa-ring { stroke-dashoffset: 703.7; animation: draw 1.6s .2s cubic-bezier(.65, 0, .35, 1) forwards; }
  .pa-spin { animation: spin 20s linear infinite; }
}

.page-photo { position: relative; isolation: isolate; width: 100%; max-width: 440px; margin: 0 0 0 auto; }
.page-photo::before {
  content: ""; position: absolute; z-index: -1; right: -22px; top: -22px; width: 150px; height: 150px; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--mint) 75%, transparent);
}
.page-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--bg-soft); box-shadow: var(--shadow); }
.photo-badge {
  position: absolute; left: -26px; bottom: 32px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--surface); color: var(--ink); border: 4px solid var(--mint); box-shadow: var(--shadow);
}
.photo-badge svg { width: 52px; height: 52px; }
.band-photo { margin: 48px 0 0; }
.band-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px; background: var(--bg-soft); }
.section-flush { padding-top: 0; }
.alerte { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 24px; font-weight: 600; color: var(--ink-2); }
.alerte a { color: var(--accent); font-weight: 750; text-underline-offset: 3px; }
.after-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pa-phone { color: var(--ink); }
.contact-card.is-main { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.contact-card.is-main svg, .contact-card.is-main .label { color: inherit; opacity: .85; }
a.contact-card.is-main:hover { box-shadow: 0 0 0 5px var(--ring); }
.contact-card.is-static { background: transparent; border-style: dashed; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.checklist { display: grid; gap: 12px; list-style: none; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 550; line-height: 1.5;
}
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--mint); color: #08111a; }
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.situation { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.situation h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }
.situation p { margin-top: 12px; color: var(--ink-2); }
.situation .answer { margin-top: auto; padding-top: 16px; font-weight: 650; color: var(--ink); }
.situation .answer::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--mint); }
.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.related a {
  display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; line-height: 1.3;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.related a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); box-shadow: var(--shadow); }
.related .ico { width: 48px; height: 48px; border-radius: 14px; }
.related .ico svg { width: 34px; height: 34px; }
.related-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 12px; }
.cta .status { color: var(--mint); }
.cta.urgent { border-color: rgb(255 255 255 / .06); }

.reflexes { display: grid; gap: 14px; margin-top: 48px; list-style: none; counter-reset: r; }
.reflexes li {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; align-items: start;
  padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
}
.reflexes li::before {
  counter-increment: r; content: counter(r); grid-row: 1 / span 2;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-ink); font-size: 1.4rem; font-weight: 800;
}
.reflexes h3 { font-size: 1.2rem; letter-spacing: -.015em; margin-top: 4px; }
.reflexes p { color: var(--ink-2); }
.examples-title { margin-top: 64px; font-size: 1.25rem; letter-spacing: -.015em; }
.examples { columns: 2; column-gap: 40px; margin-top: 14px; list-style: none; max-width: 760px; }
.examples li { position: relative; padding: 8px 0 8px 22px; break-inside: avoid; font-weight: 550; color: var(--ink-2); }
.examples li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; font-size: 1.5rem; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-top: 6px; }
.prose a { color: var(--accent); font-weight: 650; text-underline-offset: 3px; }
.page-head { padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { margin-top: 16px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.035em; }

.notfound { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.notfound .pb-mini { width: 132px; margin: 0 auto; }
.notfound h1 { margin-top: 32px; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.notfound p { margin: 18px auto 0; max-width: 44ch; text-wrap: balance; color: var(--ink-2); font-size: 1.15rem; }
.notfound .hero-ctas { justify-content: center; }

/* Apparitions au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in, .capture [data-reveal] { opacity: 1; transform: none; }
}

/* Réactif */
@media (max-width: 1040px) {
  .related { grid-template-columns: repeat(3, 1fr); }
  .situations { grid-template-columns: 1fr 1fr; }
  .situation:last-child { grid-column: 1 / -1; }
  .layers { margin-right: 0; }
  .stack { display: flex; flex-direction: column; }
  .stack-body { display: contents; }
  .cap { align-self: flex-start; }
  .cap-bottom { order: 1; }
  .bands { order: 2; position: static; grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .rivets { display: none; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scene:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .page-hero-grid, .split { grid-template-columns: 1fr; }
  .page-art { max-width: 240px; order: -1; margin-inline: 0; }
  .page-photo { max-width: none; margin: 8px 0 0; }
  .page-photo::before { display: none; }
  .page-photo img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .photo-badge { left: 16px; bottom: -22px; width: 72px; height: 72px; border-width: 3px; }
  .photo-badge svg { width: 40px; height: 40px; }
  .band-photo img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; width: 100%; margin-inline: auto; }
  .stories { grid-template-columns: 1fr; }
  .urgent { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 30px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .scenes, .contact-grid, .bands { grid-template-columns: 1fr; }
  .scene:last-child { grid-column: auto; }
  p { text-wrap: wrap; }
  .related { grid-template-columns: 1fr 1fr; }
  .situations { grid-template-columns: 1fr; }
  .situation:last-child { grid-column: auto; }
  .reflexes li { grid-template-columns: 44px 1fr; padding: 18px; gap: 4px 14px; }
  .reflexes li::before { width: 44px; height: 44px; font-size: 1.15rem; }
  .page-art { display: none; }
  .related a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .checklist { gap: 0; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .checklist li { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .checklist li:last-child { border-bottom: 0; }
  .contact-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; }
  .contact-card svg { grid-row: 1 / span 2; margin: 0; }
  .examples { columns: 1; }
  .node text { font-size: 25px; stroke-width: 8px; }
  .formules { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; }
  .step .ico { grid-row: 1 / span 2; }
  .step h3 { margin-top: 6px; }
  .layer { align-items: flex-start; gap: 16px; padding: 16px; }
  .layer .ico { width: 48px; height: 48px; }
  .layer .ico svg { width: 34px; height: 34px; }
  .layers::before { left: 39px; }
}

@media (prefers-contrast: more) {
  :root { --line: #8a97a3; --ink-2: var(--ink); --muted: var(--ink-2); }
}
