:root {
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --beige: #f1e3d0;
  --brown: #5d4334;
  --ink: #211812;
  --gold: #b68a3d;
  --line: #ddcbb5;
  --content: 1180px;
  --reading: 680px;
}

html { background: var(--cream); }
body { margin: 0; padding: 0 !important; overflow-x: hidden; background: var(--cream); color: var(--ink); }
main, .site-topbar { width: 100%; max-width: none !important; box-shadow: none !important; }
main { overflow: visible; background: var(--cream); }
.site-topbar { background: rgba(255, 253, 248, .97); border-color: var(--line); backdrop-filter: blur(12px); }
.paper { border-bottom: 1px solid var(--line); background: transparent; }
.pad { padding: 64px 26px; }

.paper h1, .paper h2, .paper h3 { color: var(--ink); }
.paper h1 { max-width: 12ch; }
.paper h2 { max-width: 16ch; }
.paper p { max-width: var(--reading); color: #40342c; font-size: 1rem; line-height: 1.68; }
.eyebrow { color: var(--brown); font-size: .72rem; line-height: 1.55; }

.hero { background: var(--paper); }
.hero-copy { padding-top: 64px; padding-bottom: 50px; }
.hero .intro { max-width: 32rem; color: #65564c; }
.black-button { box-shadow: 0 8px 22px rgba(43, 29, 19, .13); }
.hero-envelope { padding: 0; background: #fff; }
.hero-envelope img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

.promises { padding: 30px 28px 34px; background: #f8edde; }
.promise { grid-template-columns: 48px 1fr; gap: 15px; min-height: 70px; }
.promise > .mail-icon { width: 40px; height: 40px; margin: auto; filter: none; }
.promise p { margin: 0; color: var(--brown); font-size: .73rem; line-height: 1.55; }

.concept, .chapter-one, .bureau, .arrival, .passport, .recognition { background: var(--paper); }
.concept .pad, .chapter-one .pad, .bureau > .pad, .arrival > .pad, .passport > .pad, .recognition > .pad { padding-top: 70px; padding-bottom: 56px; }
.concept h2, .chapter-one h2, .bureau h2, .arrival h2, .passport h2, .recognition h2 { margin-bottom: 26px; }
.concept p, .chapter-one p, .bureau p, .arrival > .pad > p, .passport p, .recognition p { margin-top: 0; margin-bottom: 18px; }

.concept-scene, .office-scene, .building-figure, .dossier-photo, .passport-figure, .cat-crop {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.concept-scene img, .office-scene img, .building-figure img, .dossier-photo img, .passport-figure img, .cat-crop img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0;
  box-shadow: none;
}
.concept-scene, .building-figure, .dossier-photo, .cat-crop { width: 100%; margin: 0; }
.office-scene { margin-bottom: 44px; }

.poudlard { position: relative; min-height: 390px; margin: 0; padding: 66px 26px 150px; border-left: 0; border-right: 0; background: #f3e5d3 !important; box-shadow: none; }
.poudlard h2 { max-width: 19ch; margin-bottom: 20px; font-size: 2.15rem; }
.poudlard p:not(.eyebrow) { font-size: 1rem; }
.postal-mark { right: 24px; bottom: 36px; width: min(190px, 52vw); height: auto !important; filter: none; }

.internal-note { max-width: 520px; margin-top: 34px; padding: 22px 24px; border: 1px solid #d7bd99; background: #f0dfc8; box-shadow: 6px 7px 0 rgba(141, 98, 55, .07); transform: rotate(-.25deg); }
.internal-note p { margin: 12px 0 7px; font-size: .82rem; line-height: 1.5; }

.corridor { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 52px 26px !important; background: #fbf1e3 !important; text-align: center; }
.corridor h3, .corridor p { max-width: 600px; margin-left: auto; margin-right: auto; }
.corridor h3 { margin-bottom: 10px; }

.entry-file { margin-top: 30px; padding: 24px 20px 16px; border: 1px solid #d2b997; background: var(--paper); box-shadow: 0 10px 28px rgba(72, 45, 28, .06); }
.file-title { margin: 0 0 8px !important; text-align: center; }
.entry-file > div { display: block; min-height: 0; padding: 18px 2px; }
.entry-file > div + div { border-top: 1px solid #e8ddcd; }
.entry-file > div > .mail-icon, .entry-file > div > .object-mini { display: none; }
.entry-file b { font-size: .95rem; }
.entry-file small { margin-top: 5px; font-size: .84rem; line-height: 1.45; }

.monthly, .faq, .join, .secret { padding: 68px 26px; }
.monthly { background: #fff !important; }
.monthly h2, .faq h2 { max-width: 15ch; }
.ticket-figure { margin: 30px 0 8px; }
.ticket-figure img { display: block; width: 100%; height: auto !important; object-fit: contain !important; }
.number-list { margin: 30px 0 26px; border-color: var(--line); background: var(--paper); box-shadow: none; }
.number-list > div, .number-list span { border-color: var(--line); }
.number-list > div { min-height: 66px; }
.number-list strong { color: #9b7139; font-size: 1.1rem; }
.number-list span { padding: 12px 15px; font-size: .84rem; line-height: 1.4; }

.secret { margin: 0; border-left: 0; border-right: 0; background: var(--beige) !important; text-align: center; }
.secret > .eyebrow, .secret > h2, .secret > p { margin-left: auto; margin-right: auto; text-align: center; }
.secret > h2 { max-width: 19ch; }
.secret > p { max-width: 620px; }
.confidential { max-width: 430px; margin: 34px auto 0; padding: 26px 20px; background: rgba(255, 253, 248, .62); text-align: center; box-shadow: none; }
.confidential .mail-icon { width: 40px; height: 40px; }

.passport-figure { width: 100%; margin: 0; padding: 24px 0 38px; overflow: visible; background: #decfbc; text-align: center; }
.passport-figure figcaption { max-width: 520px; margin: 14px auto 0; padding: 0; color: #654f40; font-size: .82rem; line-height: 1.5; text-align: center; }
.recognition { background: var(--paper); }
.cat-crop { background: var(--paper); }
.cat-crop img { mix-blend-mode: normal; }

/* Le chapitre forme un seul ensemble centré au-dessus du billet. */
.monthly-copy {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.monthly-copy > .eyebrow,
.monthly-copy > h2,
.monthly-copy > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-list { max-width: 760px; margin-top: 32px; border-color: var(--brown); }
.faq-list details { border-color: var(--line); }
.faq-list summary { padding: 17px 34px 17px 0; font-size: .95rem; line-height: 1.45; }
.faq-list details p { font-size: .92rem; }
.faq-list details[open] { margin: 0; padding: 0; background: transparent; }

.join { background: #efe0cc !important; text-align: center; }
.join > .eyebrow, .join > h2, .join > p { margin-left: auto; margin-right: auto; text-align: center; }
.join > h2 { max-width: 15ch; }
.join > p:not(.eyebrow) { max-width: 520px; }
.price-card { max-width: 360px; margin: 34px auto 0; padding: 26px 22px; border-color: #b49570; background: var(--paper); box-shadow: 0 14px 36px rgba(67, 42, 25, .10); text-align: center; }
.price-card button { box-shadow: none; }
.price-card .price-cta { display: block; width: 100%; margin-top: 8px; padding: 13px 10px; border-radius: 3px; background: var(--ink); color: #fff; font: 500 .72rem "DM Sans", sans-serif; text-decoration: none; }
.cta-pair { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 25px; }
.cta-pair .black-button, .cta-pair .outline-button { flex: 0 0 auto; margin-top: 0; }
.subscribe-link { display: inline-block; padding: 7px 5px 5px; border-bottom: 3px solid #d8b99d; color: var(--ink); font: 600 1.08rem/1.2 "Shantell Sans", cursive; text-decoration: none; transform: rotate(-1deg); }
.subscribe-link:hover { border-bottom-color: var(--brown); }
@media (max-width: 520px) { .cta-pair { align-items: flex-start; flex-direction: column; gap: 14px; } .subscribe-link { font-size: 1rem; } }

@media (min-width: 801px) {
  .site-topbar { position: sticky; top: 0; z-index: 20; }
  .hero, .promises, .concept, .poudlard, .chapter-one, .bureau, .arrival, .monthly, .secret, .passport, .recognition, .faq, .join {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 650px; align-items: stretch; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 88px clamp(54px, 6vw, 88px); }
  .hero-envelope { display: flex; align-items: center; justify-content: center; padding: 0; }
  .hero-envelope img { width: 100%; }
  .paper h1 { max-width: 10ch; font-size: clamp(3.8rem, 5.3vw, 5.6rem); }
  .paper h2 { font-size: clamp(2.7rem, 4vw, 4.1rem); }
  .paper p { font-size: 1.04rem; line-height: 1.72; }
  .promises { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 34px 38px; }
  .promise { display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; min-width: 0; padding: 4px 8px; text-align: center; }
  .promise > .mail-icon { width: 42px; height: 42px; margin: 0 auto; }
  .promise p { margin-left: auto; margin-right: auto; font-size: .7rem; text-align: center; }
  .concept, .chapter-one, .bureau, .arrival, .passport, .recognition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .concept .pad, .chapter-one .pad, .bureau > .pad, .arrival > .pad, .passport > .pad, .recognition > .pad { padding: clamp(82px, 8vw, 132px) clamp(54px, 8vw, 144px); }
  .concept-scene, .office-scene, .building-figure, .dossier-photo, .cat-crop { width: auto; margin: 0; }
  .concept-scene { justify-self: stretch; align-self: end; padding: 50px 8vw 0 3vw; }
  .concept-scene img { max-height: 780px !important; }
  .office-scene { align-self: center; display: block; background: transparent; }
  .office-scene img { width: 100%; }
  .building-figure { grid-column: 1; grid-row: 1; justify-self: center; padding: 48px clamp(42px, 7vw, 120px); background: transparent; }
  .building-figure img { max-height: 760px !important; }
  .bureau > .pad { grid-column: 2; }
  .arrival .dossier-photo { grid-column: 2; grid-row: 1; align-self: center; display: block; padding: 0; background: transparent; }
  .entry-file { max-width: 520px; }
  .poudlard { min-height: 460px; padding: 100px clamp(70px, 11vw, 190px) 130px; }
  .poudlard h2 { font-size: clamp(3rem, 4.6vw, 4.7rem); }
  .postal-mark { right: 68px; bottom: 54px; width: 230px; }
  .monthly, .secret, .faq, .join { width: 100%; padding: 100px clamp(64px, 12vw, 210px); }
  .monthly-copy, .monthly-end, .faq > .eyebrow, .faq > h2, .faq-list, .join > .eyebrow, .join > h2, .join > p, .price-card { margin-left: auto; margin-right: auto; }
  .monthly-copy, .monthly-end { max-width: 980px; }
  .monthly-copy > p { max-width: 720px; }
  .ticket-figure { width: min(100%, 1180px); margin: 48px auto 22px; background: #fff; }
  .ticket-figure img { max-height: 420px !important; }
  .number-list { display: grid; grid-template-columns: 1fr 1fr; }
  .number-list > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .number-list > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .passport { align-items: stretch; overflow: visible; }
  .passport-figure { width: auto; margin: 0; padding: 34px 0 52px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: #decfbc; overflow: visible; }
  .passport-figure img { width: 100%; height: auto !important; max-height: none !important; }
  .recognition .cat-crop { max-width: 440px; justify-self: center; }
  .price-card { max-width: 430px; padding: 32px 28px; }
}

@media (max-width: 800px) {
  .site-topbar { max-width: none !important; }
  .paper h1 { font-size: clamp(2.65rem, 13vw, 3.3rem); line-height: .98; }
  .paper h2 { font-size: clamp(2.05rem, 9.5vw, 2.65rem); line-height: 1.02; }
  .concept-scene { max-width: 420px; margin-left: auto; margin-right: auto; }
  .building-figure { max-width: 430px; margin-left: auto; margin-right: auto; }
  .dossier-photo { max-width: 620px; margin-left: auto; margin-right: auto; }
  .cat-crop { max-width: 430px; margin-left: auto; margin-right: auto; }
  .price-card { max-width: 330px; }
  .traveler-scene { background: transparent; padding-top: 28px; }
  .traveler-scene img { max-height: 610px !important; }
  .ticket-figure { margin-left: -10px; margin-right: -10px; }
  .office-scene, .dossier-photo { background: transparent; overflow: visible; }
  .office-scene img, .dossier-photo img, .passport-figure img { width: 100%; height: auto !important; max-height: none !important; }
}
