@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f5efe4;
  --paper-2: #ece3d3;
  --card: #fffaf2;
  --ink: #1d2330;
  --ink-soft: #4a5263;
  --line: #d9cdb8;
  --brick: #a3402a;
  --brick-dark: #7f2f1e;
  --sea: #2e4a5b;
  --sage: #6f7f63;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 35, 48, .06), 0 8px 24px rgba(29, 35, 48, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--brick) 55%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; font-variation-settings: "opsz" 72, "SOFT" 30; margin: 0 0 .5em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap-wide { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand strong { font-weight: 700; color: var(--brick); }
.logo-mark { width: 34px; height: 34px; color: var(--sea); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brick); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 18px; gap: 0; }
  .nav a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Héros */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero { min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 33, .05) 20%, rgba(20, 24, 33, .72) 100%); }
.hero-content { padding: 120px 0 64px; max-width: 820px; margin-left: max(16px, calc((100% - 1200px) / 2)); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; margin-bottom: .3em; text-wrap: balance; }
.hero-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; margin: 0 0 12px; color: #f4d9b8; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 640px; margin: 0 0 28px; opacity: .95; }
.btn { display: inline-block; background: var(--brick); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brick-dark); color: #fff; transform: translateY(-1px); }

.page-hero { min-height: 340px; display: flex; align-items: flex-end; }
.page-hero-content { padding: 90px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255, 255, 255, .9); }

/* Sections */
section { margin-block: 64px; }
.hero, .page-hero { margin-block: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-head h2 a { text-decoration: none; }
.more { font-size: .9rem; font-weight: 600; color: var(--brick); text-decoration: none; white-space: nowrap; }

.grid { display: grid; gap: 32px 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* Cartes */
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29, 35, 48, .06), 0 16px 36px rgba(29, 35, 48, .1); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.kicker { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); }
.kicker a { text-decoration: none; }
.card-title { font-size: 1.3rem; margin: 0 0 10px; text-wrap: balance; }
.card-title a { text-decoration: none; }
.card-excerpt { margin: 0 0 14px; color: var(--ink-soft); font-size: .96rem; }
.meta { margin: auto 0 0; font-size: .82rem; color: var(--ink-soft); }
.card-large { display: grid; grid-template-columns: 1.4fr 1fr; margin-bottom: 36px; }
.card-large .card-media { aspect-ratio: auto; min-height: 360px; }
.card-large .card-body { padding: 36px; justify-content: center; }
.card-large .card-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.card-large .card-excerpt { font-size: 1.08rem; }
@media (max-width: 860px) { .card-large { grid-template-columns: 1fr; } .card-large .card-media { min-height: 0; aspect-ratio: 3 / 2; } .card-large .card-body { padding: 22px; } }

/* Tuiles rubriques */
.rubriques-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rub-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; isolation: isolate; }
.rub-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.rub-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20, 24, 33, .78)); }
.rub-tile span { position: absolute; left: 14px; right: 14px; bottom: 14px; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.rub-tile:hover { color: #fff; }
.rub-tile:hover img { transform: scale(1.06); }
@media (max-width: 980px) { .rubriques-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .rubriques-strip { grid-template-columns: repeat(2, 1fr); } }

.manifesto { background: var(--sea); color: #f3ede2; border-radius: 22px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.manifesto h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.manifesto .prose { color: #e8e1d4; }
.manifesto .prose p:first-child::first-letter { color: #f4d9b8; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; gap: 8px; } }

.rendezvous { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 16px; }
.rendezvous h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic; }
.rendezvous p { max-width: 620px; margin: 0 auto; color: var(--ink-soft); font-size: 1.08rem; }

.rub-intro { max-width: 780px; margin: 40px 0 44px; font-size: 1.12rem; }
.other-rubs { margin: 64px 0; padding: 28px; background: var(--paper-2); border-radius: var(--radius); }
.other-rubs h2 { font-size: 1.3rem; }
.other-rubs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-rubs a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 500; font-size: .94rem; }

/* Fil d'Ariane */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .84rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }

/* Article */
.article-head { padding-top: 44px; }
.article-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-wrap: balance; }
.lede { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); font-style: italic; margin: 0 0 18px; }
.article-figure { margin-top: 32px; margin-bottom: 0; }
.article-figure img { width: 100%; border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; }
.article-figure figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; margin-top: 44px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .9rem; }
.toc summary { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; cursor: pointer; margin-bottom: 10px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0 0 0 18px; color: var(--ink-soft); }
.toc li { margin: 8px 0; }
.toc a { text-decoration: none; }
.toc a.active { color: var(--brick); font-weight: 600; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; width: min(760px, 100% - 32px); }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
  .toc summary { margin: 0; }
  .toc details[open] summary { margin-bottom: 10px; }
}

.prose { font-size: 1.08rem; line-height: 1.75; }
.article-body { font-family: var(--serif); font-size: 1.16rem; font-variation-settings: "opsz" 14; }
.article-body > p:first-of-type { font-size: 1.28rem; line-height: 1.6; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 4.1em; line-height: .82; padding: 6px 10px 0 0; color: var(--brick); font-weight: 700; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--brick); }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--brick); font-style: italic; font-size: 1.22em; color: var(--sea); }
.prose blockquote p { margin: 0; }
.prose strong { font-weight: 650; }

.faq { margin-top: 56px; font-family: var(--sans); }
.faq h2 { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brick); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; font-size: 1rem; color: var(--ink-soft); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--serif); font-weight: 600; background: var(--card); }
.pager a span { display: block; font-family: var(--sans); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brick); margin-bottom: 6px; }
.pager-next { text-align: right; }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager-next { text-align: left; } }

/* Pages simples */
.page { padding: 44px 0 24px; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.sitemap-list ul { margin-top: 6px; }
.page-404 { text-align: center; }
.page-404 ul { list-style: none; padding: 0; }
.big-404 { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; color: var(--brick); font-style: italic; }

/* Pied de page */
.site-footer { background: var(--ink); color: #d8d2c6; margin-top: 80px; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer a { color: #f0ebe1; text-decoration: none; }
.site-footer a:hover { color: #f4d9b8; }
.brand-footer { color: #fff; }
.brand-footer strong { color: #f0b49a; }
.brand-footer .logo-mark { color: #9fb7c4; }
.tagline { max-width: 360px; margin-top: 14px; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 14px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .84rem; color: #a9a397; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .toc, .related, .pager { display: none; } body { background: #fff; } }
