/* Partie adverse - site public. Encre (vous) face au vermillon (la partie adverse), papier chaud, titres Bricolage. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-latin-wght.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-latin-ext-wght.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken'; src: url('/assets/fonts/hanken-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f8f4ee;
  --paper-2: #efe7dc;
  --card: #fffdf9;
  --line: #e2d9cb;
  --ink: #1b2440;
  --ink-2: #33406a;
  --text: #22263a;
  --muted: #5e6378;
  --accent: #d9480f;
  --accent-2: #f0874a;
  --accent-soft: #fde9dc;
  --you-soft: #e4e9f7;
  --host: #6a4fc9;
  --host-soft: #ece6fb;
  --good: #1f8a5b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 36, 64, .06), 0 8px 28px rgba(27, 36, 64, .08);
  --head: 'Bricolage', 'Hanken', system-ui, sans-serif;
  --body: 'Hanken', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, .band__title, .block__title { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 750; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 700; margin: 1.6em 0 .55em; }
h3 { font-size: 1.22rem; font-weight: 680; margin: 1.3em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: 650 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 6px 18px rgba(217, 72, 15, .28); }
.btn:hover { color: #fff; background: #c43e0a; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(217, 72, 15, .34); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ink { background: var(--ink); box-shadow: 0 6px 18px rgba(27, 36, 64, .25); }
.btn--ink:hover { background: var(--ink-2); }
.btn--lg { padding: 15px 28px; font-size: 1.08rem; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(248, 244, 238, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 760 1.28rem/1 var(--head); color: var(--ink); white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent); }
.brand:hover { color: var(--ink); }
.brand__logo { flex: none; transition: transform .3s; }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.nav { display: flex; gap: 4px; align-items: center; margin-left: 8px; }
.nav a { white-space: nowrap; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 560; font-size: .97rem; }
.nav a:hover, .nav a.is-active { background: #fff; color: var(--ink); }
.nav__sub { position: relative; }
.nav__drop { position: absolute; top: calc(100% + 6px); left: -12px; width: min(760px, calc(100vw - 48px)); max-height: calc(100vh - 110px); overflow-y: auto; columns: 3; column-gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__sub:hover .nav__drop, .nav__sub:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: block; padding: 6px 10px; white-space: normal; font-size: .92rem; line-height: 1.3; }
.nav__grp { break-inside: avoid; margin: 0 0 10px; }
.nav__grp p { margin: 4px 10px 4px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nav__drop a:hover { background: var(--paper); }
.nav__drop b { display: block; font-weight: 640; font-size: .95rem; color: var(--ink); }
.nav__drop small { color: var(--muted); font-size: .82rem; }
.nav__drop .nav__all { column-span: all; text-align: center; color: var(--accent); font-weight: 650; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.top__cta { margin-left: auto; display: flex; gap: 10px; white-space: nowrap; }
.top__cta .btn { padding: 10px 18px; font-size: .95rem; }
.top__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 10px; }
.top__burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
@media (max-width: 1200px) {
  .top__burger { display: block; }
  .nav, .top__cta { display: none; }
  .top.is-open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 10px 20px 4px; margin: 0; border-bottom: 1px solid var(--line); }
  .top.is-open .top__cta { display: flex; position: absolute; top: calc(72px + var(--navh, 360px)); left: 0; right: 0; background: var(--paper); padding: 8px 20px 18px; border-bottom: 1px solid var(--line); }
  .nav__drop { display: none; }
  .top.is-open .top__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.is-open .top__burger span:nth-child(2) { opacity: 0; }
  .top.is-open .top__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- En-tête de page intérieure ---------- */
.phero { padding: 44px 0 30px; background: radial-gradient(900px 300px at 85% -40%, var(--accent-soft), transparent 70%), radial-gradient(700px 260px at 0% 0%, var(--you-soft), transparent 70%); }
.phero h1 { max-width: 20ch; }
.phero__lead { font-size: 1.22rem; color: var(--ink-2); max-width: 62ch; }
.phero__date { color: var(--muted); font-size: .9rem; }
.kicker { display: inline-block; font: 650 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 7px 11px; border-radius: 999px; margin: 0 0 6px; }
.crumbs { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---------- Blocs de contenu ---------- */
.block { padding: 34px 0; }
.block--tint { background: var(--paper-2); }
.block__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 18px; }
.block__intro { color: var(--muted); max-width: 64ch; font-size: 1.08rem; }
.block > .prose, .block > .wrap > .prose { max-width: 760px; }
main > .block > :not(.wrap) { width: min(820px, 100% - 40px); margin-inline: auto; }
main > .block > .cards, main > .block > .facts, main > .block > .steps { width: min(1000px, 100% - 40px); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .97rem; background: var(--card); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); color: var(--ink); font-weight: 650; }

