/* SKURO — feuille de style du site. Les valeurs viennent de tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--text); }
h1 { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
.muted { color: var(--text-secondary); }
.lead { font-size: var(--fs-body-lg); color: var(--text-secondary); max-width: 62ch; }
.dim { color: var(--text-muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-wash-2); }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  padding: var(--sp-3) var(--sp-4); background: var(--accent); color: var(--accent-ink);
  border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

.wrap { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }
.section--elevated { background: var(--bg-elevated); }

/* Repères mono (étiquettes de section) */
.kicker {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--sp-5);
}
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.kicker--muted { color: var(--text-muted); }
.kicker--muted::before { background: var(--text-muted); }
.mono { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.section-head { display: grid; gap: var(--sp-5); margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 7fr 5fr; align-items: end; }
  .section-head .lead { justify-self: end; max-width: 46ch; }
}
.accent-word { color: var(--text-secondary); }
.accent-word--cyan { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 50px; padding: 0 var(--sp-5);
  border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease),
              transform var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-micro) var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #78DDFF; }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--surface); border-color: var(--border-strong); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:hover svg { transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--text); font-weight: 500; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-micro) var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand__mark { width: 26px; height: 26px; }
.brand__k { color: var(--accent); }
.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav__links { display: flex; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; padding: 6px 0; position: relative; transition: color var(--t-micro) var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-micro) var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding-inline: var(--sp-4); font-size: 0.9rem; }
.menu-button {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text); cursor: pointer;
}
.menu-button svg { width: 20px; height: 20px; }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .menu-button { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elevated); border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--t-card) var(--ease), opacity var(--t-card) var(--ease), visibility 0s linear var(--t-card);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: var(--sp-5); min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 128px) clamp(64px, 9vw, 120px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 40%, var(--accent-wash-1), transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }
.hero__text { max-width: 640px; }
.hero h1 { margin-bottom: var(--sp-5); text-wrap: balance; }
.hero .lead { margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: clamp(40px, 5vw, 64px); }
.signature { display: inline-flex; align-items: center; gap: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.signature::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent-soft); }
.signature strong { color: var(--accent); font-weight: 500; }

/* Diagramme « sources → SKURO → résultats » */
.flow {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.flow__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-5); }
.flow__status { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); }
.flow__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flow__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-3); align-items: center; }
.flow__col { display: grid; gap: var(--sp-3); }
.flow__col > .mono { margin-bottom: 2px; }
.node {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: border-color var(--t-scene) var(--ease), color var(--t-scene) var(--ease), box-shadow var(--t-scene) var(--ease);
}
.node__icon { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
.node__icon svg { width: 14px; height: 14px; }
.node.is-active { border-color: rgba(79, 209, 255, 0.55); color: var(--text); box-shadow: 0 0 0 3px var(--accent-wash-1); }
.node.is-active .node__icon { color: var(--accent); border-color: rgba(79, 209, 255, 0.4); }
.node.is-done { border-color: rgba(93, 242, 193, 0.45); color: var(--text); }
.node.is-done .node__icon { color: var(--accent-soft); }
.engine { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.engine__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border-strong); }
.engine__ring--pulse { animation: ring 2.4s var(--ease) infinite; }
.engine__core { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(79, 209, 255, 0.6); box-shadow: 0 0 24px -4px rgba(79, 209, 255, 0.35); text-align: center; }
.engine__core strong { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.02em; }
.engine__core span { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.14em; color: var(--accent); }
.flow__links { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--border-strong), var(--accent), var(--border-strong)); z-index: -1; opacity: 0.6; }
.flow__foot { display: flex; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; padding-top: var(--sp-4); border-top: 1px solid var(--line); margin-top: var(--sp-5); }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.25); opacity: 0; } }
@media (max-width: 480px) {
  .flow__grid { grid-template-columns: 1fr; }
  .engine { margin: var(--sp-2) auto; }
  .node { font-size: 0.85rem; padding: 10px 12px; }
}

/* ---------- Bento expertises ---------- */
.bento { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento > .card--wide { grid-column: span 2; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: var(--sp-4);
  transition: transform var(--t-card) var(--ease), border-color var(--t-card) var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card--wide { background: linear-gradient(135deg, var(--surface), rgba(79, 209, 255, 0.05)); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--accent); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--text-secondary); font-size: 0.97rem; }
.card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text-secondary); font-size: 0.95rem; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; }
.card__list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.card__foot { margin-top: auto; padding-top: var(--sp-3); }
.card--quiet { background: transparent; }

