/* MacchinAI — site vitrine. Deux univers qui alternent : la nuit dorée (logo sur fond noir)
   et le parchemin des carnets de Léonard, avec ses croquis d'inventions en filigrane. */
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(fonts/cinzel-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --night: #0d0a07;
  --night-2: #16110c;
  --night-3: #211910;
  --night-line: #3a2d1d;
  --night-text: #e9dcc3;
  --night-soft: #b7a384;
  --paper: #f2e8d2;
  --paper-2: #e9dbbd;
  --paper-line: #cdb68c;
  --ink: #221910;
  --ink-soft: #57452f;
  --gold-hi: #fbe7b6;
  --gold: #d6aa5c;
  --gold-mid: #b98a3e;
  --gold-deep: #8a5c22;
  --blue: #3aa6dc;
  --blue-deep: #1b6d9a;
  --gold-grad: linear-gradient(180deg, #fbe7b6 0%, #e2b867 45%, #b0802f 75%, #e9c47d 100%);
  --blue-grad: linear-gradient(180deg, #a8e2fb 0%, #3aa6dc 55%, #1b6d9a 100%);
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", Georgia, serif;
  --serif: "Cormorant", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.12rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* Texte doré / bleuté comme le logo */
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai { background: var(--blue-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ——— Univers : nuit dorée ——— */
.night { background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.night::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 75% 20%, rgba(214,170,92,.13), transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 90%, rgba(58,166,220,.07), transparent 70%); }
.night h1, .night h2, .night h3 { color: var(--gold-hi); }
.night a:not(.btn) { color: var(--gold); }
.night .lead, .night .muted { color: var(--night-soft); }

/* ——— Univers : parchemin ——— */
.parch { background: var(--paper) url(paper.svg); color: var(--ink); position: relative; overflow: hidden;
  box-shadow: inset 0 0 140px rgba(120,80,30,.22); }
.parch h2, .parch h1 { color: var(--ink); }
.parch h3 { color: #3b2a16; }
.parch .lead { color: var(--ink-soft); }

/* Croquis en filigrane */
.sk::before { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; z-index: 0; }
.parch.sk::before { opacity: .16; }
.night.sk::before { opacity: .11; }
.sk-gears::before { width: 560px; height: 520px; right: -120px; top: 30px; }
.sk-screw::before { width: 520px; height: 500px; right: -60px; bottom: -40px; }
.sk-wing::before { width: 620px; height: 520px; left: -140px; top: -40px; }
.sk-vitruve::before { width: 540px; height: 640px; right: -90px; top: 50%; transform: translateY(-50%); }
.sk-crossbow::before { width: 640px; height: 470px; left: -90px; bottom: -60px; }
.sk-carnet::before { width: 520px; height: 440px; left: -60px; top: 20px; }
.parch.sk-gears::before { background-image: url(sk-gears-ink.svg); }
.parch.sk-screw::before { background-image: url(sk-screw-ink.svg); }
.parch.sk-wing::before { background-image: url(sk-wing-ink.svg); }
.parch.sk-vitruve::before { background-image: url(sk-vitruve-ink.svg); }
.parch.sk-crossbow::before { background-image: url(sk-crossbow-ink.svg); }
.parch.sk-carnet::before { background-image: url(sk-carnet-ink.svg); }
.night.sk-gears::before { background-image: url(sk-gears-gold.svg); }
.night.sk-screw::before { background-image: url(sk-screw-gold.svg); }
.night.sk-wing::before { background-image: url(sk-wing-gold.svg); }
.night.sk-vitruve::before { background-image: url(sk-vitruve-gold.svg); }
.night.sk-crossbow::before { background-image: url(sk-crossbow-gold.svg); }
.night.sk-carnet::before { background-image: url(sk-carnet-gold.svg); }
@media (max-width: 720px) { .sk::before { transform: scale(.7); transform-origin: top right; } .sk-vitruve::before { transform: translateY(-50%) scale(.7); } }

/* En-tête */
.site-head { background: rgba(13,10,7,.92); border-bottom: 1px solid var(--night-line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; }
.brand svg { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 0 6px rgba(226,184,103,.45)); }
.brand .word { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .word b { background: var(--blue-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.head-right { display: flex; align-items: center; gap: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav li { margin: 0; }
.nav a { white-space: nowrap; display: block; padding: 8px 12px; color: var(--night-text); text-decoration: none; font-size: .93rem; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); background: var(--night-3); }
.nav a.btn { margin-left: 8px; padding: 9px 16px; color: var(--night); }
.menu { display: none; }
.lang { display: flex; margin-left: 6px; font-size: .82rem; border-left: 1px solid var(--night-line); padding-left: 8px; }
.lang a { padding: 6px 7px; color: var(--night-soft); text-decoration: none; letter-spacing: .06em; }
.lang a[aria-current="true"] { color: var(--gold-hi); font-weight: 700; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--night-line); color: var(--gold-hi); border-radius: var(--radius); font-size: .95rem; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu ul { list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); min-width: 250px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
  .menu li { margin: 0; }
  .menu a { display: block; padding: 10px 12px; color: var(--night-text); text-decoration: none; }
  .menu a:hover { color: var(--gold-hi); background: var(--night-3); }
}

/* Boutons */
.btn { display: inline-block; padding: 14px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: .98rem; letter-spacing: .02em; cursor: pointer; font-family: var(--sans);
  color: #1a120a; background: linear-gradient(180deg, #f6dc9f, #d6aa5c 55%, #b98a3e); border: 1px solid #e8c781;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 8px 24px rgba(214,170,92,.28); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 10px 30px rgba(214,170,92,.45); color: #1a120a; }
.btn.ghost { background: transparent; color: var(--gold-hi); border-color: rgba(214,170,92,.55); box-shadow: none; }
.btn.ghost:hover { background: rgba(214,170,92,.1); color: var(--gold-hi); }
.parch .btn.ghost { color: var(--ink); border-color: var(--gold-deep); }
.parch .btn.ghost:hover { background: rgba(138,92,34,.08); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 104px 0; } }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--gold-deep); margin-bottom: .6em; }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.night .kicker { color: var(--gold); }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.55; max-width: 60ch; font-weight: 500; }
.center { text-align: center; }
.center .lead, .center h2 { margin-left: auto; margin-right: auto; }
.center .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.narrow { max-width: 820px; }
.muted { color: var(--ink-soft); }
.it { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero::after { background: radial-gradient(ellipse 45% 55% at 76% 45%, rgba(226,184,103,.22), transparent 70%),
  radial-gradient(ellipse 30% 30% at 86% 55%, rgba(58,166,220,.12), transparent 70%),
  radial-gradient(ellipse 70% 60% at 0% 100%, rgba(214,170,92,.06), transparent 70%); }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } .hero { padding: 96px 0 120px; } }
.hero h1 { color: #fff4dc; }
.hero .lead { color: var(--night-text); }
.hero-art { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.hero-art svg { width: 100%; filter: drop-shadow(0 0 22px rgba(226,184,103,.35)) drop-shadow(0 0 60px rgba(58,166,220,.12)); }
.hero-art .caption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--night-soft); margin-top: 8px; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--night-line); font-size: .92rem; color: var(--night-soft); }
.pillars span::before { content: "◆"; color: var(--gold); font-size: .6rem; margin-right: 8px; vertical-align: middle; }
.mirror { display: inline-block; transform: scaleX(-1); font-family: var(--serif); font-style: italic; }

/* Grilles et cartes */
.grid { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { border-radius: var(--radius); padding: 30px 26px; position: relative; }
.parch .card { background: rgba(251,246,234,.72); border: 1px solid var(--paper-line); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px rgba(90,60,20,.08); }
.night .card { background: linear-gradient(180deg, rgba(33,25,16,.9), rgba(22,17,12,.9)); border: 1px solid var(--night-line); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .num { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; margin-bottom: 14px; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .92rem; letter-spacing: .03em; }
.card .more::after { content: " →"; }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(214,170,92,.3); }
.night a.card .more { color: var(--gold); }
.icon { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 14px; }
.night .icon { color: var(--gold); }
.corner::before, .corner::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--gold-mid); border-style: solid; opacity: .8; }
.corner::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.corner::after { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

/* Chiffres clés */
.figures { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figure { text-align: center; padding: 30px 20px; border-top: 1px solid var(--night-line); }
.figure b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; }
.figure span { display: block; margin-top: 8px; color: var(--night-soft); }
.calc { margin: 36px auto 0; max-width: 780px; text-align: center; font-family: var(--serif); font-size: 1.25rem; color: var(--night-text); }
.calc small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--night-soft); margin-top: 10px; }

