/* Jemoria public website — first-party stylesheet, no external resource (ADR-055 §2).
   Charter « A, clair et sobre » (RFC-032, chosen by the guarantor on 2026-11-10): a white page, an almost black ink and one
   accent, the navy of the logo; thin borders, light shadows, no halo, frosted glass or gradient title; a light and a night
   theme that follow the system, with a toggle (assets/site.js) that does not remember the choice (ADR-048 §3 v1.1: no
   browser storage). System fonts, Inter first where the visitor has it. Page-specific rules live in their own stylesheet. */

/* Light theme. Each text colour is checked against the backgrounds it sits on (WCAG AA, tests/Feature/Assets). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #0b1220;
  --muted: #4b5565;
  --primary: #0b2f7d;
  --primary-hover: #082462;
  --on-primary: #ffffff;
  --accent: #0b2f7d;
  --accent-hover: #082462;
  --on-accent: #ffffff;
  --accent-text: #0b2f7d;
  --link: #3060d0;
  --line: #e6e8ec;
  --field-line: #7a8299;
  --focus: #0b2f7d;
  --pastel: #f6f7f9;
  --pastel-2: #eef2fb;
  --contact-bg: #f6f7f9;
  --contact-line: #e6e8ec;
  --ok: #1b7f4f;
  --no: #b3322b;
  --late: #b3322b;
  --soon: #8a5200;
  --error: #a3261f;
  --error-bg: #fdecea;
  --success-text: #14532d;
  --success-bg: #e6f6ec;
  --warn-bg: #fff3dc;
  --warn-line: #f0c46f;
  --warn-mark: #8a5a00;
  --step-number: #6b7280;
  --launch: #0b2f7d;
  --launch-deep: #0b2f7d;
  --launch-bg: #eef2fb;
  --launch-bg-2: #f6f7f9;
  --launch-line: #d6def0;
  --on-launch: #ffffff;
  --ico-blue: #0b2f7d;
  --ico-green: #0b2f7d;
  --ico-violet: #0b2f7d;
  --banner-text: #4a2f00;
  --banner-bg: #ffe9b0;
  --todo-text: #4a2f00;
  --todo-bg: #ffd666;
  --status-study-text: #4b2fb0;
  --status-study-bg: #ece9ff;
  --status-dev-text: #0b3f9e;
  --status-dev-bg: #e0ecff;
  --status-test-text: #11603b;
  --status-test-bg: #def4e7;
  --status-live-text: #ffffff;
  --status-live-bg: #1b7f4f;
  --status-pause-text: #6b4500;
  --status-pause-bg: #fff0cc;
  --status-neutral-text: #3d4a63;
  --status-neutral-bg: #e9edf5;
  --sand: #f6f7f9;
  --sand-deep: #e6e8ec;
  --warm: #0b2f7d;
  --warm-deep: #0b2f7d;
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --edge: #e6e8ec;
  --field: #f6f7f9;
  --float-bg: #ffffff;
  --panel: #ffffff;
  --halo-a: transparent;
  --halo-b: transparent;
  --shadow: rgba(11, 18, 32, .08);
  --grad: linear-gradient(90deg, #0b2f7d, #0b2f7d);
  --logo-light: block;
  --logo-dark: none;
  --icon-moon: block;
  --icon-sun: none;
  --head: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --radius: 14px;
}

/* Night theme: the system's choice, unless the toggle chose light; or the toggle's choice. Both blocks stay identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1020;
    --card: #111827;
    --text: #f1f4f9;
    --muted: #a9b3c7;
    --primary: #9db8ff;
    --primary-hover: #c0d1ff;
    --on-primary: #0b1020;
    --accent: #9db8ff;
    --accent-hover: #c0d1ff;
    --on-accent: #0b1020;
    --accent-text: #9db8ff;
    --link: #6286db;
    --line: #253047;
    --field-line: #7d89a8;
    --focus: #9db8ff;
    --pastel: #141c2f;
    --pastel-2: #18223a;
    --contact-bg: #141c2f;
    --contact-line: #253047;
    --ok: #4cc38a;
    --no: #ff8a7a;
    --late: #ff8a7a;
    --soon: #f2c14e;
    --error: #ff8a7a;
    --error-bg: #3a1e24;
    --success-text: #b8f0cf;
    --success-bg: #16352a;
    --warn-bg: #3a2f17;
    --warn-line: #8a6a2a;
    --warn-mark: #f2c14e;
    --step-number: #8f9ab0;
    --launch: #9db8ff;
    --launch-deep: #9db8ff;
    --launch-bg: #141c2f;
    --launch-bg-2: #141c2f;
    --launch-line: #253047;
    --on-launch: #0b1020;
    --ico-blue: #9db8ff;
    --ico-green: #9db8ff;
    --ico-violet: #9db8ff;
    --banner-text: #4a2f00;
    --banner-bg: #ffe9b0;
    --todo-text: #4a2f00;
    --todo-bg: #ffd666;
    --status-study-text: #c9bcff;
    --status-study-bg: #2a2556;
    --status-dev-text: #a9c4ff;
    --status-dev-bg: #1d2c55;
    --status-test-text: #9fe3bd;
    --status-test-bg: #173a2b;
    --status-live-text: #0e1630;
    --status-live-bg: #4cc38a;
    --status-pause-text: #f2c14e;
    --status-pause-bg: #3a2f17;
    --status-neutral-text: #c3cbe0;
    --status-neutral-bg: #263050;
    --sand: #141c2f;
    --sand-deep: #1f2940;
    --warm: #9db8ff;
    --warm-deep: #9db8ff;
    --glass: #111827;
    --glass-strong: #111827;
    --edge: #253047;
    --field: #172033;
    --float-bg: #111827;
    --panel: #111827;
    --halo-a: transparent;
    --halo-b: transparent;
    --shadow: rgba(0, 0, 0, .4);
    --grad: linear-gradient(90deg, #9db8ff, #9db8ff);
    --logo-light: none;
    --logo-dark: block;
    --icon-moon: none;
    --icon-sun: block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1020;
  --card: #111827;
  --text: #f1f4f9;
  --muted: #a9b3c7;
  --primary: #9db8ff;
  --primary-hover: #c0d1ff;
  --on-primary: #0b1020;
  --accent: #9db8ff;
  --accent-hover: #c0d1ff;
  --on-accent: #0b1020;
  --accent-text: #9db8ff;
  --link: #6286db;
  --line: #253047;
  --field-line: #7d89a8;
  --focus: #9db8ff;
  --pastel: #141c2f;
  --pastel-2: #18223a;
  --contact-bg: #141c2f;
  --contact-line: #253047;
  --ok: #4cc38a;
  --no: #ff8a7a;
  --late: #ff8a7a;
  --soon: #f2c14e;
  --error: #ff8a7a;
  --error-bg: #3a1e24;
  --success-text: #b8f0cf;
  --success-bg: #16352a;
  --warn-bg: #3a2f17;
  --warn-line: #8a6a2a;
  --warn-mark: #f2c14e;
  --step-number: #8f9ab0;
  --launch: #9db8ff;
  --launch-deep: #9db8ff;
  --launch-bg: #141c2f;
  --launch-bg-2: #141c2f;
  --launch-line: #253047;
  --on-launch: #0b1020;
  --ico-blue: #9db8ff;
  --ico-green: #9db8ff;
  --ico-violet: #9db8ff;
  --banner-text: #4a2f00;
  --banner-bg: #ffe9b0;
  --todo-text: #4a2f00;
  --todo-bg: #ffd666;
  --status-study-text: #c9bcff;
  --status-study-bg: #2a2556;
  --status-dev-text: #a9c4ff;
  --status-dev-bg: #1d2c55;
  --status-test-text: #9fe3bd;
  --status-test-bg: #173a2b;
  --status-live-text: #0e1630;
  --status-live-bg: #4cc38a;
  --status-pause-text: #f2c14e;
  --status-pause-bg: #3a2f17;
  --status-neutral-text: #c3cbe0;
  --status-neutral-bg: #263050;
  --sand: #141c2f;
  --sand-deep: #1f2940;
  --warm: #9db8ff;
  --warm-deep: #9db8ff;
  --glass: #111827;
  --glass-strong: #111827;
  --edge: #253047;
  --field: #172033;
  --float-bg: #111827;
  --panel: #111827;
  --halo-a: transparent;
  --halo-b: transparent;
  --shadow: rgba(0, 0, 0, .4);
  --grad: linear-gradient(90deg, #9db8ff, #9db8ff);
  --logo-light: none;
  --logo-dark: block;
  --icon-moon: none;
  --icon-sun: block;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  position: relative;
  margin: 0;
  font-family: var(--head);
  font-size: 1.0625rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.measure { max-width: 46rem; }

/* No underline at rest. A text link stays recognisable without colour alone: bold, a colour at 3:1 against the body text, and an underline on hover and keyboard focus. */
a { color: var(--link); font-weight: 600; text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
a:is(:hover, :focus-visible):not(.btn, .brand, .skip, .footer-logo, .also-card) { text-decoration: underline; }
h1 a, h2 a, h3 a { font-weight: inherit; }
/* A paragraph that carries a link is set in the body colour, so the link keeps its 3:1 difference with the text around it. */
:is(p, dd):has(a:not(.btn)) { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible, .shot-scroll:focus-visible, .table-scroll:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip { position: absolute; left: 16px; top: -64px; padding: 10px 14px; background: var(--primary); color: var(--on-primary); border-radius: 8px; z-index: 30; }
.skip:focus { top: 16px; color: var(--on-primary); }

/* Local review marking: never published (production answers 503 instead, ADR-055 §6) */
.review-banner { position: fixed; left: 12px; bottom: 12px; z-index: 25; margin: 0; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 999px; background: var(--banner-bg); color: var(--banner-text); font-size: .8rem; font-weight: 600; box-shadow: 0 4px 14px rgba(20, 33, 61, .18); }
.todo { padding: 0 4px; background: var(--todo-bg); color: var(--todo-text); border-radius: 4px; }

/* « Glass », a name kept from the 2026 redesign: since charter A, an opaque surface with a thin border. */
.glass, .glass-strong { border: 1px solid var(--edge); }
.glass { background: var(--glass); box-shadow: 0 1px 2px var(--shadow); }
.glass-strong { background: var(--glass-strong); }

.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Typography */
h1, h2, h3 { font-family: var(--head); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 42rem; }
.intro { color: var(--muted); max-width: 44rem; margin-bottom: 22px; }
.note { color: var(--muted); font-size: .94rem; }
.cards + .note { margin-top: 20px; }
.kicker { display: block; margin: 0; color: var(--accent-text); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.accent-text { color: var(--accent-text); }
.intro { max-width: 46rem; }
.note { color: var(--muted); font-size: .94rem; }

/* Buttons: the navy one leads, the bordered one follows. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { border-color: var(--edge); background: var(--glass-strong); color: var(--text); }
.btn-secondary:hover { background: var(--card); color: var(--text); }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: .94rem; }
.btn-large { min-height: 56px; padding: 16px 30px; font-size: 1.06rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header: a floating glass bar that stays on screen. */
.site-header { position: sticky; top: 0; z-index: 20; padding: 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav-bar { position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 32px; border-radius: 0; box-shadow: none; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 36px; width: auto; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-block; padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--field); color: var(--accent-text); }
.nav a:is(:hover, :focus-visible) { text-decoration: none; }
.theme-toggle { display: grid; flex: none; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--edge); border-radius: 50%; background: var(--field); color: var(--text); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: var(--icon-moon); }
.icon-sun { display: var(--icon-sun); }
.header-cta { flex: none; }
.cta-short { display: none; }
/* Below a desktop width the links move into a disclosure menu, usable without the script. */
.nav-menu { display: none; position: relative; }
.nav-menu summary { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--edge); border-radius: 50%; background: var(--field); color: var(--text); cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 20px; height: 20px; }
.nav-menu ul { position: absolute; right: -58px; top: calc(100% + 14px); z-index: 2; display: grid; gap: 2px; min-width: 15rem; margin: 0; padding: 10px; list-style: none; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--card); box-shadow: 0 16px 40px var(--shadow); }
.nav-menu ul a { display: block; padding: 11px 14px; border-radius: 14px; color: var(--text); font-weight: 700; text-decoration: none; }
.nav-menu ul a:hover, .nav-menu ul a[aria-current] { background: var(--field); color: var(--accent-text); text-decoration: none; }

