/* ==========================================================================
   ÉDITION · évolution de REGISTRE (maquette, branche da-edition, 23/11/2026)
   Inspirée des sites conçus par Martin (Nordbada, Guide Séminaire) :
   titres en Newsreader (OFL) avec italiques de couleur, vert forêt, sable,
   terre cuite et or, captures arrondies et ombrées, texte courant plus grand.
   Chargée après registre.css : surcharge les jetons et quelques composants.
   ========================================================================== */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: optional;
  src: url(/assets/fonts/newsreader-display-latin.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: "Newsreader"; font-style: italic; font-weight: 400 500; font-display: optional;
  src: url(/assets/fonts/newsreader-display-italic-latin.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: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --calc: #F4EEE3; --paper: #FFFDF9; --sand: #EAE0CE;
  --ink: #16241D; --muted: #4D5951; --line: #E0D6C4;
  --accent: #9A4422; --forest: #1D3A2E; --forest-2: #24463A;
  --on-ink: #F7F1E6; --muted-ink: #C7D2CA; --line-ink: #3B5A4B; --accent-ink: #E3B178;
  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --r: 10px; --r-s: 6px;
  --sh: 0 1px 2px rgba(22, 36, 29, .06), 0 28px 56px -28px rgba(22, 36, 29, .38);
  --sh-h: 0 2px 4px rgba(22, 36, 29, .06), 0 36px 64px -28px rgba(22, 36, 29, .45);
  --read: 64ch;
}

body { font-size: 17px; line-height: 28px; }
::selection { background: var(--forest); color: var(--on-ink); }

/* ----- Typographie ----- */
.t1, .t2, .t3, .t4, .quiz-t, .quiz-rt, .band-t, .mq-n, .quote blockquote, .big, .kv dt, .need .n, .rows .n { font-family: var(--serif); letter-spacing: 0 !important; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.t1, .t2, .t3, .t4 { font-weight: 400; font-variation-settings: "opsz" 72; }
.t1 { font-size: clamp(50px, 5.8vw, 88px); line-height: 1; letter-spacing: -.02em !important; }
.t2 { font-size: clamp(42px, 4.4vw, 66px); line-height: 1.04; }
.t3 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; }
.t4 { font-size: 26px; line-height: 1.18; font-weight: 500; font-variation-settings: "opsz" 36; }
.t1 em, .t2 em, .t3 em, .t4 em { font-style: italic; color: var(--accent); }
.ink .t1 em, .ink .t2 em, .ink .t3 em, .band em, .quiz em { color: var(--accent-ink); }
.t5 { font-size: 19px; line-height: 31px; }
.t6 { font-size: 17px; line-height: 28px; }
.t8 { font-family: var(--sans); font-size: 12px; line-height: 18px; letter-spacing: .14em; font-weight: 600; }
.folio, .folio b { color: var(--accent); }
.ink .folio, .ink .folio b { color: var(--accent-ink); }
@media (max-width: 1199.98px) { .t1 { font-size: clamp(46px, 7vw, 64px); } .t4 { font-size: 25px; } .t5 { font-size: 18px; line-height: 29px; } }
@media (max-width: 767.98px) { .t1 { font-size: 44px; line-height: 1.02; } .t2 { font-size: 38px; } .t3 { font-size: 32px; line-height: 1.1; } .t4 { font-size: 24px; } .t5 { font-size: 17.5px; line-height: 28px; } }

/* ----- Surfaces ----- */
.ink { background: var(--forest); }
.sand { background: var(--sand); }
.sec + .sec:not(.ink):not(.paper) { border-top: 0; }

/* ----- Boutons et liens ----- */
.btn { border-radius: var(--r-s); background: var(--forest); border-color: var(--forest); color: var(--on-ink); height: 54px; padding: 0 26px; font-size: 15px; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--line { background: transparent; color: var(--forest); }
.ink .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--forest); }
.ink .btn:hover { background: var(--on-ink); border-color: var(--on-ink); color: var(--forest); }
.hd .btn { height: 42px; }
.lk { font-size: 15px; }

