/* Polices hébergées sur le site (licence SIL Open Font License, voir fonts/LICENCES.txt) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

/* Base */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }

/* Étude Jean-François Bouchoms – feuille de style du site www.bobr.lu */
:root {
  --petrol: #1E4954;
  --petrol-line: #3E6670;
  --cream: #F4EFE6;
  --cream-2: #E3DDD1;
  --sand: #E9E2D4;
  --rule: #CFC7B8;
  --gold: #C8A96A;
  --muted: #4A6B73;
  --ink-hover: #0F2C33;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--petrol); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
a { color: var(--petrol); text-underline-offset: 4px; }
a:hover { color: var(--ink-hover); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

/* bands span the width; the gutter lives on .wrap */
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1180px; margin-inline: auto; padding-inline: clamp(0px, 4vw, 64px); }
.narrow { max-width: 1020px; }
.dark { background: var(--petrol); color: var(--cream); }
.dark a { color: var(--cream); }
.dark a:hover { color: var(--cream-2); }

/* header */
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 40px; padding-block: 18px; }
.brand { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding-block: 10px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 14px; display: inline-block; }
.lang { display: flex; align-items: center; gap: 10px; color: var(--cream-2); }
.lang .current { color: var(--cream); font-weight: 600; }
.lang a { color: var(--cream-2); }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 96px; padding-block: clamp(32px, 6vw, 88px) clamp(48px, 8vw, 112px); }
.hero-text { flex: 999 1 380px; min-width: 0; }
.overline { margin: 0 0 26px; font-size: 13px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream-2); }
.name { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.04; color: var(--cream); }
.name .first { display: block; font-style: italic; font-size: clamp(32px, 4vw, 54px); }
.name .last { display: block; font-weight: 600; font-size: clamp(38px, 5.2vw, 74px); letter-spacing: 0.06em; }
.gold-rule { width: 64px; height: 1px; background: var(--gold); margin: 34px 0 26px; border: 0; }
.tagline { margin: 0; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--cream-2); }
.portrait { flex: 0 0 min(320px, 100%); margin: 0; }
.portrait img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border: 1px solid var(--gold); }

/* notice */
.notice { background: var(--sand); }
.notice p { margin: 0; padding-block: 18px; font-size: 14px; line-height: 1.65; }

/* sections */
.section .inner { display: flex; flex-wrap: wrap; gap: 20px 80px; padding-block: clamp(56px, 8vw, 120px); }
.section + .section .inner { border-top: 1px solid var(--rule); }
.section h2 { flex: 1 1 220px; margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1.15; }
.body { flex: 999 1 460px; min-width: 0; max-width: 660px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.75; }
.body p { margin: 0; }
.person { margin-top: 28px; padding-top: 30px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.person h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.2; }
.role { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* contact */
.contact .inner { display: flex; flex-wrap: wrap; gap: 20px 80px; padding-block: clamp(56px, 8vw, 104px); }
.contact h2 { flex: 1 1 220px; margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1.15; color: var(--cream); }
.contact .cols { flex: 999 1 460px; min-width: 0; max-width: 660px; display: flex; flex-wrap: wrap; gap: 28px 64px; font-size: 16px; line-height: 1.8; }
.contact .col { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact p { margin: 0; }
.soft { color: var(--cream-2); }
.tel { text-decoration: none; font-variant-numeric: tabular-nums; }

/* footer */
.site-footer { border-top: 1px solid var(--petrol-line); }
.site-footer .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 12px; font-size: 13px; color: var(--cream-2); }
.site-footer a { color: var(--cream-2); display: inline-block; padding-block: 12px; }
.site-footer p { margin: 0; padding-block: 12px; }

/* legal page */
.legal .inner { padding-block: clamp(48px, 7vw, 104px); }
.legal-body { max-width: 720px; margin-inline: auto; }
.legal h1 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 44px); line-height: 1.15; }
.legal h2 { margin: 38px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.legal p { margin: 0; }
.legal p + p { margin-top: 12px; }
.updated { margin-top: 44px !important; font-size: 14px; color: var(--muted); }
