/* ToJo Web — feuille de style unique */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0f1544;
  --night-deep: #0a0f33;
  --royal: #3944d8;
  --violet: #6d5bf0;
  --teal: #0a7c80;
  --teal-bright: #14b8a6;
  --mint: #7ee8c8;
  --lilac: #ebe8ff;
  --sand: #f7f0e6;
  --white: #ffffff;
  --ink: #101640;
  --muted: rgba(16, 22, 64, 0.72);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Bandes de couleur ---------- */
.band { padding: clamp(72px, 10vw, 140px) 0; }
.band-sand { background: var(--sand); color: var(--ink); }
.band-lilac { background: var(--lilac); color: var(--ink); }
.band-royal { background: linear-gradient(160deg, var(--royal), #2b34b8); color: var(--white); }
.band-night { background: var(--night); color: var(--white); }
.band-teal { background: var(--teal); color: var(--white); }

.band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.band-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.band-head .lede { margin: 20px auto 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 34em; opacity: 0.88; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(247, 240, 230, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16, 22, 64, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.brand b { color: var(--royal); font-weight: 800; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--ink); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--royal); transition: right 0.25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { color: var(--white); padding: 10px 22px; }
.nav .btn::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px auto; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); padding: 8px var(--gutter) 28px; display: none; }
  .nav.open { display: flex; }
  .nav a { color: var(--white); padding: 16px 0; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; background: var(--mint); color: var(--night); border: 0; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--royal); color: var(--white); font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--royal); cursor: pointer; transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: var(--white); color: var(--night); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-night { background: var(--night); border-color: var(--night); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter) 88px; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.aurora span:nth-child(1) { background: var(--royal); left: -18vmax; top: -22vmax; animation: drift1 24s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: var(--teal-bright); right: -22vmax; bottom: -28vmax; opacity: 0.4; animation: drift2 28s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: var(--violet); width: 42vmax; height: 42vmax; right: 8vmax; top: -16vmax; opacity: 0.45; animation: drift3 32s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-12vmax, -8vmax) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-10vmax, 12vmax) scale(0.9); } }

.hero-inner { max-width: 900px; }
.wordmark { font-weight: 800; font-size: clamp(3.8rem, 14vw, 10.5rem); line-height: 1; letter-spacing: -0.05em; color: var(--white); }
.wm { display: inline-flex; align-items: baseline; }
.wm b { color: var(--mint); font-weight: 800; display: inline-flex; }
.ch { display: inline-block; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.c1 { animation-delay: 0.05s; } .c2 { animation-delay: 0.12s; } .c3 { animation-delay: 0.19s; } .c4 { animation-delay: 0.26s; }
.c5 { animation-delay: 0.33s; } .c6 { animation-delay: 0.40s; } .c7 { animation-delay: 0.47s; }
.caret { display: inline-block; width: 0.07em; height: 0.72em; margin-left: 0.07em; background: var(--mint); align-self: center; animation: blink 0.9s steps(1) 1.1s 6, vanish 0.3s 6.5s forwards; opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes vanish { to { opacity: 0; } }

.slogan { margin-top: clamp(14px, 2vw, 24px); font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.92); animation: rise 0.9s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise 0.9s 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* ---------- Réalisations : carrés, collés, sans cadre ---------- */
.band-tight { padding: clamp(40px, 6vw, 80px) 0; }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.work { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--night); color: var(--white); text-decoration: none; }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-label { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px; text-align: center; background: rgba(15, 21, 68, 0.82); opacity: 0; transition: opacity 0.3s; }
.work-title strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.work-title small { display: block; margin-top: 4px; font-size: 1rem; opacity: 0.88; }
.work-go { flex: none; width: 48px; height: 48px; margin-top: 16px; border-radius: 50%; background: var(--white); color: var(--night); display: grid; place-items: center; transition: transform 0.25s, background 0.25s; }
.work-go svg { width: 22px; height: 22px; }
.work:hover .work-label, .work:focus-visible .work-label { opacity: 1; }
.work:hover img, .work:focus-visible img { transform: scale(1.03); }
.work:hover .work-go, .work:focus-visible .work-go { background: var(--mint); }
.work:focus-visible { outline: 3px solid var(--mint); outline-offset: -6px; }
@media (hover: none) {
  .work-label { opacity: 1; inset: auto 0 0 0; align-items: flex-start; justify-content: flex-end; text-align: left; padding: 14px 18px; background: linear-gradient(to top, rgba(10, 15, 51, 0.85), rgba(10, 15, 51, 0)); padding-top: 48px; }
  .work-title strong { font-size: 1.15rem; }
  .work-title small { font-size: 0.85rem; margin-top: 0; }
  .work-go { display: none; }
}
.w1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 760px) {
  .works { grid-template-columns: 1fr; padding-inline: 0; }
  .w1 { aspect-ratio: 16 / 10; }
}

.page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); text-align: center; padding: clamp(72px, 10vw, 130px) 0 clamp(64px, 9vw, 110px); isolation: isolate; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; max-width: 14em; margin-inline: auto; }
.page-hero p { margin: 22px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; opacity: 0.88; }

/* ---------- Parcours ---------- */
.process { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.process li { display: grid; grid-template-columns: clamp(52px, 8vw, 84px) 1fr; gap: 8px clamp(16px, 3vw, 36px); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.24); align-items: start; }
.process .n { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--mint); }
.process h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.process p { margin-top: 6px; max-width: 44em; color: rgba(255, 255, 255, 0.86); }
.process-note { margin: 36px auto 0; max-width: 880px; text-align: center; font-weight: 700; font-size: 1.1rem; }