/* Menu proposal 2 (RFC-032, lot L5): « Services » opens its three entries under the bar. A <details> works without a
   script; assets/site.js closes it on Escape and on a click outside. The entry of the current service carries
   aria-current; « Services » shows it with a bar under it, never with colour alone. */
.nav-sub { position: relative; }
.nav-sub summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: .95rem; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; }
.nav-sub summary::-webkit-details-marker { display: none; }
.nav-sub summary .ico { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s ease; }
.nav-sub[open] summary .ico { transform: rotate(180deg); }
.nav-sub summary:hover, .nav-sub[open] summary { background: var(--field); color: var(--accent-text); }
.nav-sub summary.is-current { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent-text); }
.nav-sub ul { position: absolute; left: 0; top: calc(100% + 10px); z-index: 3; display: grid; gap: 2px; min-width: 19rem; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--card); box-shadow: 0 16px 40px var(--shadow); }
.nav-sub ul a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; white-space: normal; }
.nav-sub-label { font-weight: 650; }
.nav-sub-hint { color: var(--muted); font-size: .85rem; font-weight: 500; }
.nav-sub ul a:hover .nav-sub-hint, .nav-sub ul a[aria-current] .nav-sub-hint { color: inherit; }
.nav-menu-group > span { display: block; padding: 10px 14px 4px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nav-menu ul ul { position: static; min-width: 0; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }

/* Calls to action of a page head, and the photograph beside the head when the page has one (the head itself: assets/home.css,
   assets/pages.css; since RFC-032 lot L4 no page carries a pill, a pulsing dot or a gradient title). */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassure { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.hero-photo { position: relative; height: 420px; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 20px 50px var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; max-width: 80%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: .9rem; font-weight: 600; line-height: 1.4; box-shadow: 0 8px 20px var(--shadow); }
.caption { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }

/* Sections */
.section { padding: 64px 0; }
.block { padding: 88px 0 0; }
.block-head h2, .block > .wrap > h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; }
.block .kicker + h2 { margin-top: 10px; }
.block .lead { margin: 16px 0 0; max-width: 46rem; }
.fine { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
/* A pictogram in a rounded square marks a section title. */
h2:has(.marker) { display: flex; align-items: center; gap: 14px; }
.marker { display: grid; flex: none; place-items: center; width: 46px; height: 46px; margin: 0; border-radius: 14px; background: var(--accent); color: var(--on-accent); }
.marker .ico { width: 24px; height: 24px; }

/* Numbered steps: the number shares the title's line, the text runs below; the cards of a row line up. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; align-items: center; gap: 10px 12px; padding: 24px; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--glass); counter-increment: step; }
/* The step number is decorative (an empty text alternative): the order of the list carries it. */
.steps li::before { content: counter(step, decimal-leading-zero) / ""; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85rem; font-weight: 800; }
@supports (grid-template-rows: subgrid) {
  .steps li { grid-row: span 2; grid-template-rows: subgrid; }
}
.steps h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.steps p { grid-column: 1 / -1; align-self: start; margin: 0; color: var(--muted); font-size: .95rem; }

.ico { width: 26px; height: 26px; flex: none; }
/* A pictogram tile: navy on a pale blue, as on the service pages (charter A, RFC-032 lot L4). */
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--pastel-2); color: var(--accent-text); }
.tile-ico .ico { width: 22px; height: 22px; }

