@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(font0.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;
}
@font-face {
  font-family: 'DM Serif Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(font1.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;
}
@font-face {
  font-family: 'DM Serif Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(font2.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 {
  --ink: #193e32;
  --green: #275141;
  --soft: #526259;
  --paper: #fbfaf5;
  --section: #f2f2e9;
  --rule: #d9ded3;
  --copper: #984927;
  --serif: "DM Serif Text", Georgia, serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #b35728; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1224px, calc(100% - clamp(40px, 10vw, 160px))); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 4; background: white; padding: 12px; }
header { border-bottom: 1px solid var(--rule); }
.head, .foot, .actions, .brand, .mainnav, .feature, .filters, .card-bottom, .card-bottom>span, .panel-top { display: flex; align-items: center; }
.head { min-height: 78px; justify-content: space-between; gap: 20px; }
.brand { gap: 9px; font-weight: 800; font-size: 26px; letter-spacing: -1.75px; white-space: nowrap; }
.brandmark { width: 38px; height: 38px; }
.brand-end { font-weight: 600; }
.brand small { font-size: 13px; letter-spacing: -.5px; margin-left: 2px; color: var(--copper); }
.mainnav { gap: clamp(18px, 2.6vw, 39px); }
.mainnav a, .mainnav button, .saved-button { font-size: 14px; font-weight: 650; }
.mainnav :is(a,button):hover, .foot a:hover, .text-button:hover { color: var(--copper); }
.actions { gap: 12px; }
.bare, .circle, .save, .feature-arrow { display: inline-grid; place-items: center; flex: none; }
.bare { width: 42px; height: 42px; border-radius: 50%; }
.bare:hover { background: var(--section); }
.saved-button, .outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #bbc6ba; padding: 10px 16px; border-radius: 24px; min-height: 41px; }
.saved-button:hover, .outline:hover { background: #e9ecdf; }
#saved-count { font-size: 12px; }
.mobile-menu { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4%; padding-block: clamp(38px, 3.8vw, 56px); }
.hero-copy { padding-left: 2px; }
.hero-copy h1 { margin-top: 0; }
.kicker, .tag, .feature small, .guide-row small { display: flex; gap: 9px; align-items: center; font-size: 11px; font-weight: 750; line-height: 1.35; letter-spacing: 1.55px; text-transform: uppercase; }
h1, h2, h3, .feature strong { font-family: var(--serif); font-weight: 400; }
h1 { margin: 21px 0 19px; font-size: clamp(50px, 5.35vw, 83px); line-height: 1.005; letter-spacing: -.053em; }
h1 em { color: var(--copper); }
.hero-copy p, .guides p { font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 420px; margin: 0; }
.primary { display: inline-flex; gap: 22px; align-items: center; margin-top: 24px; padding: 14px 21px; border-radius: 28px; background: var(--ink); color: white; font-size: 14px; font-weight: 650; }
.primary:hover { background: #315e48; }
.hero-photo { position: relative; min-width: 0; height: clamp(315px, 26.5vw, 403px); border-radius: 19px; overflow: hidden; background: #bba68e; }
.hero-photo>img, .card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo>img { object-position: center 59%; }
.feature { position: absolute; bottom: 16px; left: 16px; right: 16px; padding: 13px 17px; gap: 12px; justify-content: space-between; text-align: left; border: 1px solid #ffffff70; border-radius: 12px; background: #fffcf4f5; }
.feature small { color: var(--soft); font-size: 9px; letter-spacing: 1.2px; }
.feature small i, .tag i { background: currentColor; width: 6px; height: 6px; border-radius: 50%; }
.feature small i { color: var(--copper); }
.feature strong { display: block; margin-top: 3px; font-size: clamp(18px,1.6vw,26px); letter-spacing: -.03em; }
.feature-arrow, .circle { border-radius: 50%; border: 1px solid #c6cebd; width: 35px; height: 35px; }
.feature:hover .feature-arrow, .circle:hover { background: var(--ink); color: white; }
.plans { background: var(--section); border-block: 1px solid var(--rule); padding-block: clamp(36px,3.5vw,57px) clamp(42px,4vw,65px); }
.kicker { color: var(--copper); }
.kicker i { width: 22px; height: 1.5px; background: currentColor; }
h2 { font-size: clamp(35px,3.3vw,54px); letter-spacing: -.052em; line-height: 1.13; margin: 9px 0 16px; }
h2 em { font-weight: 400; }
.filters { gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.filter { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #c9cfc2; padding: 8px 15px; border-radius: 24px; font-size: 13px; font-weight: 600; min-height: 36px; }
.filter .icon { width: 15px; height: 15px; }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter[aria-pressed="false"]:hover { background: #fffdf5; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid #d7dccc; border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 2.05; overflow: hidden; }
.card-media img { transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.save { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: #fffdf5f2; }
.save .icon { width: 16px; height: 16px; }
.save[aria-pressed="true"] { background: var(--ink); color: white; }
.save[aria-pressed="true"] use { fill: currentColor; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 21px 15px; }
.tag { font-size: 10px; color: #366357; letter-spacing: 1.3px; }
.card[data-type="Concours"] .tag { color: #99502d; }
.card[data-type="Près de chez vous"] .tag { color: #695d2c; }
h3 { margin: 9px 0 7px; font-size: clamp(23px,2vw,30px); line-height: 1.12; letter-spacing: -.038em; }
.text-button { font: inherit; letter-spacing: inherit; text-align: inherit; }
.card-body p { margin: 0 0 18px; color: var(--soft); font-size: 14px; line-height: 1.55; }
.card-bottom { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--rule); margin-top: auto; }
.card-bottom>span { gap: 7px; font-size: 12px; font-weight: 600; }
.card-bottom>span .icon { width: 16px; height: 16px; }
.guides { padding-block: clamp(44px,5vw,78px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7%; }
.guides h2 em { color: var(--copper); }
.guides p { max-width: 365px; }
.outline { margin-top: 18px; font-size: 14px; font-weight: 650; }
.guide-row { display: grid; grid-template-columns: 46px 1fr auto; width: 100%; align-items: center; text-align: left; gap: 16px; border-top: 1px solid var(--rule); padding: 17px 0; }
.guide-row:last-child { border-bottom: 1px solid var(--rule); }
.guide-row:hover strong { color: var(--copper); }
.guide-icon { background: #e5eadf; border-radius: 12px; height: 46px; display: grid; place-items: center; }
.guide-row:nth-child(2) .guide-icon { background: #f2dfce; }
.guide-row:nth-child(3) .guide-icon { background: #ebe4cb; }
.guide-row small { font-size: 9px; margin-bottom: 3px; color: var(--soft); }
.guide-row strong { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -.025em; }
footer { background: var(--ink); color: #fbfaf5; }
.foot { gap: 24px; padding-block: 25px; justify-content: space-between; }
.foot .brand { font-size: 23px; }
.foot .brandmark { color: #f3d5a2; background: var(--ink); width: 32px; height: 32px; }
.foot .brandmark path { fill: var(--ink); }
.foot .brand small { color: #edbc92; }
.foot>span, .foot>a:last-child { font-size: 12px; }
dialog { width: min(540px, calc(100% - 32px)); max-height: min(78dvh,760px); overflow-y: auto; padding: 24px 28px 30px; border: 1px solid var(--rule); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 22px 100px #0a211d30; }
dialog::backdrop { background: #0a201cb8; }
body:has(dialog[open]) { overflow: hidden; }
.panel-top { justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 18px; }
#panel-content h2 { font-size: 35px; margin-block: 8px 14px; }
#panel-content p { line-height: 1.65; color: var(--soft); }
#panel-content .source { text-decoration: underline; text-underline-offset: 3px; }
.panel-result { display: block; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.panel-result span { display: block; font-size: 12px; color: var(--soft); margin-bottom: 3px; }
.panel-result:hover { color: var(--copper); }
input[type=search] { width: 100%; border-radius: 10px; border: 1px solid #a9b5a7; padding: 12px; color: var(--ink); margin: 7px 0 13px; }
@media (max-width: 930px) {
  .mainnav { gap: 17px; }
  .mainnav a, .mainnav button { font-size: 13px; }
  .hero { gap: 3%; }
  .cards { gap: 13px; }
  .card-body { padding: 15px; }
}
@media (max-width: 759px) {
  .head { min-height: 66px; gap: 5px; }
  .mainnav { display: none; }
  .mobile-menu { display: inline-grid; }
  .brand { font-size: 22px; gap: 6px; }
  .brandmark { width: 32px; height: 32px; }
  .brand small { font-size: 11px; }
  .actions { gap: 2px; }
  .bare, .saved-button { width: 36px; height: 38px; min-height: 38px; padding: 0; }
  .saved-button { border: none; }
  .saved-button span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  #saved-count { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
  h1 { font-size: clamp(48px,8vw,65px); margin: 15px 0; }
  .hero-copy p { max-width: 460px; }
  .primary { margin-top: 18px; }
  .hero-photo { height: clamp(235px,48vw,330px); }
  .feature { bottom: 10px; left: 10px; right: 10px; padding: 11px 13px; }
  .filters { gap: 6px; }
  .filter { padding: 7px 11px; font-size: 12px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guides { grid-template-columns: 1fr; gap: 25px; }
  .guides h2 br { display: none; }
  .guides h2 em::before { content: ' '; }
  .foot { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; gap: 19px; }
  .card-body { padding: 19px; }
  .guide-row strong { font-size: 19px; }
  .foot { gap: 10px; }
  .foot .brand { width: 100%; margin-bottom: 5px; }
  dialog { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .card-media img { transition: none; }
}
.reading {max-width:760px;min-height:55vh;padding-block:48px 70px}.back{display:inline-block;margin-bottom:34px;color:var(--soft)}.reading h1{font-size:clamp(40px,5vw,68px)}.reading .lead{font-size:21px;color:var(--soft);line-height:1.5}.prose{font-size:17px;line-height:1.75}.prose a,.reading .kicker a{text-decoration:underline}.prose img{max-width:100%;height:auto}.head{flex-wrap:wrap}.mainnav{flex-wrap:wrap}.card-media>a{display:block;height:100%}