/* ----- Captures : arrondies et ombrées, plus d'équerres ----- */
.shot { border: 0; border-radius: var(--r); box-shadow: var(--sh); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
a:hover > .shot, a:hover .shot, a.shot:hover { box-shadow: var(--sh-h); }
.frame::before, .frame::after { display: none; }
.portrait { border-radius: var(--r); }

/* ----- Haut de page ----- */
.eyebrow { display: block; font-size: 12px; line-height: 18px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.eyebrow a { color: inherit; }
.hero { padding-top: 72px; padding-bottom: 104px; background: radial-gradient(120% 90% at 85% 0%, #F9F4EA 0%, var(--calc) 55%); }
.hero-h1 { font-size: clamp(52px, 5.6vw, 86px); line-height: 1; max-width: 11ch; letter-spacing: -.025em !important; }
.hero-h1 em { display: block; }
.hero .t5 { margin-top: 28px; max-width: 44ch !important; }
.hero-vis { position: relative; }
.hero-vis .proj .cap { margin-top: 20px; }
.hero-float { position: absolute; left: -28px; bottom: 112px; width: 38%; z-index: 3; }
.hero-float .shot { box-shadow: 0 2px 4px rgba(22, 36, 29, .08), 0 30px 60px -20px rgba(22, 36, 29, .55); border: 4px solid var(--paper); }
.hero-float .chip { position: absolute; left: 12px; bottom: -14px; background: var(--paper); color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(22, 36, 29, .3); white-space: nowrap; }
@media (max-width: 1199.98px) { .hero-float { left: auto; right: 16px; bottom: -28px; width: 38%; } .hero-vis .proj .cap { margin-top: 44px; } }
@media (max-width: 767.98px) { .hero { padding-top: 40px; padding-bottom: 64px; } .hero-h1 { font-size: 46px; } .hero-float { width: 46%; right: 8px; bottom: -20px; } .hero-float .chip { display: none; } }

/* ----- Trois besoins : cartes ----- */
#votre-besoin { background: var(--sand); }
.need { background: var(--paper); border-top: 0; border-radius: 14px; padding: 28px 28px 24px; box-shadow: 0 1px 2px rgba(22, 36, 29, .05); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.need:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.need .n { font-style: italic; font-size: 20px; line-height: 24px; color: var(--accent); }
.need .pr { font-size: 15px; color: var(--forest); }
.need .shot { box-shadow: none; border: 1px solid var(--line); border-radius: 8px; }
.need:hover .t4 { color: var(--accent); }
.rows .n { font-style: italic; font-size: 19px; color: var(--accent); padding-top: 2px; }
#votre-besoin .rows { border-color: rgba(22, 36, 29, .12); }
#votre-besoin .rows li { border-color: rgba(22, 36, 29, .12); }
.needs-note { color: var(--muted); font-weight: 500; }

/* ----- Questionnaire « Votre projet en 3 questions » ----- */
.quiz { margin-top: 56px; background: var(--forest); color: var(--on-ink); border-radius: 18px; overflow: hidden; position: relative; }
.quiz::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 177, 120, .18), transparent); pointer-events: none; }
.quiz-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 48px; position: relative; z-index: 1; }
.quiz .eyebrow { color: var(--accent-ink); }
.quiz-t { font-size: clamp(32px, 3vw, 44px); line-height: 1.1; font-weight: 400; font-variation-settings: "opsz" 72; }
.quiz-p { margin-top: 20px; color: var(--muted-ink); font-size: 15px; }
.quiz-bar { margin-top: 12px; height: 3px; border-radius: 3px; background: var(--line-ink); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 25%; background: var(--accent-ink); transition: width .35s var(--ease); }
.quiz-q { font-size: 15px; font-weight: 600; color: var(--muted-ink); margin-bottom: 16px; }
.quiz-o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quiz-o button { text-align: left; min-height: 64px; padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line-ink); background: rgba(255, 255, 255, .03); color: var(--on-ink); font-size: 16px; line-height: 22px; font-weight: 500; transition: border-color .2s var(--ease), background .2s var(--ease); }
.quiz-o button:hover, .quiz-o button:focus-visible { border-color: var(--accent-ink); background: rgba(227, 177, 120, .08); }
.quiz-s, .quiz-r { animation: qIn .35s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-rt { font-size: 34px; line-height: 1.12; font-weight: 400; font-variation-settings: "opsz" 72; }
.quiz-rp { margin-top: 8px; color: var(--accent-ink); font-weight: 600; }
.quiz-rd { margin-top: 16px; color: var(--muted-ink); max-width: 52ch; }
.quiz-r .acts { margin-top: 28px; }
.quiz-x { margin-top: 20px; font-size: 14px; color: var(--muted-ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023.98px) { .quiz-in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 24px; } }
@media (max-width: 599.98px) { .quiz-o { grid-template-columns: minmax(0, 1fr); } .quiz-rt { font-size: 30px; } }

/* ----- Preuve chiffrée ----- */
.proof .big { font-weight: 400; font-variation-settings: "opsz" 72; font-size: clamp(104px, 11vw, 168px); line-height: .92; letter-spacing: -.03em !important; color: var(--accent); }
.proof .t4 { margin-top: 20px; }
.proof .big { margin-top: 28px; }
.proof .kv { border-color: var(--line); }
.proof .kv dt { font-size: 40px; line-height: 1; font-weight: 400; font-variation-settings: "opsz" 72; color: var(--forest); }
.proof .t4 { font-family: var(--sans); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -.015em; }

/* ----- Vitrine défilante ----- */
.band { background: var(--forest); color: var(--on-ink); padding-block: 96px 88px; overflow: hidden; }
.band-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.band .eyebrow { color: var(--accent-ink); }
.band-t { font-size: clamp(38px, 4vw, 60px); line-height: 1.04; font-weight: 400; font-variation-settings: "opsz" 72; max-width: 14ch; }
.band .lk:hover { color: var(--accent-ink); }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-t { display: flex; width: max-content; animation: mq 80s linear infinite; }
.mq-half { display: flex; gap: 28px; padding-right: 28px; }
.mq:hover .mq-t, .mq:focus-within .mq-t { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-i { display: block; width: 440px; flex: none; }
.mq-i .shot { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.mq-n { display: block; margin-top: 16px; font-size: 23px; line-height: 1.15; font-weight: 500; font-variation-settings: "opsz" 36; }
.mq-d { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted-ink); }
.mq-i:hover .mq-n { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .mq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .mq-t { animation: none; } .mq-half[aria-hidden] { display: none; } }
@media (max-width: 767.98px) { .band { padding-block: 64px; } .band-h { display: block; margin-bottom: 32px; } .band-h .lk { margin-top: 16px; } .mq-i { width: 300px; } }

/* ----- Interlocuteur, avis, appel final ----- */
.paper { border-block: 0; }
.quote blockquote { font-style: italic; font-size: 31px; line-height: 1.3; font-weight: 400; font-variation-settings: "opsz" 36; }
.qs blockquote { font-size: 17px; line-height: 28px; }
.cta .t3 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.04; max-width: 17ch; }
.cta .t3 em { display: block; }
@media (max-width: 767.98px) { .quote blockquote { font-size: 25px; } }
.quiz .btn, .band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--forest); }
.quiz .btn:hover, .band .btn:hover { background: var(--on-ink); border-color: var(--on-ink); color: var(--forest); }
.quiz .lk:hover { color: var(--accent-ink); }
.quiz :focus-visible, .band :focus-visible { outline-color: var(--accent-ink); }
@media (max-width: 767.98px) { .proof .big { font-size: min(104px, 27vw); } .t8 { letter-spacing: .1em; } }
.crumb { flex-wrap: wrap; row-gap: 4px; }
.crumb li { min-width: 0; overflow-wrap: anywhere; }
.fh-g > * { min-width: 0; }
@media (max-width: 767.98px) { .hero-float { display: none; } .hero-vis .proj .cap { margin-top: 20px; } }