/* Comparatif */
.versus { display: grid; gap: 0; margin-top: 44px; border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; background: rgba(251,246,234,.7); }
@media (min-width: 760px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus > div { padding: 30px 28px; }
.versus > div + div { border-top: 1px solid var(--paper-line); background: rgba(214,170,92,.12); }
@media (min-width: 760px) { .versus > div + div { border-top: 0; border-left: 1px solid var(--paper-line); } }
.versus h3 { font-size: 1rem; }
.versus ul { list-style: none; padding: 0; margin: 0; }
.versus li { padding-left: 28px; position: relative; }
.versus .no li::before { content: "✕"; position: absolute; left: 2px; color: #9b4a32; font-weight: 700; }
.versus .yes li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold-deep); font-weight: 700; }

/* Journée type */
.timeline { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
.timeline li { margin: 0; padding: 24px 20px; border: 1px solid var(--night-line); border-radius: var(--radius); background: rgba(22,17,12,.85); position: relative; }
.timeline time { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; margin-bottom: 12px; }
.timeline p { margin: 0; color: var(--night-text); font-size: .95rem; }
.timeline strong { display: block; color: var(--gold-hi); margin-bottom: 4px; }

/* Étapes */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; }
.steps li { position: relative; padding: 0 0 30px 76px; margin: 0; }
.steps li::before { counter-increment: s; content: counter(s, upper-roman); position: absolute; left: 0; top: -4px; width: 54px; height: 54px; border: 1px solid var(--gold-mid); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--gold-deep); background: rgba(251,246,234,.8); box-shadow: 0 0 0 5px rgba(214,170,92,.12); }
.night .steps li::before { color: var(--gold-hi); background: var(--night-2); }
.steps li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; border-left: 1px dashed var(--gold-mid); opacity: .6; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .25em; }
.steps h3 .it { color: var(--gold-deep); font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.night .steps h3 .it { color: var(--gold); }
.steps p { margin: 0; }

/* Listes */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold-mid); border-bottom: 2px solid var(--gold-mid); transform: rotate(-45deg); }

