@font-face {
  font-family: 'Rethink Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/rethink-sans-400-700-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;
}
:root {
  --bg: #ffffff; --ink: #1d1f1c; --muted: #5b605a; --accent: #2f5d3a; --accent-hover: #234a2d; --rule: #e7e9e5;
  --font: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sec: 56px; --gutter: 20px;
}
@media (min-width: 800px) { :root { --sec: 88px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--accent-hover); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 640px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1040px; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 8px; }

h1 { font-size: 2.125rem; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: 1.625rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
p { text-wrap: pretty; }
@media (min-width: 800px) { h1 { font-size: 3rem; } }
.lead { font-size: 1.1875rem; line-height: 1.6; }
.small, .op-note, .op-facts, .badges, .strip, .agegate-small { font-size: .875rem; line-height: 1.5; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 6px; font: 600 1rem/1.3 var(--font); text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.textlink { font-weight: 600; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; text-align: left; }

.topbar { border-bottom: 1px solid var(--rule); color: var(--muted); font-size: .875rem; line-height: 1.5; }
.topbar-in { padding-block: 8px; }
.topbar a { color: var(--ink); }
.topbar-age { font-weight: 700; color: var(--ink); }
.topbar-in { display: flex; gap: 10px; }
.topbar-in p { margin: 0; }

.site-header { position: relative; z-index: 10; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.brand img { border-radius: 6px; }
.nav { flex-basis: 100%; }
.nav ul { display: flex; flex-direction: column; padding-bottom: 12px; }
.nav a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; font-size: 1rem; }
.nav a:hover { color: var(--accent); text-decoration: underline; }
.nav a[aria-current="page"] { font-weight: 700; }
.burger { display: none; min-height: 40px; padding: 6px 16px; background: transparent; color: var(--accent); border: 1px solid var(--rule); border-radius: 6px; font: 600 1rem var(--font); cursor: pointer; }
.burger-bars { display: none; }
.js .burger { display: inline-flex; align-items: center; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
@media (min-width: 1040px) {
  .js .burger { display: none; }
  .js .nav, .nav { display: block; flex-basis: auto; }
  .nav ul { flex-direction: row; gap: 18px; padding: 0; }
  .nav a { padding: 6px 0; font-size: .9375rem; }
  .nav-extra { display: none; }
}

.hero { text-align: center; padding-block: 56px 24px; }
.hero .lead { margin-top: 20px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }
@media (min-width: 800px) { .hero { padding-block: 88px 32px; } }

.sec { padding-block: var(--sec) 0; }
.sec > .wrap > h2 + * { margin-top: 24px; }
.intro { color: var(--ink); }

.tools { display: grid; }
.tool { padding-block: 24px; border-top: 1px solid var(--rule); display: grid; gap: 8px; justify-items: start; }
.tool:first-child { border-top: 0; padding-top: 0; }
.tool:last-child { padding-bottom: 0; }

.strip { margin-top: var(--sec); padding-block: 16px; border-block: 1px solid var(--rule); color: var(--muted); }
.strip a { color: var(--muted); }

.ops { display: grid; margin-top: 8px; }
.op { display: grid; grid-template-columns: 36px 1fr; gap: 4px 16px; padding-block: 24px; border-top: 1px solid var(--rule); }
.op:first-child { border-top: 0; }
.op-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.op-body h3 { display: inline; }
.badges { display: block; color: var(--ink); margin-top: 2px; }
.badges li { display: inline; }
.badges li + li::before { content: ' · '; }
.op-facts { display: grid; gap: 2px; margin-top: 8px; color: var(--muted); }
.op-facts div { display: flex; flex-wrap: wrap; gap: 0 .4em; }
.op-facts dd { overflow-wrap: anywhere; }
.op-action { grid-column: 2; margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.op-note { color: var(--muted); }

.panel { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--rule); }
.panel h3, .panel h2 { margin-bottom: 12px; }
.checks, .questions { display: grid; gap: 8px; list-style: disc; padding-left: 1.25rem; }
.checks li, .questions li { padding-left: 4px; }
.checks li::marker, .questions li::marker { color: var(--accent); }
.questions { margin-block: 16px; }

.help { display: grid; gap: 28px; }
.help-col { display: grid; gap: 6px; justify-items: start; }
.phone { font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.phone a { text-decoration: none; }
.money h3 { margin-bottom: 8px; }
.warning { color: var(--muted); font-size: .9375rem; line-height: 1.6; }

.site-footer { margin-top: var(--sec); border-top: 1px solid var(--rule); padding-block: 40px 40px; font-size: .875rem; line-height: 1.55; }
.site-footer .wrap { display: grid; gap: 24px; }
.site-footer h2 { font-size: .9375rem; line-height: 1.4; margin-bottom: 8px; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 4px; }
.foot-brand { font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.foot-promise { font-weight: 600; font-size: 1rem; line-height: 1.5; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 14px; }
.foot-legal { display: grid; gap: 10px; }
.foot-copy { color: var(--muted); }
.foot-warning { color: var(--muted); }
.foot-warning a { color: var(--ink); }

dialog#agegate { border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px; max-width: 460px; width: calc(100% - 32px); background: #fff; color: var(--ink); }
dialog#agegate::backdrop { background: rgba(29, 31, 28, .6); }
dialog#agegate h2 { margin-bottom: 10px; }
.agegate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.agegate-small { margin-top: 18px; color: var(--muted); }

.cookie { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40; background: #fff; border: 1px solid var(--muted); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: .8125rem; line-height: 1.4; max-width: 640px; }
.cookie[hidden] { display: none; }
.cookie .btn { min-height: 40px; padding: 6px 20px; align-self: flex-start; font-size: .9375rem; }
@media (min-width: 700px) { .cookie { flex-direction: row; align-items: center; gap: 20px; left: 24px; bottom: 24px; padding: 16px 20px; font-size: .875rem; } .cookie .btn { flex: none; } }
.sec > .wrap > .panel:only-child { margin: 0; padding: 0; border: 0; }
.sec > .wrap > .panel:only-child h2 { margin-bottom: 0; }
.sec > .wrap > .panel:only-child .intro { margin-top: 24px; }

/* Contrat pages internes (groupe A) : crumbs, page-head, prose, steps, op-list, next, note */
.crumbs { padding-top: 24px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 .4em; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: .4em; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.page-head { padding-block: 16px 0; }
.page-head h1 { margin-bottom: 20px; }
.page-head .lead { margin: 0; }
.prose { padding-block: var(--sec) 0; }
.prose > .wrap > * + * { margin-top: 16px; }
.prose h2 { margin-top: 56px; }
.prose > .wrap > h2:first-child { margin-top: 0; }
.prose h2 + * { margin-top: 16px; }
.prose h3 { margin-top: 28px; }
.prose h3 + * { margin-top: 8px; }
.prose ul:not([class]) { list-style: disc; padding-left: 1.25rem; display: grid; gap: 8px; }
.prose ul:not([class]) li::marker { color: var(--accent); }
.prose dl { display: grid; gap: 14px; }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; }
.steps { list-style: decimal; padding-left: 1.5rem; display: grid; gap: 8px; }
.steps li { padding-left: 6px; }
.steps li::marker { color: var(--accent); font-weight: 600; }
.op-list { display: grid; }
.op-list > .op:first-child { border-top: 0; }
.next { margin-top: var(--sec); padding-top: 24px; border-top: 1px solid var(--rule); }
.next ul { display: grid; gap: 6px; }
.note { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.prose .warning { margin-top: 56px; }

/* Groupe C : aide, à propos, contact, pages légales, cookies */
.prose strong { font-weight: 700; }
.prose .meta { margin-top: -4px; }
.prose ul.links { list-style: disc; padding-left: 1.25rem; display: grid; gap: 8px; }
.prose ul.links li::marker { color: var(--accent); }

.page-head .lead strong { font-weight: 700; }
.prose.after-lead { padding-top: 32px; }

/* Formulaire */
.form { display: grid; gap: 24px; margin-top: 40px; scroll-margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--bg); border: 1px solid var(--muted); border-radius: 6px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #9b1c1c; border-width: 2px; }
.field .hint { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.field .err { font-size: .9375rem; line-height: 1.5; color: #9b1c1c; font-weight: 600; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-left: 4px solid var(--accent); background: #f3f6f2; font-weight: 600; }
.form-status.is-error { border-left-color: #9b1c1c; background: #fbf3f3; }
.form .btn { justify-self: start; }

/* Tableau cookies : liste sur mobile */
.ck { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.ck caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.ck th, .ck td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.ck thead th { font-weight: 600; border-bottom-color: var(--muted); }
.ck code { font: 600 .9375rem/1.4 var(--font); overflow-wrap: anywhere; }
@media (max-width: 719px) {
  .ck thead { position: absolute; left: -10000px; }
  .ck, .ck tbody, .ck tr, .ck th, .ck td { display: block; }
  .ck tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .ck th, .ck td { border: 0; padding: 0; }
  .ck td { margin-top: 4px; }
  .ck td::before { content: attr(data-label) '\00a0:\00a0'; color: var(--muted); }
}
.sr-only { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
