/* SORAVAN — static long-form guides (/fr/guides/*). Same palette as cc.css and licence-translation.css. */
:root {
  --bg: #fbf8f3; --bg-alt: #f2ece2; --surface: #ffffff; --text: #1b2431; --text-2: #5a6472;
  --line: rgba(27, 36, 49, 0.1); --line-strong: rgba(27, 36, 49, 0.2);
  --green: #183858; --green-2: #27507a; --green-soft: #e4ecf4; --accent: #d94b2f; --accent-hover: #bd3d23; --accent-soft: #fbe6df;
  --radius: 18px; --radius-sm: 12px; --max: 1160px; --pad: clamp(16px, 4vw, 40px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Outfit", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
a { color: var(--green-2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; }
h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 700; margin-top: 40px; scroll-margin-top: 80px; }
h3 { font-size: 18px; font-weight: 700; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 780px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: 0.22em; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hdr__nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.hdr__nav a:not(.btn) { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { .hdr__nav a.hide-sm { display: none; } }

.crumbs { margin: 22px 0 14px; color: var(--text-2); }
.crumbs a { color: var(--text-2); }
.hero-img { border-radius: var(--radius); overflow: hidden; margin: 0 0 22px; aspect-ratio: 16 / 9; background: var(--bg-alt); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-size: 19px; color: var(--text); }
.meta { font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.toc p { font-weight: 650; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; font-size: 15px; }
.toc li { margin-bottom: 2px; }

.tldr { background: var(--green-soft); border-radius: var(--radius-sm); padding: 16px 20px 16px 36px; }
.note { background: var(--bg-alt); border-left: 3px solid var(--line-strong); padding: 10px 14px; border-radius: 6px; font-size: 15px; }
.check { list-style: none; padding-left: 0; }
.check li { padding-left: 28px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--green-2); font-weight: 700; }
.steps li { padding-left: 4px; }
.tbl-wrap { overflow-x: auto; margin: 0 0 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--green); color: #fff; font-weight: 600; }
.tbl tr.sum td { background: var(--accent-soft); }
.cta-box { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.cta-band { background: var(--green); color: #fff; border-radius: var(--radius); padding: 24px; margin: 40px 0; }
.cta-band h2 { margin-top: 0; color: #fff; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.sources { font-size: 14px; color: var(--text-2); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 16px 0 30px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__b { padding: 14px 16px 18px; }
.card h3 { margin-bottom: 6px; font-size: 17px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card p { font-size: 15px; color: var(--text-2); margin: 0; }

.ftr { border-top: 1px solid var(--line); margin-top: 50px; padding: 28px 0 40px; font-size: 14px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
