/* Resume: light, print-first A4 layout. Recruiters print and photocopy — no dark backgrounds. */
@page { size: a4; margin: 11mm 13mm 12mm; }

:root {
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --rule: #d1d5db;
  --accent: #0f7a52; /* darker green than the site's: ≥ 4.5:1 on white */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 9.4pt/1.36 Inter, system-ui, sans-serif;
}

.resume { max-width: 210mm; margin: 0 auto; padding: 12mm 14mm; }
@media print { .resume { padding: 0; max-width: none; } }

h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; margin: 0; }
a { color: var(--accent); text-decoration: none; }
p { margin: 0; }
ul { margin: 2pt 0 0; padding-left: 12pt; }
li { margin-bottom: 0.8pt; }

.r-head { border-bottom: 2pt solid var(--accent); padding-bottom: 6pt; margin-bottom: 8pt; }
.r-head h1 { font-size: 22pt; line-height: 1.1; }
.r-headline { font-size: 11.5pt; font-weight: 600; margin-top: 2pt; }
.r-roles { color: var(--accent); font-size: 9pt; margin-top: 2pt; }
.r-contact { font-size: 9pt; color: var(--ink-2); margin-top: 4pt; }
.r-travel { font-size: 8.5pt; color: var(--muted); }
.r-langs { font-size: 9pt; color: var(--ink-2); margin-top: 2pt; }

.r-section { margin-top: 6.5pt; break-inside: auto; }
.r-section h2 {
  font-size: 9pt; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  border-bottom: 0.75pt solid var(--rule); padding-bottom: 2pt; margin-bottom: 4pt; break-after: avoid;
}

.r-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6pt; list-style: none; padding: 0; }
.r-results li { border: 0.75pt solid var(--rule); border-radius: 4pt; padding: 4pt 6pt; }
.r-results strong { display: block; font-size: 13pt; color: var(--ink); }
.r-results span { display: block; font-size: 8.5pt; color: var(--muted); }

.r-job { margin-bottom: 4.5pt; break-inside: avoid; }
.r-job__top { display: flex; justify-content: space-between; gap: 8pt; align-items: baseline; }
.r-job h3 { font-size: 10.5pt; font-weight: 600; }
.r-dates { font-size: 8.5pt; color: var(--muted); white-space: nowrap; }
.r-org { font-size: 9pt; color: var(--ink-2); font-style: italic; }
.r-note { font-size: 8.5pt; color: var(--muted); margin-top: 1pt; }

.r-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14pt; }
.r-section p + p { margin-top: 2pt; }

/* Certifications: two balanced columns across the full width (half-width wasted a page) */
.r-certs ul { columns: 2; column-gap: 16pt; }
.r-certs li { break-inside: avoid; }

/* French runs ~15% longer; a slightly smaller size keeps it to 2 pages like the English one */
html[lang="fr"] body { font-size: 9pt; line-height: 1.3; }
html[lang="fr"] .r-section { margin-top: 5.5pt; }
