/* Valerian */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-standard-normal.woff2') format('woff2-variations'),
       url('../fonts/instrument-sans-latin-standard-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-standard-italic.woff2') format('woff2-variations'),
       url('../fonts/instrument-sans-latin-standard-italic.woff2') format('woff2');
}

:root {
  /* Couleurs tirées de la photo du studio */
  --paper:  #0D0809;   /* ombres de la régie */
  --raised: #170E11;   /* surfaces légèrement éclairées */
  --ink:    #F5EEF1;   /* texte principal */
  --muted:  #B5A6AD;
  --line:   rgba(255, 214, 228, 0.13);
  --line-strong: rgba(255, 214, 228, 0.28);
  --red:    #F0445A;   /* bandeaux LED rouges */
  --violet: #C14FD6;   /* bandeaux LED violets */
  --soft:   rgba(255, 214, 228, 0.07);
  --ok:     #7DD3A0;
  --error:  #FF8A8A;

  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --max:    1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h:  76px;
  --gap-section: clamp(88px, 13vw, 168px);
  --radius: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

/* Barre de défilement masquée : le défilement (molette, tactile, clavier) reste actif */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ── Typographie ─────────────────────────────────────── */

.display {
  font-size: clamp(44px, 8.4vw, 112px);
  font-weight: 600;
  font-stretch: 78%;
  line-height: 0.94;
  letter-spacing: -0.025em;
}
.h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 600;
  font-stretch: 78%;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  font-stretch: 82%;
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.h3 { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.measure { max-width: 38em; }
.measure p + p, .prose p + p { margin-top: 1em; }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--violet); }

/* ── Boutons ─────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #9433B3; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover { color: #FFFFFF; border-color: #9433B3; transform: translateY(-2px); }
.btn:hover::before { transform: none; }
.btn:active { transform: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: #9433B3; }
.btn[disabled] { opacity: .55; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ── Navigation ──────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(13, 8, 9, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled, .nav.menu-open { border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; font-stretch: 80%; letter-spacing: -0.01em; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--muted); text-decoration: none; padding: 6px 0; transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

.nav__burger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21.5px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 30px; font-weight: 600; font-stretch: 80%; text-decoration: none; padding: 10px 0; }
.mobile-menu a[aria-current="page"] { color: var(--muted); }
.mobile-menu .btn { margin-top: 28px; }

/* ── Mise en page générale ───────────────────────────── */

.section { padding-top: var(--gap-section); }
.section--rule > .wrap { border-top: 1px solid var(--line); padding-top: 32px; }

/* Rangée « titre à gauche, contenu à droite » */
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.row__head { grid-column: 1 / span 4; }
.row__body { grid-column: 6 / span 7; }
.row__head .small { margin-top: 12px; max-width: 22em; }

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

.page-head { padding-top: clamp(56px, 9vw, 120px); }
.page-head .lede { margin-top: 28px; color: var(--muted); }

/* ── Accueil ─────────────────────────────────────────── */

.hero {
  position: relative;
  margin-top: calc(-1 * var(--nav-h));
  min-height: max(560px, min(94vh, 940px));
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--paper) 0%, rgba(13, 8, 9, 0.8) 24%, rgba(13, 8, 9, 0.1) 60%, rgba(13, 8, 9, 0.5) 100%),
    linear-gradient(to right, rgba(13, 8, 9, 0.6) 0%, rgba(13, 8, 9, 0) 60%);
}
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero .display { max-width: 11em; }
.hero__text { margin-top: 28px; color: #D9CBD1; }
.hero .actions { margin-top: 40px; }
.page-index .nav:not(.scrolled):not(.menu-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.wave { margin-top: clamp(48px, 7vw, 88px); }
.wave svg { width: 100%; height: clamp(90px, 13vw, 150px); }
.wave rect { fill: url(#neon); transform-box: fill-box; transform-origin: center; }
.wave__legend { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--muted); }
.js .wave rect { animation: bar-in .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 6ms); }
@keyframes bar-in { from { transform: scaleY(0.02); } to { transform: scaleY(1); } }

/* Liste des services */
.offer-list li { border-top: 1px solid var(--line); }
.offer-list li:last-child { border-bottom: 1px solid var(--line); }
.offer-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px;
  padding: 26px 0;
  text-decoration: none;
}
.offer-list a { transition: padding .45s var(--ease-out); }
.offer-list a:hover { padding-left: 14px; }
.offer-list a:hover .h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.offer-list p { grid-column: 1; color: var(--muted); max-width: 32em; }
.offer-list .price { grid-column: 2; grid-row: 1; font-size: 17px; white-space: nowrap; align-self: baseline; }

/* Étapes */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: block; font-size: 15px; color: var(--muted); padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.step .h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Appel final */
.closing .display { max-width: 9em; }
.closing .actions { margin-top: 40px; }

/* ── Tarifs ──────────────────────────────────────────── */

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; text-decoration: none; transition: border-color .15s; }
.jump a:hover { border-color: var(--violet); }

