/* Two-In : site vitrine. Deux moitiés, Toi et l'autre, reliées par une couture corail. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --coral: #dc5969;
  --coral-deep: #b8404f;
  --blush: #fff0f2;
  --ink: #303941;
  --ink-soft: #5e6670;
  --paper: #ffffff;
  --device: #1f2429;
  --line: #f1d9dd;
  --wall-a: #b94e74;
  --wall-b: #5a47a6;
  --seam: 4px;
  --radius: 28px;
  --gutter: clamp(16px, 5vw, 72px);
  --display: 'Bricolage Grotesque', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- Logo, boutons */

.logo { font: 800 28px/1 var(--display); letter-spacing: -0.04em; text-decoration: none; color: var(--ink); }
.logo b { color: var(--coral); font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 650 16px/1 var(--text); text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.btn:hover { background: #20272d; }
.btn:active { transform: scale(.97); }

/* Bouton de téléchargement : plateforme en gros, mention en petit */
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; min-height: 60px;
  padding: 10px 20px 10px 16px; border-radius: 16px; text-decoration: none;
  background: var(--ink); color: #fff;
  /* Pas de transition de couleur : l'état « Bientôt disponible » s'applique au chargement sans fondu */
  transition: transform .2s var(--ease-out);
}
.store:hover { background: #20272d; }
.store:active { transform: scale(.97); }
.store svg { flex: none; width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; opacity: .78; }
.store strong { font: 800 19px/1.1 var(--display); letter-spacing: -0.01em; }
.store.alt { background: var(--blush); color: var(--coral-deep); }
.store.alt small { opacity: 1; }
.store.alt:hover { background: #ffe3e8; }
/* Pas encore publié : le bouton garde sa forme (contour plein), sans paraître cliquable */
.store[aria-disabled='true'] {
  cursor: default; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
}
.store.alt[aria-disabled='true'] { color: var(--coral-deep); box-shadow: inset 0 0 0 2px var(--coral-deep); }
.store[aria-disabled='true'] small { opacity: 1; font-weight: 650; }
.store[aria-disabled='true']:hover { background: transparent; }
.store[aria-disabled='true']:active { transform: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Transitions entre pages */

@view-transition { navigation: auto; }
.logo { view-transition-name: logo; }
.nav { view-transition-name: nav; }
::view-transition-old(root) { animation: 180ms ease-in both vt-out; }
::view-transition-new(root) { animation: 360ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------------------------------------------------------------- Suggestion de langue */

.lang-offer {
  position: fixed; left: 50%; bottom: 20px; z-index: 40; transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px)); padding: 14px 14px 14px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--paper); border-radius: 20px; box-shadow: 0 18px 50px rgba(48, 57, 65, .22);
  font-size: 15px;
}
.lang-offer p { flex: 1 1 200px; font-weight: 600; }
.lang-offer .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.lang-offer .quiet { background: transparent; color: var(--ink-soft); }
.lang-offer .quiet:hover { background: rgba(48, 57, 65, .06); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .lang-offer { animation: offer-in .5s var(--ease-out) both; }
  @keyframes offer-in { from { opacity: 0; transform: translate(-50%, 16px); } }
}

/* ---------------------------------------------------------------- Navigation */

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  background: linear-gradient(90deg, rgba(255,255,255,.92) 50%, rgba(255,240,242,.92) 50%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { text-decoration: none; }
.nav-links .lang { font-weight: 650; color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }
/* Pages de texte : pas de moitiés, la barre reste unie */
.nav.plain { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- Moitiés et couture */

.mirror { position: relative; background: linear-gradient(90deg, var(--paper) 50%, var(--blush) 50%); }
.mirror::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--seam);
  margin-left: calc(var(--seam) / -2); background: var(--coral); z-index: 0;
}
/* La couture se termine par un point noué, au bas de la section de téléchargement */
.mirror.seam-end::before { bottom: 56px; }
.mirror.seam-end::after {
  content: ''; position: absolute; left: 50%; bottom: 44px; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px var(--blush);
}
@media (max-width: 860px) { .mirror.seam-end::after { display: none; } }
.side-label {
  font: 800 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.side-label.you { color: var(--coral-deep); }

/* ---------------------------------------------------------------- Téléphones */

.phone {
  position: relative; width: var(--w, 300px); aspect-ratio: 9 / 19.5;
  padding: calc(var(--w, 300px) * 0.036); border-radius: calc(var(--w, 300px) * 0.16);
  background: var(--device);
  box-shadow: 0 calc(var(--w, 300px) * .12) calc(var(--w, 300px) * .24) rgba(48, 57, 65, .22);
}
.phone::after { /* encoche */
  content: ''; position: absolute; top: calc(var(--w, 300px) * 0.06); left: 50%; transform: translateX(-50%);
  width: 26%; height: calc(var(--w, 300px) * 0.06); border-radius: 99px; background: var(--device); z-index: 3;
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w, 300px) * 0.125);
  background: linear-gradient(135deg, var(--wall-a), var(--wall-b));
  container-type: inline-size;
}
.screen > svg, .screen > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- Premier écran */

.hero { min-height: min(calc(100svh - 76px), 900px); padding: 12px var(--gutter) 40px; display: grid; align-items: center; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.hero-side.me .phone { transform: rotate(-4deg); }
.hero-side.you .phone { transform: rotate(4deg); }
/* Grand écran : les téléphones s'écartent pour laisser la carte sur la couture */
@media (min-width: 1001px) {
  .hero-side.me { transform: translateX(-9%); }
  .hero-side.you { transform: translateX(9%); }
}
@media (max-width: 1000px) {
  .hero .phone { --w: min(36vw, 150px); }
}
.hero .phone { --w: clamp(150px, min(19vw, 30svh), 290px); }

.draw-hint {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 2;
  padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink);
  font: 650 clamp(10px, 4.6cqi, 14px)/1.2 var(--text); white-space: nowrap; pointer-events: none;
  transition: opacity .4s;
}
.draw-surface { touch-action: none; cursor: crosshair; }
.clear-btn {
  border: 0; background: none; color: var(--ink-soft); font: 600 14px var(--text); cursor: pointer;
  min-height: 44px; padding: 0 12px; border-radius: 99px;
}
.clear-btn:hover { color: var(--ink); background: rgba(48,57,65,.06); }

.lock-clock {
  position: absolute; top: 16%; left: 0; right: 0; text-align: center; color: #fff; z-index: 2;
  font: 300 clamp(30px, 26cqi, 80px)/1 var(--text); letter-spacing: -0.02em;
}
.lock-date { position: absolute; top: 11%; left: 0; right: 0; text-align: center; color: #fff; z-index: 2; font: 600 clamp(9px, 5cqi, 15px)/1 var(--text); }
.notif {
  position: absolute; top: 37%; left: 6%; right: 6%; z-index: 2;
  display: flex; gap: 10px; align-items: center; padding: 4.5cqi;
  border-radius: 7cqi; background: rgba(255,255,255,.92); color: var(--ink);
  font: 650 clamp(9px, 5.2cqi, 15px)/1.25 var(--text);
  box-shadow: 0 8px 24px rgba(48,57,65,.12);
}
.notif i { flex: none; width: 11cqi; height: 11cqi; border-radius: 3cqi; background: var(--coral); display: grid; place-items: center; }
.notif i svg { width: 60%; height: 60%; }
.notif small { display: block; font-weight: 500; color: var(--ink-soft); }
[data-notif='hidden'] { opacity: 0; transform: translateY(-14px); }
.notif { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }

.pitch {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); z-index: 4;
  width: min(500px, 40vw); padding: clamp(24px, 3vw, 40px) clamp(22px, 3.2vw, 44px);
  background: var(--paper); border-radius: 32px; text-align: center;
  box-shadow: 0 28px 70px rgba(48, 57, 65, .16);
}
.pitch h1 { font-size: clamp(34px, 3.9vw, 58px); }
.pitch h1 em { font-style: normal; color: var(--coral); }
.pitch p { margin: 16px auto 24px; max-width: 420px; color: var(--ink-soft); font-size: clamp(16px, 1.35vw, 19px); }
.pitch .stores { justify-content: center; }
@media (max-width: 1000px) {
  .hero { padding-top: 12px; }
  .hero { min-height: 0; }
  .hero-grid { row-gap: 0; }
  .pitch { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; margin: 20px auto 0; width: 100%; }
}

/* ---------------------------------------------------------------- Sections */

.section { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.section-head { position: relative; z-index: 1; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 96px); text-align: center; }
/* La couture s'interrompt derrière les titres, puis reprend */
.mirror .section-head { padding: 28px 24px; background: linear-gradient(90deg, var(--paper) 50%, var(--blush) 50%); }
@media (max-width: 860px) { .mirror .section-head { background: var(--paper); padding: 0 0 0 16px; } }
.section-head h2 { font-size: clamp(36px, 5vw, 68px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 20px); }

/* Rangées miroir : à gauche ce que vous faites, à droite ce que l'autre voit */
.rows { position: relative; z-index: 1; display: grid; gap: clamp(72px, 10vw, 140px); }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.row > div { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding: 0 clamp(16px, 4vw, 64px); }
.row > div:last-child { grid-template-columns: 1fr auto; }
.row > div:last-child .row-copy { text-align: right; order: -1; }
.row .phone { --w: clamp(120px, 13vw, 190px); }
.row h3 { font-size: clamp(24px, 2.4vw, 34px); }
.row p { margin-top: 10px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 40px; }
  .row > div, .row > div:last-child { grid-template-columns: auto 1fr; padding: 0; }
  .row > div:last-child .row-copy { text-align: left; order: 0; }
  .rows .mirror-note { display: none; }
}
@media (max-width: 860px) {
  .section.mirror { background: var(--paper); }
  .section.mirror::before { left: 0; margin-left: 0; width: 4px; }
  .row > div:last-child { padding: 28px; background: var(--blush); border-radius: var(--radius); }
}