/* ---------- Offre ---------- */
.plans { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.plan { padding: clamp(30px, 4.4vw, 52px); display: flex; flex-direction: column; border-radius: 24px; }
.plan-main { background: linear-gradient(145deg, var(--royal), var(--violet)); color: var(--white); box-shadow: 0 30px 60px -28px rgba(57, 68, 216, 0.6); }
.plan-alt { background: var(--white); color: var(--ink); box-shadow: 0 18px 40px -22px rgba(16, 22, 64, 0.3); }
.plan h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }
.price { margin-top: 22px; text-align: center; font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.price small { display: block; margin-top: 22px; font-size: 1rem; font-weight: 600; letter-spacing: 0; opacity: 0.88; }
.price.price-sm { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.plan > p { margin-top: 20px; }
.plan ul { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; background: var(--royal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan-main li::before { background: var(--mint); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-main .btn { background: var(--white); border-color: var(--white); color: var(--night); }
.plan-extra { margin: 32px auto 0; text-align: center; font-size: 1.15rem; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.3; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--mint); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 28px; max-width: 46em; color: rgba(255, 255, 255, 0.88); }
.faq-a p + p { margin-top: 0.9em; }
.faq-a strong { color: var(--white); }
.faq-a ul { margin: 0.9em 0 0; padding-left: 1.2em; }
.faq-a li { margin-top: 0.5em; }
.faq-a ul + p { margin-top: 0.9em; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.post { display: block; text-decoration: none; background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); box-shadow: 0 1px 2px rgba(16, 22, 64, 0.06), 0 14px 32px -20px rgba(16, 22, 64, 0.35); transition: transform 0.3s, box-shadow 0.3s; }
.post:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(16, 22, 64, 0.06), 0 24px 44px -20px rgba(16, 22, 64, 0.45); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.post-meta b { background: var(--lilac); color: var(--royal); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.post h3 { margin-top: 16px; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; }
.post p { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.post .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--royal); }
.post .more svg { width: 18px; height: 18px; transition: transform 0.2s; }
.post:hover .more svg { transform: translateX(4px); }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.contact-card { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-card h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.contact-card .role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.contact-card .num { margin-top: 14px; font-size: 1.15rem; font-weight: 700; }
.contact-card .num.break { word-break: break-all; font-size: 1rem; }
.contact-card .btn { margin-top: 18px; align-self: flex-start; background: var(--white); border-color: var(--white); color: var(--teal); }
.contact-hours { margin-top: 32px; text-align: center; font-size: 0.95rem; opacity: 0.85; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 760px; }
.contact-form h3 { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.field label span { font-weight: 500; opacity: 0.8; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color 0.15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { margin-top: 6px; background: var(--night); border-color: var(--night); }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-status { margin-top: 16px; font-weight: 700; min-height: 1.5em; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night-deep); color: var(--white); padding: clamp(48px, 7vw, 80px) 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand { color: var(--white); font-size: 2rem; }
.site-footer .brand b { color: var(--mint); }
.foot-note { margin-top: 14px; opacity: 0.72; font-size: 0.95rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { text-decoration: none; font-weight: 600; opacity: 0.9; }
.site-footer nav a:hover { color: var(--mint); opacity: 1; }

/* ---------- Articles / pages de texte ---------- */
.page-head { background: linear-gradient(160deg, var(--royal), #2b34b8); color: var(--white); padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-head .wrap { max-width: 920px; }
.crumbs { font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; opacity: 0.85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; }
.page-head .post-meta { margin-top: 24px; color: rgba(255, 255, 255, 0.85); }
.page-head .post-meta b { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.prose { max-width: 800px; margin-inline: auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 24px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 2.8vw, 1.9rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: var(--royal); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 1.1em; font-size: 1.1rem; line-height: 1.78; }
.prose a { color: var(--royal); font-weight: 600; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.cta-box { background: var(--teal); color: var(--white); margin-top: 32px; }
.cta-box .inner { max-width: 920px; margin: 0 auto; padding: clamp(36px, 6vw, 68px) var(--gutter); display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; }
.cta-box strong { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; display: block; }
.cta-box .btn { background: var(--white); border-color: var(--white); color: var(--teal); }
.muted-note { margin-top: 8px; opacity: 0.9; }
.related { max-width: 800px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(56px, 8vw, 96px); }
.related h2 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.related a { display: block; padding: 20px 0; border-top: 1px solid rgba(16, 22, 64, 0.18); text-decoration: none; font-weight: 800; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.02em; transition: color 0.2s; }
.related a:last-child { border-bottom: 1px solid rgba(16, 22, 64, 0.18); }
.related a:hover { color: var(--royal); }

.legal-block { margin-top: 1.4em; padding: 24px 26px; background: var(--white); border-radius: 16px; }
.legal-block p { margin-top: 0.4em; font-size: 1rem; line-height: 1.65; }
.legal-block p:first-child { margin-top: 0; }

/* ---------- 404 ---------- */
.notfound { background: var(--night); color: var(--white); min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.notfound h1 { font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: var(--mint); }
.notfound p { margin: 18px 0 30px; font-size: 1.25rem; opacity: 0.9; }
.notfound .btn { background: var(--white); border-color: var(--white); color: var(--night); }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .caret { opacity: 0; }
}

/* ---------- Utilitaires ---------- */
.band-head .cta-line { margin-top: 32px; }
.form-status.err { color: #ffe3e3; }
h1, h2, h3 { text-wrap: balance; }
.lede, .prose p, .post p { text-wrap: pretty; }