.plan { position: relative; padding: 36px 0 40px; border-top: 1px solid var(--line); transition: transform .45s var(--ease-out); }
.plan::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out); }
@media (hover: hover) {
  .plan:hover { transform: translateY(-4px); }
  .plan:hover::before { transform: scaleX(1); }
}
.plan:last-child { border-bottom: 1px solid var(--line); }
.plan__top { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: baseline; }
.plan__name { font-size: 24px; font-weight: 600; font-stretch: 85%; letter-spacing: -0.01em; }
.plan__flag { display: inline-block; margin-left: 10px; font-size: 14px; font-weight: 500; font-stretch: 100%; padding: 2px 10px; border-radius: 999px; color: #F2C6F7; background: rgba(193, 79, 214, 0.18); vertical-align: 3px; letter-spacing: 0; }
.plan__price { font-size: 32px; font-weight: 600; font-stretch: 80%; white-space: nowrap; }
.plan__sub { grid-column: 1; color: var(--muted); }
.plan__delay { grid-column: 2; text-align: right; color: var(--muted); font-size: 15px; white-space: nowrap; }
.plan__list { margin-top: 22px; columns: 2; column-gap: 32px; }
.plan__list li { break-inside: avoid; padding: 5px 0 5px 18px; position: relative; font-size: 16px; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 7px; height: 1px; background: var(--ink); }
.plan__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.plan__foot p { color: var(--muted); font-size: 15px; }
.cat-note { margin-top: 20px; font-size: 15px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.facts .h3 { margin-bottom: 8px; }
.facts p { color: var(--muted); font-size: 16px; }

/* ── Listes et tableaux ──────────────────────────────── */

.bullets li { padding: 7px 0 7px 18px; position: relative; }
.bullets li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 7px; height: 1px; background: var(--ink); }
.bullets--2 { columns: 2; column-gap: 32px; }
.bullets--2 li { break-inside: avoid; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: 16px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 14px; padding: 0 16px 10px 0; border-bottom: 1px solid var(--line-strong); }
.table td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.is-bad { color: var(--error); }

.deflist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.deflist dt, .deflist dd { padding: 16px 0; border-top: 1px solid var(--line); }
.deflist dt { font-weight: 600; padding-right: 24px; }
.deflist dd { color: var(--muted); }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.cols-3 .h3 { margin-bottom: 8px; }
.cols-3 p { color: var(--muted); font-size: 16px; }

.faq details { border-top: 1px solid var(--line); overflow: hidden; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 38em; }

/* ── Contact ─────────────────────────────────────────── */

.delays { margin-top: 36px; font-size: 15px; }
.delays li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.delays li:last-child { border-bottom: 1px solid var(--line); }
.delays span:first-child { color: var(--muted); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field label span { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font-size: 16px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(193, 79, 214, 0.25); }
.input::placeholder, .textarea::placeholder { color: #7D6E75; }
.select option, .select optgroup { background: var(--raised); color: var(--ink); }
.select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F5EEF1' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.form__legal { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form__actions { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius); font-size: 16px; }
.notice[hidden] { display: none; }
.notice--ok { display: flex; align-items: flex-start; gap: 12px; }
.notice--ok { background: rgba(125, 211, 160, 0.1); color: var(--ok); }
.notice--error { background: rgba(255, 138, 138, 0.1); color: var(--error); }

/* ── Pages légales ───────────────────────────────────── */

.legal > * { max-width: 40em; }
.legal h2 { font-size: 24px; font-weight: 600; font-stretch: 85%; margin: 56px 0 14px; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #DCCFD4; }
.legal p + p { margin-top: 0.9em; }
.legal ul { margin: 10px 0; }
.legal ul li { padding: 4px 0 4px 18px; position: relative; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 1em; width: 7px; height: 1px; background: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal .deflist { margin-top: 8px; }
.legal__date { margin-top: 64px; font-size: 14px; color: var(--muted); }

/* ── Pied de page ────────────────────────────────────── */

.footer { margin-top: var(--gap-section); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.footer__brand { grid-column: 1 / span 5; }
.footer__brand strong { display: block; font-size: 20px; font-weight: 600; font-stretch: 80%; }
.footer__brand p { color: var(--muted); margin-top: 6px; max-width: 24em; }
.footer__nav { grid-column: 6 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer__nav a, .footer__legal a { text-decoration: none; color: var(--muted); }
.footer__nav a:hover, .footer__legal a:hover { color: var(--ink); }
.footer__cta { grid-column: 10 / span 3; justify-self: end; }
.footer__bottom { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Photo du studio */
.photo { margin-top: clamp(48px, 7vw, 88px); }
.photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.photo--wide img { aspect-ratio: 21 / 9; }
.photo--mono img { filter: grayscale(1) contrast(1.06) brightness(0.92); }
.section > .wrap > .photo:first-child { margin-top: 0; }
@media (max-width: 600px) { .photo--wide img { aspect-ratio: 16 / 10; } }
.photo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ── 404 ─────────────────────────────────────────────── */
.notfound { min-height: 55vh; }

/* ── Écrans moyens ───────────────────────────────────── */

@media (max-width: 1080px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__burger { display: block; }
  .footer__brand { grid-column: 1 / span 6; }
  .footer__nav { grid-column: 7 / span 6; }
  .footer__cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail .row__body { padding-left: 34px; }
  .row__head, .row__body { grid-column: 1 / -1; }
  .facts, .cols-3 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .plan__list, .bullets--2 { columns: 1; }
}

/* ── Téléphones ──────────────────────────────────────── */

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .actions .btn { width: 100%; }
  .plan__top { grid-template-columns: 1fr; }
  .plan__price, .plan__delay { grid-column: 1; text-align: left; }
  .plan__price { grid-row: auto; margin-top: 6px; }
  .plan__flag { margin: 8px 0 0; display: table; }
  .plan__foot .btn { width: 100%; }
  .offer-list a { grid-template-columns: 1fr; }
  .wave rect:not(:nth-child(3n)) { display: none; }
  .wave rect { stroke: url(#neon); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
  .offer-list .price { grid-column: 1; grid-row: auto; color: var(--ink); }
  .deflist { grid-template-columns: 1fr; }
  .deflist dd { border-top: 0; padding-top: 0; }
  .footer__brand, .footer__nav { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

/* ── Animations ──────────────────────────────────────── */

/* Titres : chaque mot monte depuis un masque */
.js .split-wait { visibility: hidden; animation: show-late 0s 1.2s forwards; }
@keyframes show-late { to { visibility: visible; } }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(105%); animation: rise .95s var(--ease-out) forwards; animation-delay: calc(.12s + var(--i) * .055s); }
@keyframes rise { to { transform: none; } }

/* Texte d'introduction et boutons, juste après le titre */
.js .hero__text, .js .hero .actions, .js .page-head .lede { opacity: 0; animation: up .9s var(--ease-out) forwards; }
.js .hero__text, .js .page-head .lede { animation-delay: .5s; }
.js .hero .actions { animation-delay: .65s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Photo d'accueil : apparition lente */
.js .hero__media img { animation: settle 2.2s var(--ease-out) both; }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* Blocs révélés au défilement */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Menu mobile : liens en cascade */
.mobile-menu:not([hidden]) a { animation: up .5s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 45ms); }

/* Fil conducteur vertical (page Préparer sa session) */
.rail { position: relative; --p: 0; --t: 0px; --h: 0px; }
.rail::before, .rail::after { content: ''; position: absolute; top: var(--t); left: calc((100% - min(100%, var(--max))) / 2 + var(--gutter) + 4px); width: 1px; }
.rail::before { height: var(--h); background: var(--line-strong); }
.rail::after { width: 2px; margin-left: -.5px; height: calc(var(--h) * var(--p)); background: var(--violet); }
.rail__stop { padding-left: 34px; }
.rail__stop > .h2 { position: relative; }
.rail__stop > .h2::before { content: ''; position: absolute; left: -34px; top: calc(.52em - 5px); width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.rail__stop.is-lit > .h2::before { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 5px rgba(193, 79, 214, 0.18); }

/* Écran d'ouverture (accueil, une fois par session) */
.intro-screen { display: none; }
.intro .intro-screen { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.intro .intro-screen::before { content: ''; position: absolute; inset: 0; background: var(--paper); transition: opacity .8s .25s var(--ease-out); }
.intro-screen.is-leaving::before { opacity: 0; }
.intro-logo { position: fixed; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%) scale(2.4); transform-origin: 50% 50%; color: var(--ink); white-space: nowrap; }
.intro-logo span { opacity: 0; animation: up .7s .35s var(--ease-out) forwards; }
.intro body { overflow: hidden; }
.intro .nav__logo:not(.intro-logo) { visibility: hidden; }
.intro-hold .split .w > span, .intro-hold .hero__text, .intro-hold .hero .actions, .intro-hold .hero__media img { animation-play-state: paused; }

/* Logo : les barres se dessinent à l'ouverture */
.logo-mark { width: 20px; height: 20px; overflow: visible; flex-shrink: 0; }
.logo-mark line { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo-mark .logo-mark__acc { stroke: var(--violet); }
.js .logo-mark line { stroke-dashoffset: 1; animation: trace .7s var(--ease-out) forwards; }
.js .logo-mark line:nth-child(2) { animation-delay: .08s; }
.js .logo-mark line:nth-child(3) { animation-delay: .16s; }
.js .logo-mark line:nth-child(4) { animation-delay: .24s; }
.js .logo-mark line:nth-child(5) { animation-delay: .32s; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* Coche du message de confirmation */
.check { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.check circle, .check path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.check circle { animation: trace .6s var(--ease-out) forwards; }
.check path { animation: trace .4s .45s var(--ease-out) forwards; }

/* ── Illustrations des services (SVG) ─────────────────── */
.illus { margin-top: 36px; max-width: 250px; color: var(--muted); }
.illus svg { display: block; width: 100%; height: auto; overflow: visible; }
.illus .s { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.illus .ink { stroke: var(--ink); }
.illus .acc { stroke: var(--violet); stroke-width: 2; }
.illus .tick { opacity: .45; }
.illus text { font-family: var(--font); font-size: 8px; letter-spacing: .06em; fill: var(--muted); text-anchor: middle; }
.illus * { animation-play-state: paused; }
.illus.is-live * { animation-play-state: running; }

/* faders */
.illus .cap { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.illus .cap--acc { stroke: var(--violet); }
.illus .fader { animation: fader var(--dur) ease-in-out infinite alternate; }
@keyframes fader { to { transform: translateY(var(--m)); } }

/* VU-mètre */
.illus .needle { transform-origin: 120px 84px; transform: rotate(-38deg); animation: needle 2.6s ease-in-out infinite; }
.illus .dot { fill: var(--ink); }
@keyframes needle {
  0%, 100% { transform: rotate(-38deg); }
  18% { transform: rotate(-14deg); }
  30% { transform: rotate(-24deg); }
  52% { transform: rotate(-8deg); }
  70% { transform: rotate(-28deg); }
}

/* micro */
.illus .wave { opacity: .15; animation: wave 2.4s ease-in-out infinite; }
.illus .w2 { animation-delay: .25s; }
.illus .w3 { animation-delay: .5s; }
@keyframes wave { 40% { opacity: .9; } }
.illus .rec { fill: var(--red); animation: rec 1.6s steps(1) infinite; }
.illus .rec-t { text-anchor: start; fill: var(--ink); }
@keyframes rec { 50% { opacity: .2; } }

/* enceinte */
.illus .cone { transform-origin: 120px 104px; animation: cone .5s ease-in-out infinite alternate; }
@keyframes cone { to { transform: scale(1.08); } }
.illus .beat { opacity: .2; animation: wave 1s ease-in-out infinite; }

/* clavier */
.illus .key { fill: #E9E1E5; stroke: var(--paper); stroke-width: 1.5; }
.illus .key--black { fill: var(--paper); stroke: var(--paper); }
.illus .key--on { animation: note 2.7s infinite; animation-delay: var(--t); }
@keyframes note { 0%, 10% { fill: var(--violet); } 14%, 100% { } }

/* Au survol : l'aiguille saute, la membrane frappe plus fort, les faders accélèrent */
.illus.is-kick .needle { animation: kick .9s var(--ease-out); }
@keyframes kick { 0% { transform: rotate(-38deg); } 25% { transform: rotate(32deg); } 55% { transform: rotate(-4deg); } 100% { transform: rotate(-38deg); } }
.illus.is-kick .cone { animation-duration: .18s; }
.illus.is-kick .fader { animation-duration: .9s; }

@media (max-width: 860px) {
  .illus { margin-top: 24px; max-width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .split-wait { visibility: visible; }
  .split .w > span, [data-reveal] { transform: none; opacity: 1; }
  .js .logo-mark line, .check circle, .check path { stroke-dashoffset: 0; }
  .rail { --p: 1 !important; }
  .js .hero__text, .js .hero .actions, .js .page-head .lede, .js .hero__media img { opacity: 1; }
}

@media print {
  .nav, .mobile-menu, .footer, .actions, .skip-link, .wave { display: none !important; }
}

/* ── Promotions (gérées depuis le panneau) ───────────── */
.promo { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px; border: 1px solid rgba(193, 79, 214, 0.4); border-radius: var(--radius); background: rgba(193, 79, 214, 0.08); }
.promo--page { margin-top: clamp(32px, 5vw, 56px); }
.promo__item + .promo__item { padding-top: 14px; border-top: 1px solid var(--line); }
.promo__title { font-weight: 500; }
.promo__tag { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 999px; font-size: 14px; color: #F2C6F7; background: rgba(193, 79, 214, 0.22); white-space: nowrap; }
.promo__desc { margin-top: 4px; font-size: 15px; color: var(--muted); }
.price-old { font-size: .62em; font-weight: 400; color: var(--muted); text-decoration-thickness: 1.5px; margin-right: 4px; }
.plan__promo { grid-column: 1 / -1; font-size: 15px; color: #F2C6F7; }