/* Grille d'expertises (page) */
.expertise-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 760px) { .expertise-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Méthode ---------- */
.steps { display: grid; gap: var(--sp-6); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: var(--sp-5); border-top: 1px solid var(--border-strong); }
.step .mono { color: var(--accent); display: block; margin-bottom: var(--sp-4); }
.step h3 { font-size: 1.3rem; margin-bottom: var(--sp-3); }
.step p { color: var(--text-secondary); font-size: 0.97rem; }

/* Méthode détaillée (page) */
.phase { display: grid; gap: var(--sp-5); padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.phase:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .phase { grid-template-columns: 1fr 1.3fr 1fr; } }
.phase__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--border-strong); font-weight: 700; }
.phase h3 { margin-top: var(--sp-2); }
.phase__body p { color: var(--text-secondary); }
.deliverables { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-5); }
.deliverables .mono { display: block; margin-bottom: var(--sp-3); }
.deliverables ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; color: var(--text-secondary); }
.deliverables li { display: flex; gap: 10px; }
.deliverables li::before { content: "→"; color: var(--accent); flex: none; }

/* ---------- Démonstration ---------- */
.demo { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1000px) { .demo { grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); } }
.demo__tabs { display: grid; gap: 10px; margin-top: var(--sp-5); }
.demo-tab {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  width: 100%; min-height: 56px; padding: 14px 18px; text-align: left;
  background: transparent; border: 1px solid var(--border); border-radius: 12px; color: var(--text-secondary);
  font: inherit; font-weight: 500; cursor: pointer;
  transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.demo-tab:hover { background: var(--surface); color: var(--text); }
.demo-tab[aria-pressed="true"] { background: var(--surface-hover); border-color: rgba(79, 209, 255, 0.5); color: var(--text); }
.demo-tab[aria-pressed="true"] .mono { color: var(--accent); }
.demo__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.demo__panel h3 { font-size: 1.5rem; margin-bottom: var(--sp-3); transition: opacity var(--t-reveal) var(--ease); }
.demo__panel p { color: var(--text-secondary); }
.before-after { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
@media (min-width: 640px) { .before-after { grid-template-columns: 1fr 1fr; } }
.state { padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-elevated); }
.state .mono { display: block; margin-bottom: 8px; }
.state--after { border-color: rgba(93, 242, 193, 0.4); }
.state--after .mono { color: var(--accent-soft); }
.state p { font-size: 0.95rem; margin: 0; }
.demo__solution { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.chip--accent { border-color: rgba(79, 209, 255, 0.5); color: var(--accent); }
.demo__note { margin-top: var(--sp-4); }
.is-swapping { opacity: 0; }

/* ---------- Preuves / arguments ---------- */
.pillars { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding-top: var(--sp-4); border-top: 1px solid var(--border-strong); }
.pillar h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.pillar p { color: var(--text-secondary); font-size: 0.97rem; }

.origin { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .origin { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); } }
.origin__facts { display: grid; gap: var(--sp-3); }
.fact { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-4); border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.fact__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--accent); }
.fact__icon svg { width: 18px; height: 18px; }
.fact strong { display: block; font-weight: 600; margin-bottom: 2px; }
.fact span { color: var(--text-secondary); font-size: 0.93rem; }

/* ---------- CTA final ---------- */
.cta-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 72px);
  display: grid; gap: var(--sp-6); align-items: center;
}
.cta-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, var(--accent-wash-2), transparent 65%); pointer-events: none; }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; } }
.cta-panel h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: var(--sp-4); text-wrap: balance; }
.cta-panel .lead { max-width: 56ch; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--sp-7); background: var(--bg-elevated); }
.site-footer .wrap { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); list-style: none; margin: 0; padding: 0; }
.footer__nav a { color: var(--text-secondary); font-size: 0.92rem; }
.footer__nav a:hover { color: var(--text); }
.footer__meta { color: var(--text-muted); font-size: 0.88rem; margin-top: var(--sp-4); }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); margin-bottom: var(--sp-5); text-wrap: balance; max-width: 20ch; }
.prose { max-width: 70ch; color: var(--text-secondary); }
.prose h2 { font-size: 1.6rem; color: var(--text); margin: var(--sp-7) 0 var(--sp-4); letter-spacing: -0.02em; }
.prose h3 { font-size: 1.15rem; color: var(--text); margin: var(--sp-5) 0 var(--sp-3); font-family: var(--font-body); font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: rgba(248, 113, 113, 0.14); color: #FCA5A5; border: 1px dashed rgba(248, 113, 113, 0.5); border-radius: 6px; padding: 1px 8px; font-family: var(--font-mono); font-size: 0.85em; }
.notice { display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 0.95rem; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.notice--warn { border-color: rgba(248, 113, 113, 0.4); }
.notice--warn svg { color: var(--error); }
.notice--ok { border-color: rgba(52, 211, 153, 0.4); }
.notice--ok svg { color: var(--success); }

/* ---------- Formulaire ---------- */
.contact-layout { display: grid; gap: var(--sp-7); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); } }
.form { display: grid; gap: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field label .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; font-size: 1rem;
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash-2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.88rem; min-height: 1.2em; }
.field__hint { color: var(--text-muted); font-size: 0.88rem; }
.form__status { font-size: 0.95rem; }
.form__status[hidden] { display: none; }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }

