/* Clevotel — site vitrine. Direction : maison d'édition hôtelière, nuit sarcelle, ivoire, menthe et champagne. */
:root {
  --night: #0c2228;
  --night-2: #12313a;
  --night-3: #1a4250;
  --ink: #10242a;
  --ink-soft: #3f565d;
  --muted: #52666d;
  --muted-on-dark: #c3d0cf;
  --gold-ink: #73501f;
  --control-line: #7a8988;
  --ivory: #f4f0e7;
  --paper: #fbf9f4;
  --line: #e4ded1;
  --line-dark: rgba(233, 243, 237, 0.12);
  --mint: #7cc9ac;
  --mint-deep: #3f9c7d;
  --champagne: #c8a66b;
  --champagne-soft: #e9dcc2;
  --rose: #d98a7a;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 18px;
  --shadow: 0 40px 80px -30px rgba(6, 22, 26, 0.55), 0 12px 30px -12px rgba(6, 22, 26, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --wrap: min(1200px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--champagne-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
:is(.hero, .page-hero, .section-dark, .footer, .nav:not(.light)) :focus-visible { outline-color: var(--champagne); }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Typographie */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--champagne); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 640px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--champagne); color: var(--night); box-shadow: 0 14px 30px -14px rgba(200, 166, 107, 0.9); }
.btn-gold:hover { background: #d4b47c; }
.btn-ghost { border-color: var(--control-line); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-ink { background: var(--night); color: var(--ivory); }
.btn-line { border-color: var(--control-line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(12, 34, 40, 0.78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line-dark); }
.nav.light { background: rgba(251, 249, 244, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.nav.light .brand, .nav.light .nav-links a { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; color: rgba(244, 240, 231, 0.78); text-decoration: none; font-size: 14px; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--champagne); }
.nav .btn { white-space: nowrap; min-height: 42px; padding: 0 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); width: 44px; height: 44px; cursor: pointer; }
.nav.light .nav-toggle { color: var(--ink); }

/* Héro */
.hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background: var(--night);
  padding: 124px 0 0;
}
.hero-copy { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero h1 { max-width: 1000px; text-wrap: balance; }
.hero .lead { color: rgba(244, 240, 231, 0.74); text-align: center; max-width: 700px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-note { margin: 4px 0 0; font-size: 14px; color: rgba(244, 240, 231, 0.74); }
.hero-stage { position: relative; z-index: 2; margin-top: 20px; }
.hero-stage .window { transform: none; transition: none; }
#video, #contact, #telecharger { scroll-margin-top: 88px; }
.contact-address { margin: 20px 0 0; }
.contact-address a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

/* Fenêtre d'application (aperçus construits en HTML, données fictives) */
.window {
  background: #f6f7f4; color: #172b3a; border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(233, 243, 237, 0.12);
  transform: rotateX(8deg) translateY(30px); transform-origin: 50% 100%;
  transition: transform 1.6s var(--ease);
  font-family: var(--sans); font-size: 12px; line-height: 1.35;
}
.window.in { transform: rotateX(0deg) translateY(0); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: #eceee9; border-bottom: 1px solid #dfe3df; }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #e0655a; }
.window-bar i:nth-child(2) { background: #e8b84a; }
.window-bar i:nth-child(3) { background: #66b955; }
.window-bar span { margin-left: 14px; color: #6d7d86; font-size: 12px; }
.app { display: grid; grid-template-columns: 196px 1fr; min-height: 560px; }
.app-side { background: #0f2a30; color: #cfe0db; padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; }
.app-side .logo { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 14px; padding: 0 8px 16px; }
.app-side .logo svg { width: 24px; height: 24px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #b8cdc8; font-size: 12.5px; }
.app-side a.on { background: rgba(124, 201, 172, 0.16); color: #fff; }
.app-side a b { margin-left: auto; font-weight: 600; font-size: 11px; background: #d98a7a; color: #fff; border-radius: 999px; padding: 1px 7px; }
.app-side .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.app-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.app-head small { color: #7b8b98; text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; font-weight: 600; }
.app-head h4 { margin: 2px 0 0; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.app-chip { background: #176b63; color: #fff; border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.alert-unplaced { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff8e1; border: 1px solid #e7c873; color: #5c4400; }
.alert-unplaced strong { font-weight: 650; }
.alert-unplaced button { margin-left: auto; font: 600 11px var(--sans); border: 1px solid #c79a2c; background: #fff; color: #7a5600; border-radius: 6px; padding: 4px 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid #e5e9e8; border-radius: 12px; padding: 12px 14px; }
.kpi span { color: #7b8b98; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.kpi strong { display: block; font-size: 22px; font-weight: 650; margin-top: 4px; letter-spacing: -0.02em; }
.kpi em { font-style: normal; color: #176b63; font-size: 11px; font-weight: 600; }
.plan { background: #fff; border: 1px solid #e5e9e8; border-radius: 12px; overflow: hidden; }
.plan-row { display: grid; grid-template-columns: 92px repeat(10, 1fr); align-items: center; min-height: 34px; border-bottom: 1px solid #eef1ef; position: relative; }
.plan-row:last-child { border-bottom: 0; }
.plan-row.head { min-height: 30px; background: #fafbf9; color: #7b8b98; font-size: 10.5px; font-weight: 600; }
.plan-row.head div { text-align: center; }
.plan-row.head .today { color: #176b63; }
.plan-room { padding: 0 12px; font-weight: 650; display: flex; gap: 6px; align-items: baseline; }
.plan-room small { color: #9aa8ae; font-weight: 500; font-size: 10px; }
.plan-row.wait .plan-room { color: #a15c00; }
.bar {
  position: absolute; top: 6px; bottom: 6px; border-radius: 7px; padding: 0 9px; display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden;
  transform-origin: left center; transition: transform 1s var(--ease);
}
.js .bar { transform: scaleX(0); }
.js .in .bar { transform: scaleX(1); }
.bar.c { background: #3f8f86; }
.bar.h { background: #176b63; }
.bar.o { background: repeating-linear-gradient(135deg, #e7c873, #e7c873 6px, #efd796 6px, #efd796 12px); color: #5c4400; }
.bar.g { background: #6f7f96; }
.bar.w { background: #fff8e1; color: #7a5600; border: 1px dashed #c79a2c; }
.bar small { font-weight: 500; opacity: 0.8; }

/* Bande de faits */
.facts { background: #0a1c21; color: var(--ivory); border-top: 1px solid var(--line-dark); position: relative; z-index: 3; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 28px; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.15; margin-bottom: 8px; }
.fact span { color: rgba(244, 240, 231, 0.6); font-size: 14px; }

/* Sections */
section { position: relative; }
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-dark { background: var(--night); color: var(--ivory); }
.section-dark .lead { color: rgba(244, 240, 231, 0.7); }
.section-ivory { background: var(--ivory); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* Manifeste */
.manifesto { text-align: center; }
.manifesto p {
  font-family: var(--serif); font-size: clamp(30px, 4.2vw, 56px); line-height: 1.18; letter-spacing: -0.015em;
  max-width: 1040px; margin: 28px auto 0;
}
.manifesto p span { color: var(--muted); transition: color 0.8s; }
.manifesto p span.lit { color: var(--ink); }
.signature { margin-top: 40px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Vidéo de présentation */
.video-frame { margin: 0 auto; max-width: 1040px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--night); box-shadow: var(--shadow); }
.video-frame figcaption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted-on-dark); }

/* Chapitres */
.chapter { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.chapter + .chapter { margin-top: clamp(110px, 12vw, 170px); }
.chapter.flip { grid-template-columns: 1.15fr 1fr; }
.chapter.flip .chapter-copy { order: 2; }
.chapter-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--champagne); margin-bottom: 18px; display: block; }
.chapter-copy h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 22px; }
.chapter-copy p { color: var(--ink-soft); margin: 0 0 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 1px solid var(--mint-deep); background: radial-gradient(circle, var(--mint-deep) 0 3px, transparent 4px); }
.section-dark .ticks li::before { border-color: var(--mint); background: radial-gradient(circle, var(--mint) 0 3px, transparent 4px); }

.vignette { position: relative; border-radius: 22px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(160deg, var(--night-2), var(--night)); box-shadow: var(--shadow); overflow: hidden; }
.vignette::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 201, 172, 0.3), transparent); }
.card { position: relative; background: #fff; color: #172b3a; border-radius: 14px; padding: 18px; font-size: 13px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6); }
.card + .card { margin-top: 14px; }
.card h5 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #7b8b98; font-weight: 650; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #eef1ef; }
.card-row:first-of-type { border-top: 0; }
.card-row b { font-weight: 650; }
.pill { font-size: 11px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: #e5f1ee; color: #176b63; white-space: nowrap; }
.pill.warn { background: #fff4d6; color: #7a5600; }
.pill.red { background: #fdecea; color: #a12b1c; }
.pill.ink { background: #e9edf3; color: #3b4a63; }
.btn-mini { font: 600 11px var(--sans); border: 0; background: #176b63; color: #fff; border-radius: 7px; padding: 6px 10px; }
.mono { font-family: var(--mono); font-size: 11.5px; color: #4b5e66; }
.chain { display: grid; gap: 8px; }
.chain div { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; background: #f6f7f4; }
.chain div span:first-child { font-weight: 650; color: #176b63; }
.ok { color: #176b63; font-weight: 650; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bars-v { display: flex; align-items: flex-end; gap: 7px; height: 120px; padding-top: 10px; }
.bars-v i { flex: 1; background: linear-gradient(180deg, #7cc9ac, #3f9c7d); border-radius: 5px 5px 2px 2px; transform-origin: bottom; transition: transform 1.2s var(--ease); }
.js .bars-v i { transform: scaleY(0); }
.js .in .bars-v i { transform: scaleY(1); }
.legend { display: flex; justify-content: space-between; color: #9aa8ae; font-size: 10.5px; margin-top: 6px; }

/* Grille de capacités */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(233, 243, 237, 0.04), rgba(233, 243, 237, 0.01));
  transition: border-color 0.4s, transform 0.6s var(--ease), background 0.4s;
}
.tile:hover { border-color: rgba(200, 166, 107, 0.5); transform: translateY(-4px); }
.tile.wide { grid-column: span 3; }
.tile .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 201, 172, 0.12); color: var(--mint); margin-bottom: 22px; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 23px; margin-bottom: 10px; }
.tile p { margin: 0; color: rgba(244, 240, 231, 0.64); font-size: 15px; }
.bento .tile { min-width: 0; }
.section:not(.section-dark) .tile { background: #fff; border-color: var(--control-line); color: var(--ink); }
.section:not(.section-dark) .tile p { color: var(--ink-soft); }
.section:not(.section-dark) .tile .ico { color: #176b63; background: #e4f2ed; }
.section-dark .tile { background: var(--night-2); border-color: var(--control-line); }
.section-dark .tile p { color: var(--muted-on-dark); }
.section-dark .tile .big { display: block; margin-top: 12px; color: var(--ivory); font-size: clamp(20px, 2vw, 26px); }
.tile .price-note { margin-top: 12px; font-size: 14px; }
.section-dark .trust-note { color: var(--ivory); }
.section:not(.section-dark) .faq summary::after { color: var(--gold-ink); }
.section:not(.section-dark) :is(.eyebrow, h2 em, .chapter-num, .module h2 small) { color: var(--gold-ink); }
.section:not(.section-dark) .step::before { color: var(--gold-ink); }

/* Transparence */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.trust-col h3 { margin-bottom: 22px; }
.trust-col.muted { background: transparent; border-style: dashed; }
.trust-col.muted .ticks li::before { border-color: var(--champagne); background: radial-gradient(circle, var(--champagne) 0 3px, transparent 4px); }
.trust-note { margin-top: 28px; padding: 22px 26px; border-left: 2px solid var(--champagne); font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink); background: rgba(200, 166, 107, 0.08); border-radius: 0 12px 12px 0; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 34px 26px 0 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 20px; display: block; margin-bottom: 18px; }
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Connecteurs */
.connect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.conn { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px; }
.conn .status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; }
.conn .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(200, 166, 107, 0.18); animation: pulse 2.4s infinite; }
.conn .status.live { color: var(--mint); }
.conn .status.live::before { background: var(--mint); box-shadow: 0 0 0 4px rgba(124, 201, 172, 0.18); }
.conn h3 { font-size: 26px; margin-bottom: 10px; }
.conn p { margin: 0; color: rgba(244, 240, 231, 0.64); font-size: 15px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(200, 166, 107, 0); } }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 30px; color: var(--champagne); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 28px; color: var(--ink-soft); max-width: 760px; }

/* Appel final */
.cta { text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 90%; background: radial-gradient(closest-side, rgba(200, 166, 107, 0.22), transparent); pointer-events: none; }
.cta h2 { max-width: 900px; margin: 22px auto 24px; font-size: clamp(40px, 6vw, 80px); }
.cta .lead { margin: 0 auto 40px; text-align: center; }

/* Pied de page */
.footer { background: #081719; color: rgba(244, 240, 231, 0.6); padding: 72px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer h4 { margin: 0 0 16px; color: var(--ivory); font: 600 12px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--champagne); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* Pages intérieures */
.page-hero { background: var(--night); color: var(--ivory); padding: 180px 0 100px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(124, 201, 172, 0.16), transparent); }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); margin: 22px 0 22px; max-width: 900px; }
.page-hero .lead { color: rgba(244, 240, 231, 0.7); }
.page-jumps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; position: relative; z-index: 1; }
.page-jumps a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.page-jumps a:hover { color: var(--champagne); }
.module[id], #exemples-tarifs { scroll-margin-top: 88px; }
.module { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); padding: 64px 0; border-top: 1px solid var(--line); }
.module:first-child { border-top: 0; }
.module h2 { font-size: clamp(30px, 3.2vw, 42px); position: sticky; top: 110px; align-self: start; }
.module h2 small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 14px; }
.module-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 44px; }
.module-list h3 { font-size: 21px; margin-bottom: 8px; }
.module-list p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 30px; margin: 56px 0 16px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
.todo { background: #fff4d6; color: #7a5600; border: 1px dashed #c79a2c; border-radius: 6px; padding: 1px 7px; font-size: 0.92em; overflow-wrap: anywhere; }
.todo[data-field]::after { content: " ⚙"; font-size: 0.8em; opacity: 0.7; }
.legal-updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); text-align: right; color: var(--muted); font-size: 13px; }

/* Apparitions au défilement */
.js .reveal { transform: translateY(8px); }
.reveal { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
  .js .bar, .js .bars-v i { transform: none; }
}

/* Écrans moyens */
@media (max-width: 1080px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact { border-top: 1px solid var(--line-dark); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .hero { padding-top: 100px; }
  .window { transform: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .plan-row { grid-template-columns: 64px repeat(10, 1fr); }
  .plan-row.head div:nth-child(even) { visibility: hidden; }
  .plan-room small { display: none; }
  .bar small { display: none; }
  .section-head, .chapter, .chapter.flip, .trust, .connect, .module, .module-list, .split { grid-template-columns: 1fr; }
  .chapter.flip .chapter-copy { order: 0; }
  .section-head { gap: 20px; margin-bottom: 48px; }
  .module h2 { position: static; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .facts-grid, .bento, .steps, .footer-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding: 28px 0; }
  .app-main { padding: 14px; }
  .app-head h4 { font-size: 16px; }
  .app-chip { display: none; }
  .alert-unplaced { flex-wrap: wrap; }
  .alert-unplaced button { margin-left: 0; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
}

/* Barres du planning : position et longueur en jours (data-s, data-l), appliquées par le script. */
.plan-row { --rc: 92px; }
.bar { left: calc(var(--rc) + (100% - var(--rc)) * var(--s, 0) / 10 + 3px); width: calc((100% - var(--rc)) * var(--l, 1) / 10 - 6px); }
.card .big { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.chain-ok { margin: 12px 0 0; }
@media (max-width: 860px) { .plan-row { --rc: 64px; } }

@media (max-width: 1100px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 16px 24px; background: rgba(12, 34, 40, 0.97); border-bottom: 1px solid var(--line-dark); }
  .nav.light .nav-links { background: rgba(251, 249, 244, 0.98); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; }
}
.nav-links .nav-mobile-cta { display: none; }
@media (max-width: 860px) {
  .nav-links .nav-mobile-cta { display: block; padding-top: 8px; }
  .nav-links .nav-mobile-cta a { display: block; padding: 12px 16px; border-radius: 8px; background: var(--champagne); color: var(--night); font-weight: 650; }
}
.plan-room { white-space: nowrap; }

/* Logo : fidèle à l'icône de l'application (fenêtres et double porte). À l'ouverture, les deux fenêtres tombent
   en place puis la porte s'entrouvre sur une lumière chaude. Le survol rejoue l'animation. */
.logo .logo-leaf, .logo .logo-dot, .logo .logo-seam { transform-box: fill-box; }
.logo .logo-leaf-l { transform-origin: left center; }
.logo .logo-leaf-r { transform-origin: right center; }
.logo .logo-light { opacity: 0.9; }
.logo.play .logo-dot { animation: logo-drop 0.9s cubic-bezier(0.3, 0, 0.2, 1) both; }
.logo.play .logo-dot-r { animation-delay: 0.12s; }
.logo.play .logo-leaf { animation: logo-door 2.6s var(--ease) 0.75s both; }
.logo.play .logo-seam { animation: logo-seam 2.6s var(--ease) 0.75s both; }
.logo.play .logo-light { animation: logo-glow 2.6s var(--ease) 0.75s both; }
@keyframes logo-drop {
  0% { transform: translateY(-420px); opacity: 0; }
  55% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(-70px); }
  85% { transform: translateY(0); }
  93% { transform: translateY(-20px); }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes logo-door { 0% { transform: scaleX(1); } 35%, 70% { transform: scaleX(0.28); } 100% { transform: scaleX(1); } }
@keyframes logo-seam { 0% { opacity: 1; } 12%, 85% { opacity: 0; } 100% { opacity: 1; } }
@keyframes logo-glow { 0% { opacity: 0.6; } 35%, 70% { opacity: 1; } 100% { opacity: 0.6; } }
.brand .logo { width: 36px; height: 36px; flex: none; }
@media (prefers-reduced-motion: reduce) { .logo.play * { animation: none !important; } }
.hero-emblem { width: 64px; height: 64px; }

/* Téléchargements et version web : un bouton n'est actif que lorsque son lien est publié (voir site.js). */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 12px; padding: 34px; border: 1px solid var(--control-line); border-radius: var(--radius); background: #fff; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.dl:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(12, 34, 40, 0.45); }
.dl-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--mint); margin-bottom: 8px; }
.dl-ico svg { width: 26px; height: 26px; }
.dl h3 { font-size: 28px; }
.dl p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.dl .btn { align-self: flex-start; }
.dl-note { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.btn.is-soon, .nav-web.is-soon { cursor: not-allowed; transform: none; box-shadow: none; }
.nav-web.is-soon { border-color: var(--control-line); }
.btn-line.is-soon { border-style: dashed; }
.nav-web { white-space: nowrap; font-size: 14px; color: rgba(244, 240, 231, 0.85); text-decoration: none; border: 1px solid rgba(233, 243, 237, 0.24); border-radius: 999px; padding: 10px 16px; transition: border-color 0.2s, color 0.2s; }
.nav-web:not(.is-soon):hover { border-color: var(--champagne); color: var(--champagne); }
.nav-web.is-soon { border-style: dashed; }
@media (max-width: 1280px) { .nav-web { display: none; } }
@media (max-width: 860px) { .downloads { grid-template-columns: 1fr; } .dl .btn { align-self: stretch; } }
