Cette page n’a plus de pouls.
Nous avons fait tous les examens, il n’y a plus rien à faire. Vous, en revanche, êtes en pleine forme.
Retour à l’accueil404 Clinique
Le tracé d’un moniteur cardiaque traverse l’écran, bat deux fois, dessine un grand 404 puis devient plat.
Réglages
Code
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>404 · Page introuvable</title>
<style>
body { margin: 0; background: #000; }
.n4-clinic {
--accent: #2dd4bf;
--k: 1;
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
container-type: size;
display: grid;
place-items: center;
background: #000;
color: #f5f5f7;
font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",system-ui,sans-serif;
-webkit-font-smoothing: antialiased;
text-align: center;
line-height: 1.4;
}
.n4-clinic *,.n4-clinic *::before,.n4-clinic *::after {
box-sizing: border-box;
}
.n4-clinic .n4-copy {
position: relative;
z-index: 5;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.6cqmin;
width: 100%;
max-width: 680px;
padding: 0 6cqw;
}
.n4-clinic .n4-title {
margin: 0;
font-size: clamp(17px,4.2cqmin,36px);
font-weight: 600;
letter-spacing: -.02em;
line-height: 1.15;
text-wrap: balance;
}
.n4-clinic .n4-sub {
margin: 0;
max-width: 34em;
font-size: clamp(13px,2.4cqmin,18px);
color: #a1a1a6;
text-wrap: balance;
}
.n4-clinic .n4-tag {
font: 600 clamp(10px,1.9cqmin,13px)/1 ui-monospace,"SF Mono",Menlo,Consolas,monospace;
letter-spacing: .16em;
text-transform: uppercase;
color: var(--accent);
}
.n4-clinic .n4-cta {
margin-top: 1.8cqmin;
display: inline-flex;
align-items: center;
gap: .5em;
padding: .85em 1.5em;
border-radius: 999px;
background: #f5f5f7;
color: #000;
font-size: clamp(13px,2.2cqmin,16px);
font-weight: 600;
text-decoration: none;
transition: transform .3s cubic-bezier(.25,.1,.25,1),box-shadow .3s cubic-bezier(.25,.1,.25,1);
}
.n4-clinic .n4-cta:hover {
transform: translateY(-2px);
box-shadow: 0 12px 32px -10px var(--accent);
}
.n4-clinic .n4-cta:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.n4-clinic .n4-stars,.n4-clinic .n4-stars2 {
position: absolute;
inset: -4%;
pointer-events: none;
}
.n4-clinic .n4-stars {
background-image: radial-gradient(1px 1px at 8% 12%,#fff 60%,transparent),radial-gradient(1px 1px at 22% 68%,#fff 60%,transparent),radial-gradient(1.5px 1.5px at 35% 24%,#fff 60%,transparent),radial-gradient(1px 1px at 48% 82%,#fff 60%,transparent),radial-gradient(1px 1px at 57% 9%,#fff 60%,transparent),radial-gradient(1.5px 1.5px at 66% 44%,#fff 60%,transparent),radial-gradient(1px 1px at 74% 72%,#fff 60%,transparent),radial-gradient(1px 1px at 86% 18%,#fff 60%,transparent),radial-gradient(1.5px 1.5px at 93% 58%,#fff 60%,transparent),radial-gradient(1px 1px at 14% 42%,#fff 60%,transparent),radial-gradient(1px 1px at 40% 55%,#fff 60%,transparent),radial-gradient(1px 1px at 81% 90%,#fff 60%,transparent),radial-gradient(1px 1px at 4% 88%,#fff 60%,transparent),radial-gradient(1px 1px at 62% 30%,#fff 60%,transparent);
opacity: .75;
animation: n4-clinic-tw calc(5s / var(--k)) ease-in-out infinite alternate;
}
.n4-clinic .n4-stars2 {
background-image: radial-gradient(2px 2px at 18% 30%,rgba(255,255,255,.9) 50%,transparent),radial-gradient(1.5px 1.5px at 72% 20%,rgba(255,255,255,.8) 50%,transparent),radial-gradient(2px 2px at 30% 85%,rgba(255,255,255,.7) 50%,transparent),radial-gradient(1.5px 1.5px at 88% 70%,rgba(255,255,255,.8) 50%,transparent),radial-gradient(2px 2px at 52% 60%,rgba(255,255,255,.6) 50%,transparent),radial-gradient(1.5px 1.5px at 6% 55%,rgba(255,255,255,.8) 50%,transparent);
opacity: .55;
animation: n4-clinic-tw calc(7s / var(--k)) ease-in-out infinite alternate-reverse;
}
.n4-clinic [data-depth] {
transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
@keyframes n4-clinic-tw {
from {
opacity: .3;
}
}
@keyframes n4-clinic-spin {
to {
transform: rotate(1turn);
}
}
@keyframes n4-clinic-fade {
from {
opacity: 0;
transform: translateY(10px);
}
}
@media (prefers-reduced-motion:reduce) {
.n4-clinic *,.n4-clinic *::before,.n4-clinic *::after {
animation: none!important;
transition: none!important;
}
}
.n4-clinic {
background: radial-gradient(80% 60% at 50% 38%,#07302b,#021210 70%,#010807);
color: #eafffb;
}
.n4-clinic::before {
content: "";
position: absolute;
inset: 0;
background-image: linear-gradient(color-mix(in srgb,var(--accent) 7%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--accent) 7%,transparent) 1px,transparent 1px);
background-size: 5cqmin 5cqmin;
-webkit-mask: radial-gradient(circle at 50% 38%,#000 5%,transparent 70%);
mask: radial-gradient(circle at 50% 38%,#000 5%,transparent 70%);
}
.n4-clinic .n4-copy {
min-width: 0;
}
.n4-clinic .n4-ecg {
flex: none;
display: block;
width: max(100cqw,min(196cqmin,1300px));
height: auto;
margin-bottom: 1cqmin;
overflow: visible;
animation: n4-clinic-in calc(1s / var(--k)) ease-out both;
}
.n4-clinic .n4-ecg path {
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.n4-clinic .n4-base {
stroke: color-mix(in srgb,var(--accent) 38%,transparent);
stroke-width: 3.5;
}
.n4-clinic .n4-trail {
stroke: color-mix(in srgb,var(--accent) 70%,#fff);
stroke-width: 4.5;
filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 12px color-mix(in srgb,var(--accent) 60%,transparent));
animation: n4-clinic-trail calc(5s / var(--k)) linear infinite;
}
.n4-clinic .n4-beam {
stroke: #fff;
stroke-width: 7;
filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px var(--accent));
animation: n4-clinic-beam calc(5s / var(--k)) linear infinite;
}
.n4-clinic .n4-title {
font-size: clamp(22px,5.6cqmin,48px);
font-weight: 700;
letter-spacing: -.03em;
}
.n4-clinic .n4-sub {
color: #8fb3ad;
}
.n4-clinic .n4-cta {
background: var(--accent);
color: #021210;
}
.n4-clinic .n4-copy>:not(.n4-ecg) {
animation: n4-clinic-fade calc(1s / var(--k)) calc(.4s / var(--k)) cubic-bezier(.2,.7,.2,1) both;
}
@keyframes n4-clinic-in {
from {
opacity: 0;
}
}
@keyframes n4-clinic-trail {
from {
stroke-dasharray: 180 3000;
stroke-dashoffset: 180;
}
to {
stroke-dasharray: 180 3000;
stroke-dashoffset: -1000;
}
}
@keyframes n4-clinic-beam {
from {
stroke-dasharray: 1 3000;
stroke-dashoffset: 1;
}
to {
stroke-dasharray: 1 3000;
stroke-dashoffset: -1000;
}
}
</style>
</head>
<body>
<main class="n4-clinic">
<div class="n4-copy">
<svg class="n4-ecg" viewBox="0 0 1200 300" aria-hidden="true">
<path class="n4-base" d="M0 150 H40 q10 -16 20 0 H86 l6 10 l9 -126 l10 150 l7 -34 H150 q18 -30 36 0 H232 q10 -16 20 0 H278 l6 10 l9 -126 l10 150 l7 -34 H342 q16 -26 32 0 H414 L484 40 V260 V150 H556 V100 C556 26 652 26 652 100 V200 C652 274 556 274 556 200 V150 V200 C556 274 652 274 652 200 V150 H716 L786 40 V260 V150 H1200"/>
<path class="n4-trail" pathLength="1000" d="M0 150 H40 q10 -16 20 0 H86 l6 10 l9 -126 l10 150 l7 -34 H150 q18 -30 36 0 H232 q10 -16 20 0 H278 l6 10 l9 -126 l10 150 l7 -34 H342 q16 -26 32 0 H414 L484 40 V260 V150 H556 V100 C556 26 652 26 652 100 V200 C652 274 556 274 556 200 V150 V200 C556 274 652 274 652 200 V150 H716 L786 40 V260 V150 H1200"/>
<path class="n4-beam" pathLength="1000" d="M0 150 H40 q10 -16 20 0 H86 l6 10 l9 -126 l10 150 l7 -34 H150 q18 -30 36 0 H232 q10 -16 20 0 H278 l6 10 l9 -126 l10 150 l7 -34 H342 q16 -26 32 0 H414 L484 40 V260 V150 H556 V100 C556 26 652 26 652 100 V200 C652 274 556 274 556 200 V150 V200 C556 274 652 274 652 200 V150 H716 L786 40 V260 V150 H1200"/>
</svg>
<span class="n4-tag">Urgences · Diagnostic 404</span>
<h1 class="n4-title">Cette page n’a plus de pouls.</h1>
<p class="n4-sub">Nous avons fait tous les examens, il n’y a plus rien à faire. Vous, en revanche, êtes en pleine forme.</p>
<a class="n4-cta" href="/">Retour à l’accueil</a>
</div>
</main>
</body>
</html>
Prompt pour l’IA
Collez-le dans ChatGPT, Claude ou Cursor : le bloc sera adapté à votre projet avec ces réglages, même sans React.
Plus dans 404
Où l’utiliser
Le site d’une clinique accumule vite les liens morts : la fiche d’un médecin parti, un ancien formulaire de rendez-vous, la campagne de vaccination de l’hiver dernier. Le patient qui arrive là est souvent déjà un peu inquiet. Une page 404 personnalisée et apaisée le garde sur votre site et le renvoie à l’accueil en un clic.
La blague du « plus de pouls » convient à un cabinet dentaire, un kiné ou une clinique privée au ton chaleureux. Pour un service d’oncologie ou un hôpital, choisissez un titre plus sobre. Ajouter le numéro de prise de rendez-vous dans le message est souvent le plus utile.