/* Citation */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; }
.quote .it-quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; display: block; }
.quote .tr { display: block; font-family: var(--serif); font-size: 1.35rem; margin-top: 14px; color: var(--night-soft); }
.quote cite { display: block; font-style: normal; margin-top: 18px; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.quote .ornament { display: block; width: 120px; margin: 0 auto 26px; opacity: .8; }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; font-style: italic; padding: 18px 40px 18px 0; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; color: var(--gold-deep); font-style: normal; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* Pages intérieures */
.page-head { padding: 56px 0 64px; }
@media (min-width: 720px) { .page-head { padding: 88px 0 96px; } }
.page-head h1 { color: #fff4dc; max-width: 22ch; }
.crumbs { font-size: .88rem; color: var(--night-soft); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "·"; margin-right: 8px; color: var(--gold); }
.crumbs a { color: var(--night-soft); }
.split { display: grid; gap: 44px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.45fr 1fr; gap: 64px; } }
.aside { border-radius: var(--radius); padding: 30px 28px; align-self: start; position: relative; }
.parch .aside { background: rgba(251,246,234,.8); border: 1px solid var(--paper-line); box-shadow: 0 16px 40px rgba(90,60,20,.12); }
@media (min-width: 960px) { .aside { position: sticky; top: 100px; } }
.aside h2 { font-size: 1.15rem; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 70ch; }
.result { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--gold-mid); background: rgba(214,170,92,.12); font-family: var(--serif); font-size: 1.2rem; }

/* Bandeau d'appel */
.cta { text-align: center; }
.cta h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta p { max-width: 62ch; margin-left: auto; margin-right: auto; color: var(--night-text); }
.cta .actions { justify-content: center; }