/* Cards: glass panels. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 26px 24px; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 1px 0 var(--edge); transition: transform .25s, box-shadow .25s; }
.card:has(a):hover { transform: translateY(-4px); box-shadow: 0 18px 44px var(--shadow), inset 0 1px 0 var(--edge); }
.card h3 { margin-top: 12px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent-text); }
/* A card that is one link: the title link stretches over the whole card (one link, named by the title). */
.card-link { position: relative; }
.card-link :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link :is(h2, h3) a:focus-visible { outline: none; }
.card-link:has(:is(h2, h3) a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link:hover { cursor: pointer; }
.card-link:hover :is(h2, h3) a { color: var(--accent-text); text-decoration: underline; }
.card p { margin: 0; color: var(--muted); }

/* A public status, with its dot. */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 800; line-height: 1.4; background: var(--status-neutral-bg); color: var(--status-neutral-text); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-studying { background: var(--status-study-bg); color: var(--status-study-text); }
.status-in-development { background: var(--status-dev-bg); color: var(--status-dev-text); }
.status-seeking-testers { background: var(--status-test-bg); color: var(--status-test-text); }
.status-available { background: var(--status-live-bg); color: var(--status-live-text); }
.status-paused { background: var(--status-pause-bg); color: var(--status-pause-text); }
.status-stopped, .status-neutral { background: var(--status-neutral-bg); color: var(--status-neutral-text); }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; margin-bottom: 8px; padding-left: 30px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: calc((1.45em - 19px) / 2); width: 19px; height: 19px; border-radius: 50%; }
.ticks li::after { content: ""; position: absolute; }
.ticks-ok li::before { background: var(--accent); }
/* The mark is drawn, not typed: a check and a cross share the same circle and centre in every font. */
.ticks-ok li::after { left: 7px; top: calc((1.45em - 19px) / 2 + 3px); width: 4px; height: 8px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* A neutral marker for conditions and rules: a small dot, no check or cross. */
.ticks-neutral li::before { left: 9px; top: calc((1.45em - 6px) / 2); width: 6px; height: 6px; background: var(--muted); }
.ticks-no li::before { background: var(--no); }
.ticks-no li::after { left: 5px; top: calc((1.45em - 19px) / 2 + 5px); width: 9px; height: 9px; background: linear-gradient(45deg, transparent 40%, var(--on-primary) 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, var(--on-primary) 40% 60%, transparent 60%); }
/* A standalone link (lists, breadcrumb, « more » links) is not in running text: it takes the navy text colour. */
.link-list a, .crumbs a, .more-link { color: var(--accent-text); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list a { display: block; padding: 12px 16px; border: 1px solid var(--edge); border-radius: 16px; background: var(--panel); font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.more-link { font-weight: 700; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "\203A" / ""; margin-right: 8px; }

/* A dark panel, the same in both themes: plain navy, white text, a white main button. */
.dark-panel { position: relative; overflow: hidden; border-radius: 18px; color: #ffffff; background: #0b2f7d; }
/* Zero-specificity children (:where), so that a white form card inside keeps its own colours. */
.dark-panel :where(h2, h3) { color: #ffffff; }
.dark-panel :where(p, li) { color: #e1e8f6; }
.dark-panel :where(.kicker) { color: #c9d4ee; }
.dark-panel :where(a:not(.btn)) { color: #ffffff; }
.dark-panel .btn:focus-visible, .dark-panel a:focus-visible { outline-color: #ffffff; }
.dark-panel .btn-primary { background: #ffffff; color: #0b2f7d; }
.dark-panel .btn-primary:hover { background: #e3e9f6; color: #0b2f7d; }
.dark-panel .btn-secondary { border-color: rgba(255, 255, 255, .45); background: transparent; color: #ffffff; }
.dark-panel .btn-secondary:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }

/* A white card on a dark panel keeps the light theme's colours, whatever the page's theme. */
.light-surface { color-scheme: light; --text: #10192f; --muted: #4a5670; --card: #f7f8fb; --line: #d9dfeb; --field-line: #7a8299; --link: #3060d0; --accent-text: #0b2f7d; --focus: #0b2f7d; --primary: #0b2f7d; --on-primary: #ffffff; --error: #a3261f; --error-bg: #fdecea; --success-text: #14532d; --success-bg: #e6f6ec; --warn-bg: #fff3dc; --warn-line: #f0c46f; --warn-mark: #8a5a00; --ok: #1b7f4f; color: var(--text); }
.light-surface .btn-primary { background: #0b2f7d; color: #ffffff; }
.light-surface .btn-primary:hover { background: #082462; color: #ffffff; }
.light-surface .btn:focus-visible, .light-surface a:focus-visible { outline-color: #0b2f7d; }

/* Forms: a white card, on a dark panel that says what happens next. */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding: 52px; }
.form-wrap > div > h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-wrap > div > p { font-size: 1.06rem; line-height: 1.55; }
.next { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: next; }
.next li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .97rem; line-height: 1.5; counter-increment: next; }
.next li::before { content: counter(next) / ""; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff; color: #0b2f7d; font-weight: 800; }
.panel-note { margin: 18px 0 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .08); color: #e1e8f6; font-size: .9rem; }
.dark-panel .panel-note { color: #e1e8f6; }
.form-panel { padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .97); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); scroll-margin-top: 104px; }
.form-panel:focus { outline: none; }
.form-panel h2 { margin: 0 0 4px; color: var(--text); font-size: 1.4rem; }
.form-panel :where(p, li) { color: var(--text); }
.form-panel a { color: var(--link); }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-size: .92rem; font-weight: 700; }
.field-flag { color: var(--muted); font-size: .84rem; font-weight: 500; }
.field .hint { display: block; margin: 0; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--field-line); border-radius: 14px; background: var(--card); color: var(--text); font: inherit; font-size: .97rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); background: #ffffff; }
/* A box the visitor ticks alone; beside the telephone, it sits at the height of the input. */
.field-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--primary); }
.field-check label { font-weight: 600; line-height: 1.45; }
.field-check .hint, .field-check .error-text { grid-column: 2; }
.field-check .error-text { grid-row: 1; }
.field-callback { align-items: end; }
.field-callback .field-check { padding-bottom: 12px; }
/* Several boxes under one question (the description of a need): one legend, the boxes stacked. */
.field-group { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group legend { margin: 0 0 4px; padding: 0; font-size: .92rem; font-weight: 700; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.error-text { margin: 0; color: var(--error); font-weight: 700; font-size: .9rem; }
.error-summary { margin: 0 0 20px; padding: 16px 18px; border: 2px solid var(--error); border-radius: 16px; background: var(--error-bg); color: var(--text); }
.error-summary p { margin: 0 0 8px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 700; }
.error-summary-title { font-weight: 800; color: var(--error); }
.success { padding: 18px 20px; border: 2px solid var(--ok); border-radius: 16px; background: var(--success-bg); color: var(--success-text); }
.success p { margin: 0 0 8px; color: var(--success-text); }
.success p:last-child { margin-bottom: 0; }
.success a { color: var(--success-text); font-weight: 700; }
.success-title { font-size: 1.1rem; font-weight: 800; }
.warn { position: relative; padding: 9px 12px 9px 38px; border: 1px solid var(--warn-line); border-radius: 12px; background: var(--warn-bg); color: var(--text); font-size: .86rem; line-height: 1.45; }
.warn::before { content: "!" / ""; position: absolute; left: 11px; top: 11px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--warn-mark); color: var(--on-primary); font-weight: 800; font-size: .75rem; }
.warn p { margin: 0; }
.form-privacy { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.form .btn { justify-self: start; }
/* The honeypot: out of sight, out of the tab order and hidden from assistive technologies */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* A preview of a fictional example site carries a « Exemple fictif » watermark (decorative: the card says it in text). */
.wm-wrap { position: relative; overflow: hidden; }
.wm-wrap picture { display: block; height: 100%; }
.wm-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.wm-wrap::after { content: "Exemple fictif" / ""; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: clamp(.8rem, 1.6vw, 1.2rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 1px 10px rgba(0, 0, 0, .35); transform: rotate(-18deg); pointer-events: none; }

/* Footer: the logo, one line on what Jemoria does, the site map and the site's promises (charter A: a modest logo). */
.site-footer { margin-top: 88px; padding: 56px 0 32px; border-top: 1px solid var(--edge); font-size: .95rem; }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 44px; width: auto; max-width: 100%; }
.footer-tagline { margin: 14px 0 0; font-size: 1.02rem; font-weight: 600; }
/* The base town under the tagline, in secondary text (the guarantor, 2026-11-19). */
.footer-base { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; margin-top: 32px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 4px 32px; }
.footer-links a { display: inline-block; padding: 3px 0; }
/* Footer links read as a list, not as running text: no permanent underline; hover and keyboard focus show it. */
.site-footer a { color: var(--text); font-weight: 400; }
.site-footer .footer-note a { font-weight: 700; }
.footer-note p { margin: 0 0 6px; color: var(--muted); word-break: break-word; }
/* Jemoria's Instagram link: Instagram's official gradient glyph, in colour in both themes (the guarantor's review of
   12 November 2026), at its 29 px minimum with space around it (assets/instagram/INSTAGRAM.txt). */
.instagram-link { display: inline-flex; align-items: center; gap: 15px; }
.instagram-glyph { flex: none; width: 29px; height: 29px; }
.footer-note .instagram-link { margin: 6px 0; }
/* Jemoria's Facebook Page: Facebook's official logo, unmodified and alone, no word beside it, 29 px wide with half a logo of
   space from any other content, as Meta's guidelines require (assets/facebook/FACEBOOK.txt). */
.facebook-link { display: inline-block; }
.facebook-logo { display: block; width: 29px; height: 29px; }
.footer-note .facebook-line { margin: 15px 0; }
.social-line { margin: 18px 0 0; color: var(--muted); }
.social-line .instagram-link { color: var(--accent-text); }
/* The two logos alone, side by side (the guarantor's review of 12 November 2026), half a logo (15 px) apart. */
.social-links { display: inline-flex; align-items: center; gap: 15px; vertical-align: middle; }
.social-links .instagram-link { gap: 0; margin: 0; }
.footer-note .social-line { margin: 12px 0; }
/* Local review only: the marking pill never hides the last footer line. */
body:has(.review-banner) .site-footer { padding-bottom: 72px; }

/* Error pages */
.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-box { padding: 48px 0; }
.error-box .brand img { height: 44px; margin-bottom: 28px; }
.error-box .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, max-content)); }
}

/* Five links in the bar (the « Fiche Google » entry, 2026-11-01): between the menu breakpoint and 1140 px, tighter links and the short call to action keep them on one line. */
@media (min-width: 981px) and (max-width: 1140px) {
  .nav a, .nav-sub summary { padding: 8px 10px; font-size: .9rem; }
  .nav-sub ul a { padding: 10px 14px; }
  .header-cta .cta-long { display: none; }
  .header-cta .cta-short { display: inline; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-menu { display: block; margin-left: auto; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-row: auto; grid-template-rows: auto auto; }
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cards, .field-row { grid-template-columns: 1fr; }
  .field-callback .field-check { padding-bottom: 0; }
  .section { padding: 44px 0; }
  .footer-links { grid-template-columns: 1fr; }
}

/* A phone: a 16 px gutter, a tighter bar and a short call to action. */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  html { scroll-padding-top: 88px; }
  .site-header { padding: 0; }
  .nav-bar { gap: 8px; padding: 10px 16px; }
  .brand img { height: 30px; }
  .header-cta { padding: 9px 14px; font-size: .9rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-menu ul { right: -50px; }
  .footer-logo img { height: 36px; }
  .site-footer { margin-top: 56px; padding-top: 40px; }
  .hero-photo { height: 280px; }
  .block { padding-top: 56px; }
  .ctas .btn { width: 100%; white-space: normal; }
  .dark-panel { border-radius: 28px; }
  .form-wrap { padding: 26px 16px; gap: 24px; }
  .form-panel { padding: 20px 16px; border-radius: 22px; }
}

@media (max-width: 420px) {
  h2:has(.marker) { gap: 10px; }
  .marker { width: 40px; height: 40px; }
  .btn-small { padding: 8px 12px; font-size: .88rem; }
  .actions .btn { width: 100%; }
  .review-banner { left: 8px; bottom: 8px; padding: 3px 10px; font-size: .72rem; }
}

/* Reduced motion: no lift, no animation at all. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active, .card:has(a):hover { transform: none; }
}