.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ink-2); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout__title { font: 700 1.02rem/1.3 var(--head); color: var(--ink); margin-bottom: .45em; display: flex; align-items: center; gap: 8px; }
.callout--law { border-left-color: var(--host); background: linear-gradient(90deg, var(--host-soft), var(--card) 40%); }
.callout--law .callout__title::before { content: '§'; font-size: 1.2rem; color: var(--host); }
.callout--warn { border-left-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), var(--card) 40%); }
.callout--warn .callout__title::before { content: '!'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 24px auto; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fact b { display: block; font: 760 1.75rem/1.1 var(--head); color: var(--accent); }
.fact span { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px auto; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 70px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 1rem var(--head); }
.steps b { display: block; color: var(--ink); font-size: 1.04rem; }
.steps span { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin: 22px auto; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8ccb9; }
.card h3 { margin: 0 0 .4em; font-size: 1.14rem; }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__link { font-weight: 650; text-decoration: none; color: var(--accent); }
.card__link::after { content: ' →'; transition: margin .2s; }
.card:hover .card__link::after { margin-left: 4px; }
.card__link::before { content: ''; position: absolute; inset: 0; }
.cards__group { font: 700 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 28px auto 0; }

.dialogue { background: linear-gradient(180deg, #fff, var(--card)); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 8px; margin: 24px 0; box-shadow: var(--shadow); }
.dialogue__note { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.bubble { max-width: 86%; border-radius: 18px; padding: 10px 14px 4px; margin: 0 0 12px; position: relative; }
.bubble p { margin: 0 0 .6em; }
.bubble .who { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; }
.bubble--them { background: var(--accent-soft); border-top-left-radius: 6px; }
.bubble--them .who { color: var(--accent); }
.bubble--you { background: var(--you-soft); margin-left: auto; border-top-right-radius: 6px; }
.bubble--you .who { color: var(--ink-2); }
.bubble--host { background: var(--host-soft); margin-inline: auto; max-width: 92%; border-radius: 14px; font-size: .96rem; }
.bubble--host .who { color: var(--host); }

.cta-inline { margin: 26px 0; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 18px; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 650; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 12px; font: 400 1.6rem/1 var(--head); color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .prose { padding-bottom: 6px; color: var(--text); }

/* ---------- Bandeau d'appel à l'action ---------- */
.band { padding: 26px 0 60px; }
.band__in { background: radial-gradient(500px 220px at 90% 0%, rgba(240, 135, 74, .45), transparent 70%), var(--ink); color: #e9ecf6; border-radius: 26px; padding: 34px 38px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band__title { color: #fff; font-size: 1.6rem; font-weight: 720; margin: 0 0 4px; }
.band p { margin: 0; }

/* ---------- Pied de page ---------- */
.foot { background: #151c33; color: #b9bfd3; padding: 54px 0 20px; font-size: .95rem; }
.foot a { color: #dfe3ef; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot__brand p { max-width: 36ch; }
.brand--foot { color: #fff; margin-bottom: 14px; }
.brand--foot:hover { color: #fff; }
.foot .brand__logo path:first-child { fill: #8fa0d8; }
.foot__title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.foot__col { display: flex; flex-direction: column; gap: 7px; }
.foot__sister { font-size: .88rem; color: #8f97b3; }
.foot__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2a3352; margin-top: 34px; padding-top: 16px; font-size: .85rem; color: #8f97b3; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- Accueil ---------- */
.hero { padding: 46px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 680px; height: 680px; background: radial-gradient(circle, rgba(240, 135, 74, .25), transparent 62%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: auto auto -30% -12%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(51, 64, 106, .14), transparent 62%); pointer-events: none; }
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 46px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); max-width: 13ch; }
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--accent-2); opacity: .35; border-radius: 4px; transform-origin: left; animation: underline 1s .6s both cubic-bezier(.2, .8, .2, 1); }
@keyframes underline { from { transform: scaleX(0); } }
.hero__lead { font-size: 1.24rem; color: var(--ink-2); max-width: 46ch; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero__trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; padding: 0; margin: 0; list-style: none; }
.hero__trust li::before { content: '✓'; color: var(--good); font-weight: 800; margin-right: 6px; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hero h1 { font-size: 2.2rem; } .hero h1 .hl { white-space: normal; } }

/* scène animée : une négociation qui se joue */
.stage { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(27, 36, 64, .28), 0 2px 6px rgba(27, 36, 64, .06); overflow: hidden; transform: rotate(.6deg); transition: transform .4s; }
.stage:hover { transform: none; }
.stage__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); }
.stage__face { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); transition: opacity .4s; }
.stage__who b { display: block; color: var(--ink); font-family: var(--head); }
.stage__who small { color: var(--muted); }
.stage__live { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; }
.stage__live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.stage__body { padding: 16px 16px 6px; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.stage .bubble { animation: pop .38s both cubic-bezier(.2, .9, .3, 1.25); font-size: .97rem; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--paper-2); border-radius: 16px; margin-bottom: 12px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.stage__chip { align-self: center; font-size: .8rem; font-weight: 700; color: var(--host); background: var(--host-soft); border-radius: 999px; padding: 6px 12px; margin: 2px 0 12px; animation: pop .4s both; }
.stage__score { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.gauge { font-size: .8rem; color: var(--muted); }
.gauge b { color: var(--ink); }
.gauge__bar { height: 8px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-top: 5px; }
.gauge__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--ink-2); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.gauge--them .gauge__bar i { background: var(--accent); }

/* bande des visages */
.faces { display: flex; align-items: center; gap: 0; margin: 4px 0 0; }
.faces img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--paper); margin-left: -10px; object-fit: cover; transition: transform .2s; }
.faces img:first-child { margin-left: 0; }
.faces img:hover { transform: translateY(-4px); z-index: 2; }
.faces span { margin-left: 12px; color: var(--muted); font-size: .92rem; }

.logos { display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .92rem; }
.logos b { color: var(--ink); font-weight: 650; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.versus__side { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.versus__side h3 { margin-top: 0; }
.versus__side--you { border-top: 5px solid var(--ink-2); }
.versus__side--them { border-top: 5px solid var(--accent); }
.versus__mid { display: grid; place-items: center; font: 800 1.1rem var(--head); color: var(--host); }
.versus__mid span { background: var(--host-soft); border-radius: 50%; width: 54px; height: 54px; display: grid; place-items: center; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }
.persona-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 20px 0; }
.persona-grid figure { margin: 0; text-align: center; }
.persona-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.persona-grid figure:hover img { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.persona-grid figcaption { font-weight: 650; color: var(--ink); margin-top: 6px; font-size: .95rem; }
@media (max-width: 640px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }

.price { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.price--hl { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price__name { font: 720 1.2rem var(--head); color: var(--ink); margin: 0; }
.price__amount { font: 780 2.4rem/1.1 var(--head); color: var(--ink); margin: 10px 0 2px; }
.price__amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price ul { padding-left: 1.2em; color: var(--text); flex: 1; }
.price .btn { justify-content: center; margin-top: 10px; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* formulaire de clé d'accès */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); max-width: 520px; }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--ink-2); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 16px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.is-ok { color: var(--good); }
.form-msg.is-err { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; font: 650 .95rem var(--body); padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }

/* les voies possibles d'un litige : une carte par voie */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px auto; }
.route { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink-2); border-radius: 18px; padding: 16px 18px; }
.route:nth-child(2) { border-top-color: var(--host); }
.route:nth-child(3) { border-top-color: var(--good); }
.route:nth-child(4) { border-top-color: var(--accent); }
.route:nth-child(5) { border-top-color: var(--muted); }
.route h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.route__what { color: var(--muted); font-size: .95rem; }
.route dl { margin: 10px 0 0; display: grid; gap: 6px; font-size: .93rem; }
.route dt { font-weight: 700; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.route dd { margin: 0 0 4px; }
.prob { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.prob__bar { flex: 1; height: 7px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.prob__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ink-2), var(--accent)); border-radius: 5px; }

/* comparaison découverte gratuite / simulation complète */
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: .97rem; }
.vs-table th, .vs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vs-table thead th { background: var(--ink); color: #fff; font-family: var(--head); font-size: 1.05rem; }
.vs-table thead th small { display: block; font: 500 .8rem var(--body); opacity: .8; }
.vs-table thead th:last-child { background: var(--accent); }
.vs-table tbody th { font-weight: 650; color: var(--ink); width: 34%; }
.vs-table td.ok::before { content: '✓ '; color: var(--good); font-weight: 800; }
.vs-table td.no { color: var(--muted); }
.vs-table td.no::before { content: '· '; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .vs-table { font-size: .88rem; } .vs-table th, .vs-table td { padding: 9px 8px; } }

/* nom du service dans le texte, aux couleurs du logo */
.pa-name { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pa-name em { font-style: normal; color: var(--accent); }

/* avatar coloré (sans visage), tel que proposé dans l'espace */
.av-demo { display: block; width: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #6a4fc9, #a08ae9); }
.av-demo svg { width: 100%; height: 100%; display: block; }