/* Formulaire */
form.contact { display: grid; gap: 18px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--paper-line); border-radius: var(--radius); background: #fbf7ec; color: var(--ink); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-mid); outline: 2px solid rgba(214,170,92,.35); }
.field textarea { min-height: 170px; resize: vertical; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: .88rem; color: var(--ink-soft); }

/* Pied de page */
.site-foot { padding: 64px 0 34px; font-size: .95rem; border-top: 1px solid var(--night-line); }
.site-foot .cols { display: grid; gap: 32px; }
@media (min-width: 760px) { .site-foot .cols { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-foot h2 { font-size: .95rem; letter-spacing: .08em; margin-bottom: .8em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot a:not(.brand) { color: var(--night-soft); text-decoration: none; }
.site-foot a:not(.brand):hover { color: var(--gold-hi); }
.site-foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--night-line); color: var(--night-soft); font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.site-foot .mirror { color: var(--gold); opacity: .7; font-size: 1.1rem; }
@media print { .site-head, .cta, .site-foot { display: none; } body { background: #fff; } .night { background: #fff; color: #000; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.alert { display: none; padding: 14px 18px; border: 1px solid #c77a5c; background: #f7e1d6; border-radius: var(--radius); color: #6d2c17; }
.alert:target { display: block; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(226,184,103,.4)); }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(226,184,103,.3)); }
.night a.card { color: var(--night-text); }
.night a.card h3 { color: var(--gold-hi); }
.night.sk-carnet::before { opacity: .06; }
.parch.quote .tr { color: var(--ink-soft); }
.parch.quote cite { color: var(--gold-deep); }
.parch.quote .it-quote { color: var(--ink); }
/* Nom de marque dans l'en-tête : même esprit que le lettrage du logo */
.brand .word { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: .01em; }
.brand .word b { font-weight: 500; }
.hero-art img { max-width: 440px; display: block; margin: 0 auto; }

/* Section « Pourquoi la Renaissance ? » */
.era { font-size: .95rem; margin-bottom: .7em; }
.era b { display: block; font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.era + .era b { color: var(--blue); }
.story { margin-top: 72px; align-items: center; }
.story h2 { margin-bottom: .5em; }
.motto { color: var(--gold); font-size: 1.5rem; opacity: .8; margin-top: .6em; }
.humble { position: relative; padding: 36px 34px; border: 1px solid rgba(214,170,92,.35); border-radius: var(--radius);
  background: radial-gradient(ellipse at top, rgba(214,170,92,.12), transparent 70%), rgba(22,17,12,.85);
  font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.55; color: var(--night-text); }
.humble p:last-child { margin-bottom: 0; }
.night.quote .it-quote { color: #fff4dc; }
.humble .gold, .story .gold { font-weight: 600; }

/* Page Tarifs */
.pricing { margin-top: 0; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .checks { margin: 16px 0 0; font-size: .93rem; }
.price-card.main { border-color: var(--gold-mid); box-shadow: 0 0 0 1px rgba(214,170,92,.35), 0 18px 40px rgba(90,60,20,.18); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 4px 0 12px; }
.price b { font-family: var(--display); font-size: 2.1rem; line-height: 1.1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(90,60,20,.25)); }
.parch .price b { background: linear-gradient(180deg, #b0802f, #7a4f18); -webkit-background-clip: text; background-clip: text; }
.price small { font-size: .85rem; color: var(--ink-soft); }
.night .price small { color: var(--night-soft); }
.third-party { margin-top: 26px; display: grid; gap: 12px 32px; align-items: center; padding: 24px 28px; border: 1px dashed var(--gold-mid); border-radius: var(--radius); background: rgba(251,246,234,.6); }
@media (min-width: 760px) { .third-party { grid-template-columns: 1fr auto; } }
.third-party h3 { margin-bottom: .3em; }
.third-party p { margin: 0; }
.budget { width: 100%; max-width: 620px; margin: 40px auto 0; border-collapse: collapse; font-size: 1.05rem; }
.budget th, .budget td { padding: 14px 6px; border-bottom: 1px solid var(--night-line); text-align: left; font-weight: 400; }
.budget td { text-align: right; white-space: nowrap; color: var(--gold-hi); }
.budget tfoot th, .budget tfoot td { border-bottom: 0; border-top: 1px solid var(--gold-mid); font-family: var(--display); font-weight: 700; font-size: 1.25rem; padding-top: 18px; }
.budget tfoot th { color: var(--gold-hi); }

/* Tarifs : estimation des gains */
.gains { margin-top: 40px; align-items: start; }
.tasks { width: 100%; border-collapse: collapse; background: rgba(251,246,234,.72); border: 1px solid var(--paper-line); border-radius: var(--radius); }
.tasks th, .tasks td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--paper-line); font-weight: 400; vertical-align: top; }
.tasks thead th { font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.tasks tbody th { font-weight: 600; }
.tasks tbody th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.tasks td { text-align: right; white-space: nowrap; font-family: var(--display); font-weight: 700; color: var(--gold-deep); }
.tasks tfoot th, .tasks tfoot td { border-bottom: 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: rgba(214,170,92,.14); }
.gain-figures { display: grid; gap: 16px; }
.gain { padding: 22px 24px; border: 1px solid var(--paper-line); border-radius: var(--radius); background: rgba(251,246,234,.72); }
.gain .label { display: block; font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.gain b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; margin: 6px 0 4px; background: linear-gradient(180deg, #b0802f, #7a4f18); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gain span:last-child { color: var(--ink-soft); font-size: .93rem; }
.gain.big { background: var(--night); border-color: var(--gold-mid); box-shadow: 0 16px 40px rgba(90,60,20,.2); }
.gain.big .label { color: var(--gold); }
.gain.big b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; font-size: clamp(2.4rem, 5vw, 3.3rem); }
.gain.big span:last-child { color: var(--night-text); }
.method { margin-top: 40px; padding: 26px 28px; border-left: 3px solid var(--gold-mid); background: rgba(214,170,92,.1); }
.method h3 { margin-bottom: .7em; }
.method .small { margin: 12px 0 0; }
/* Comparatif sur fond nuit */
.night .versus { background: rgba(22,17,12,.85); border-color: var(--night-line); }
.night .versus > div + div { border-color: var(--night-line); background: rgba(214,170,92,.08); }
.night .versus .no li::before { color: #e0806a; }
.night .versus .yes li::before { color: var(--gold); }
.night .result { color: var(--night-text); background: rgba(214,170,92,.08); }
.gains .small { margin-top: 12px; }

/* Simulateur 1 à 10 salariés (CSS pur, sans script) */
.sim fieldset { border: 0; padding: 0; margin: 0; }
.sim legend { padding: 0; margin-bottom: 14px; }
.sim-track { display: grid; grid-template-columns: repeat(10, 1fr); position: relative; margin: 0 4px 22px; }
.sim-track::before { content: ""; position: absolute; left: 5%; right: 5%; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--night-line); }
.sim-track input { position: absolute; opacity: 0; pointer-events: none; }
.sim-track label { position: relative; z-index: 1; justify-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--night-soft); background: var(--night-2); border: 1px solid var(--night-line); transition: background .15s, color .15s, transform .15s; }
.sim-track label:hover { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-track input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.sim-track input:checked + label { color: #1a120a; background: linear-gradient(180deg, #f6dc9f, #d6aa5c 55%, #b98a3e); border-color: #e8c781; transform: scale(1.18); box-shadow: 0 0 16px rgba(226,184,103,.5); }
.sim-res { display: none; gap: 6px 24px; grid-template-columns: 1fr 1fr; }
.sim-res b { font-size: clamp(1.8rem, 3.6vw, 2.5rem) !important; }
.sim-res p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--night-text); font-size: .93rem; }
.sim-res strong { color: var(--gold-hi); }
@media (max-width: 480px) { .sim-track label { width: 26px; height: 26px; font-size: .78rem; } }
.sim-fr:has(#sim-fr-1:checked) .sim-res[data-n="1"] { display: grid; }
.sim-fr:has(#sim-fr-1:checked) .sim-track label:nth-of-type(-n+1) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-2:checked) .sim-res[data-n="2"] { display: grid; }
.sim-fr:has(#sim-fr-2:checked) .sim-track label:nth-of-type(-n+2) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-3:checked) .sim-res[data-n="3"] { display: grid; }
.sim-fr:has(#sim-fr-3:checked) .sim-track label:nth-of-type(-n+3) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-4:checked) .sim-res[data-n="4"] { display: grid; }
.sim-fr:has(#sim-fr-4:checked) .sim-track label:nth-of-type(-n+4) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-5:checked) .sim-res[data-n="5"] { display: grid; }
.sim-fr:has(#sim-fr-5:checked) .sim-track label:nth-of-type(-n+5) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-6:checked) .sim-res[data-n="6"] { display: grid; }
.sim-fr:has(#sim-fr-6:checked) .sim-track label:nth-of-type(-n+6) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-7:checked) .sim-res[data-n="7"] { display: grid; }
.sim-fr:has(#sim-fr-7:checked) .sim-track label:nth-of-type(-n+7) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-8:checked) .sim-res[data-n="8"] { display: grid; }
.sim-fr:has(#sim-fr-8:checked) .sim-track label:nth-of-type(-n+8) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-9:checked) .sim-res[data-n="9"] { display: grid; }
.sim-fr:has(#sim-fr-9:checked) .sim-track label:nth-of-type(-n+9) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-fr:has(#sim-fr-10:checked) .sim-res[data-n="10"] { display: grid; }
.sim-fr:has(#sim-fr-10:checked) .sim-track label:nth-of-type(-n+10) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-1:checked) .sim-res[data-n="1"] { display: grid; }
.sim-en:has(#sim-en-1:checked) .sim-track label:nth-of-type(-n+1) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-2:checked) .sim-res[data-n="2"] { display: grid; }
.sim-en:has(#sim-en-2:checked) .sim-track label:nth-of-type(-n+2) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-3:checked) .sim-res[data-n="3"] { display: grid; }
.sim-en:has(#sim-en-3:checked) .sim-track label:nth-of-type(-n+3) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-4:checked) .sim-res[data-n="4"] { display: grid; }
.sim-en:has(#sim-en-4:checked) .sim-track label:nth-of-type(-n+4) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-5:checked) .sim-res[data-n="5"] { display: grid; }
.sim-en:has(#sim-en-5:checked) .sim-track label:nth-of-type(-n+5) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-6:checked) .sim-res[data-n="6"] { display: grid; }
.sim-en:has(#sim-en-6:checked) .sim-track label:nth-of-type(-n+6) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-7:checked) .sim-res[data-n="7"] { display: grid; }
.sim-en:has(#sim-en-7:checked) .sim-track label:nth-of-type(-n+7) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-8:checked) .sim-res[data-n="8"] { display: grid; }
.sim-en:has(#sim-en-8:checked) .sim-track label:nth-of-type(-n+8) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-9:checked) .sim-res[data-n="9"] { display: grid; }
.sim-en:has(#sim-en-9:checked) .sim-track label:nth-of-type(-n+9) { color: var(--gold-hi); border-color: var(--gold-mid); }
.sim-en:has(#sim-en-10:checked) .sim-res[data-n="10"] { display: grid; }
.sim-en:has(#sim-en-10:checked) .sim-track label:nth-of-type(-n+10) { color: var(--gold-hi); border-color: var(--gold-mid); }

/* Simulateur : première et deuxième année */
.sim-res .y1 { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--night-line); }
.sim-res .y1 .label, .sim-res .y2 .label { margin-bottom: 4px; }
.sim-res .y2 { grid-column: 1 / -1; margin-top: 6px; padding: 16px 18px; border: 1px solid rgba(214,170,92,.45); border-radius: var(--radius); background: rgba(214,170,92,.1); }
.sim-res .y2 b { margin: 2px 0 4px; }
.sim-res .y2 span:last-child { display: block; color: var(--night-soft); font-size: .88rem; }
.sim-res .y2 b small { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; background: none; -webkit-text-fill-color: var(--night-soft); color: var(--night-soft); }
.sim-res .y2 b { white-space: nowrap; }