/* ----- Corrections après notation (ChatGPT, Gemini) ----- */
.hero-vis .proj .cap .role + .role { margin-top: 2px; }
@media (min-width: 768px) { .hero-vis .proj .cap .role + .role { display: none; } }
.quiz-dis { margin-top: 14px; font-size: 13.5px; line-height: 20px; color: var(--muted-ink); opacity: .85; max-width: 56ch; }
.quiz-o button[data-v="p"] { grid-column: 1 / -1; }
.quiz-start { display: none; margin-top: 24px; }
.quiz.is-collapsed .quiz-b { display: none; }
.quiz.is-collapsed .quiz-start { display: inline-flex; }
.quiz.is-collapsed .quiz-p, .quiz.is-collapsed .quiz-bar { display: none; }
.band-a { display: flex; align-items: center; gap: 24px; }
.mq-btn { font-size: 14px; font-weight: 600; color: var(--muted-ink); padding: 8px 14px; border: 1px solid var(--line-ink); border-radius: 999px; }
.mq-btn:hover { color: var(--on-ink); border-color: var(--accent-ink); }
.mq.is-paused .mq-t { animation-play-state: paused; }
@media (max-width: 767.98px) {
  .mq { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding-inline: var(--side); scrollbar-width: none; }
  .mq::-webkit-scrollbar { display: none; }
  .mq-t { animation: none; }
  .mq-half[aria-hidden] { display: none; }
  .mq-i { scroll-snap-align: start; width: 78vw; }
  .mq-btn { display: none; }
  .band-a { display: block; }
  .need { padding: 22px 20px 20px; }
  .need .ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ----- Pages intérieures (édition) ----- */
.ph { background: radial-gradient(120% 90% at 85% 0%, #F9F4EA 0%, var(--calc) 60%); }
.ph .t2 em { font-style: italic; color: var(--accent); }
.ph-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.ph-a { min-width: 0; }
.ph-vis .proj .cap { margin-top: 18px; }
@media (max-width: 1023.98px) { .ph-g { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
/* Réalisations en vitrine statique sur fond vert */
.band--static .sh .t3 { color: var(--on-ink); }
.band--static .sh .t5, .band--static .folio { color: var(--muted-ink); }
.band--static .folio b { color: var(--accent-ink); }
.band--static .lk:hover { color: var(--accent-ink); }
.band .proj .t8, .band .proj .role { color: var(--muted-ink); }
.band .proj .t4 { color: var(--on-ink); }
.band .proj:hover .t4 { color: var(--accent-ink); }
.band .proj .res { border-color: var(--line-ink); color: var(--accent-ink); }
.band .shot { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
/* Preuves chiffrées partout */
.proof .big { color: var(--accent); }
.proof .t8.muted { color: var(--muted); }
/* Blocs à trois colonnes en cartes sur fond sable */
.sec:has(> .wrap > .cols3) { background: var(--sand); }
.cols3 { border: 0; gap: 20px; }
.cols3 > div { background: var(--paper); border: 0; border-top: 0; border-radius: 14px; padding: 28px 28px 30px; box-shadow: 0 1px 2px rgba(22, 36, 29, .05); }
.cols3 .n { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; }
.cols3 .ptab { margin-top: 12px; }
.sec:has(> .wrap > .cols3) + .sec:not(.ink):not(.paper):not(.band) { border-top: 0; }
.sec:has(> .wrap > .cols3) .quiz { margin-top: 40px; }
@media (max-width: 767.98px) { .cols3 > div { padding: 22px 20px; } }
/* ----- Gros plans (page Réalisations) ----- */
.gp { background: var(--paper); }
.gp-g { row-gap: 56px; align-items: start; }
.gp-shot { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--sh); background: var(--calc); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.gp-shot img { width: 100%; height: auto; }
.gp-shot:hover { box-shadow: var(--sh-h); transform: translateY(-3px); }
.gp-i figcaption { margin-top: 16px; display: grid; gap: 4px; max-width: 56ch; }
.gp-i figcaption b { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 500; font-variation-settings: "opsz" 36; }
.gp-i figcaption span { color: var(--muted); font-size: 15.5px; line-height: 24px; }
.gp-i.s4 .gp-shot { max-height: 760px; }
.gp-i.s4 .gp-shot img { object-fit: cover; object-position: top; max-height: 760px; }
/* Mots longs (« accompagnement ») sur très petits écrans */
.t1, .t2, .t3, .band-t, .quiz-t { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 767.98px) { .cta .t3 { font-size: 36px; } }
@media (max-width: 359.98px) { .t2 { font-size: 34px; } .t3, .cta .t3 { font-size: 30px; } }
@media (max-width: 767.98px) { .btn { white-space: normal; height: auto; min-height: 52px; padding-block: 12px; text-align: center; line-height: 20px; } }
.rows a > *, .rows .row > * { min-width: 0; } .rows .tt, .rows .dd { overflow-wrap: anywhere; }