/* Mini-écrans des rangées */
.mini-tools { position: absolute; right: 6%; top: 24%; display: grid; gap: 4cqi; padding: 4cqi; border-radius: 6cqi; background: #fff; }
.mini-tools span { width: 11cqi; height: 11cqi; border-radius: 3.5cqi; background: var(--blush); }
.mini-tools span.on { background: var(--coral); }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 1.4cqi; background: #fff; }
.collage img, .history img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home { position: absolute; inset: 0; background: url('../img/demo/w5.svg') center / cover; }
.widget {
  position: absolute; left: 8%; top: 16%; width: 52%; aspect-ratio: 1; border-radius: 9cqi; overflow: hidden;
  background: url('../img/demo/w2.svg') center 40% / cover; box-shadow: 0 6px 16px rgba(0,0,0,.22); border: 1.5cqi solid #fff;
}
.widget b { position: absolute; left: 0; right: 0; bottom: 0; padding: 3cqi 5cqi; background: rgba(48,57,65,.72); color: #fff; font: 800 6.5cqi/1 var(--display); }
.apps { position: absolute; left: 6%; right: 6%; bottom: 5%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4cqi; padding: 4cqi; border-radius: 9cqi; background: rgba(255,255,255,.35); }
.apps span { aspect-ratio: 1; border-radius: 5cqi; display: grid; place-items: center; }
.apps span:nth-child(1) { background: #3f8f6b; } .apps span:nth-child(2) { background: #3e7cb1; }
.apps span:nth-child(3) { background: #303941; } .apps span:nth-child(4) { background: #dc5969; }
.apps svg { width: 55%; height: 55%; }
.history { position: absolute; inset: 12% 7% 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; align-content: start; }
.history img { aspect-ratio: 9 / 16; height: auto; border-radius: 4cqi; }
.capsule {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4cqi; text-align: center;
  background: var(--ink); color: #fff; padding: 10cqi;
}
.capsule svg { width: 26cqi; height: 26cqi; }
.capsule b { font: 800 8cqi/1.1 var(--display); }
.capsule small { font-size: 5.5cqi; opacity: .8; }

/* ---------------------------------------------------------------- Vie privée (aplat corail) */

/* Construit comme le reste du site : ce qui traverse la couture, et ce qui reste de votre côté */
.private { background: var(--coral-deep); color: #fff; }
.private .section-head p { color: #fff; }
.cross { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.cross h3 { font: 800 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 16px; }
.cross-side .cross-big { font: 800 clamp(30px, 3.4vw, 46px)/1.04 var(--display); letter-spacing: -0.03em; margin-bottom: 16px; }
.cross-side p { color: #fff; font-size: 17px; }
.cross-seam { position: relative; align-self: stretch; min-height: 260px; }
.cross-seam::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--seam); margin-left: calc(var(--seam) / -2); background: rgba(255,255,255,.9); }
.cross-chip {
  position: absolute; left: 50%; top: 50%; width: 52px; aspect-ratio: 9 / 19.5; border-radius: 10px;
  transform: translate(-50%, -50%) rotate(-6deg); border: 3px solid #fff;
  background: url('../img/demo/w2.svg') center / cover; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.kept { list-style: none; margin: 0; padding: 0; }
.kept li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.4); font-size: 17px; }
.kept li:last-child { border-bottom: 1px solid rgba(255,255,255,.4); }
.kept b { font-weight: 750; }
.cross-foot { max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; font-size: clamp(17px, 1.4vw, 19px); }
@media (max-width: 860px) {
  .cross { grid-template-columns: 1fr; }
  .cross-seam { min-height: 120px; }
  .cross-seam::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: var(--seam); margin: -2px 0 0; }
}

/* ---------------------------------------------------------------- Téléchargement */

.download-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; margin: 0 auto; }
.platform { padding: 0 clamp(16px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; }
.platform h3 { font-size: clamp(30px, 3.4vw, 46px); }
.platform > p { color: var(--ink-soft); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; min-height: 34px; padding: 5px 0 0 48px; }
.steps li::before {
  position: absolute; left: 0; top: 0;
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--coral); color: var(--coral-deep); font: 800 15px/1 var(--display);
}
.note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .download-grid { grid-template-columns: 1fr; gap: 28px; }
  .platform { padding: 0; }
  .platform + .platform { padding: 28px; background: var(--blush); border-radius: var(--radius); }
}

/* ---------------------------------------------------------------- Questions */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font: 800 clamp(19px, 1.8vw, 23px)/1.25 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; }

/* ---------------------------------------------------------------- Pied de page */

.footer { padding: 56px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; border-top: 2px solid var(--line); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer nav a { color: var(--ink-soft); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer small { color: var(--ink-soft); font-size: 14px; }

/* ---------------------------------------------------------------- Pages de texte (légal) */

.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.doc h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 12px; }
.doc .updated { color: var(--ink-soft); margin-bottom: 40px; }
.doc h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #3f4851; max-width: 70ch; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .todo { background: #fff6d6; padding: 2px 6px; border-radius: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------- Entrée en miroir */

/* Comme l'envoi du premier écran : votre côté apparaît, puis celui de l'autre le reçoit (650 ms) */
.mirror-in > * { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .mirror-in:not(.in) > :first-child { opacity: 0; transform: translateX(-24px); }
.js .mirror-in:not(.in) > :last-child { opacity: 0; transform: translateX(-40px); }
.mirror-in.in > :last-child { transition-delay: .65s; }
.cross-chip { transition: transform .9s var(--ease-out) .3s, opacity .4s .3s; }
.js .cross:not(.in) .cross-chip { opacity: 0; transform: translate(-260%, -50%) rotate(-18deg); }
@media (prefers-reduced-motion: reduce) {
  .js .mirror-in:not(.in) > :first-child, .js .mirror-in:not(.in) > :last-child { opacity: 1; transform: none; }
  .js .cross:not(.in) .cross-chip { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg); }
  .notif, .mirror-in > *, .cross-chip { transition: none; }
}