/* ---------- Révélations au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .engine__ring--pulse { display: none; }
}

/* ---------- Utilitaires (évitent les styles inline, interdits par la CSP) ---------- */
.u-mt-2 { margin-top: var(--sp-2); }
.u-mt-4 { margin-top: var(--sp-4); }
.u-mt-5 { margin-top: var(--sp-5); }
.u-mt-6 { margin-top: var(--sp-6); }
.u-mt-7 { margin-top: var(--sp-7); }
.u-mb-3 { margin-bottom: var(--sp-3); }
.u-block { display: block; }
.u-accent { color: var(--accent); }
.u-small { font-size: 0.95rem; }
.u-h2-sm { font-size: 1.6rem; margin-bottom: var(--sp-5); }
.demo__panel { transition: opacity 160ms ease; }

/* ---------- Réserver un appel ---------- */
.page-head--tight { padding-bottom: clamp(24px, 4vw, 40px); }
.section--booking { padding-top: 0; }
.booking {
  display: grid; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
}
@media (min-width: 960px) { .booking { grid-template-columns: 5fr 8fr; } }
.booking__side { padding: clamp(24px, 3.5vw, 44px); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--sp-5); }
@media (min-width: 960px) { .booking__side { border-bottom: 0; border-right: 1px solid var(--border); } }
.booking__brand { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.booking__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.booking__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.booking__meta li { display: flex; align-items: flex-start; gap: 12px; }
.booking__meta svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 1px; }
.booking__prep { padding: var(--sp-4) var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.booking__prep .mono { display: block; margin-bottom: 8px; color: var(--accent); }
.booking__prep p { margin: 0; color: var(--text-secondary); font-size: 0.93rem; }
.booking__alt { margin-top: auto; color: var(--text-muted); font-size: 0.93rem; }
.booking__alt .link-arrow { font-size: 0.93rem; }

.booking__main { position: relative; min-height: 560px; padding: clamp(24px, 3.5vw, 44px); background: var(--bg); }
.booking__preview { display: grid; gap: var(--sp-5); max-width: 520px; filter: blur(1.5px); opacity: 0.55; user-select: none; pointer-events: none; transition: opacity var(--t-reveal) var(--ease), filter var(--t-reveal) var(--ease); }
.booking__heading { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.cal { display: grid; gap: var(--sp-3); }
.cal__nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-5); font-weight: 600; }
.cal__arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--text-muted); font-size: 1.3rem; }
.cal__arrow--active { background: var(--surface); color: var(--text); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px 4px; justify-items: center; }
.cal__wd { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); padding-bottom: 4px; }
.cal__day { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 0.95rem; color: var(--text-muted); }
.cal__day--open { background: var(--surface); color: var(--text); font-weight: 600; }
.cal__day--today { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.cal__slot { width: 160px; padding: 14px; text-align: center; border: 1px solid var(--accent); border-radius: 10px; color: var(--accent); font-weight: 600; }
.cal__tz { display: grid; gap: 4px; font-size: 0.9rem; }
.cal__tz .mono { color: var(--text-secondary); }

.gate {
  position: absolute; inset: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--sp-4); padding: var(--sp-6);
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.35), rgba(7, 9, 13, 0.85));
  border-radius: var(--r-lg);
}
.gate__icon { width: 44px; height: 44px; color: var(--accent); }
.gate__title { font-size: clamp(1.3rem, 2.2vw, 1.8rem); max-width: 18ch; }
.gate__text { margin: 0; max-width: 44ch; color: var(--text-secondary); font-size: 0.95rem; }
.gate__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gate__alt { margin: 0; font-size: 0.9rem; }
.gate__alt a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.gate__alt a:hover { color: var(--text); }
.booking--loaded .booking__preview, .booking--loaded .gate { display: none; }
.booking__frame { position: relative; }
.booking__frame iframe { display: block; width: 100%; min-height: 720px; border: 0; border-radius: var(--r-md); background: var(--bg); }
.booking__frame[hidden] { display: none; }
@media (max-width: 600px) {
  .booking__main { min-height: 520px; }
  .cal__day { width: 36px; height: 36px; font-size: 0.88rem; }
  .gate { inset: 16px; padding: var(--sp-4); }
}
